{"action":"opened","issue":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/501","labels_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/501/comments","events_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/501/events","html_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/501","id":63307419,"number":501,"title":"DateTimePicker icon","user":{"login":"danjee","id":3084216,"avatar_url":"https://avatars.githubusercontent.com/u/3084216?v=3","gravatar_id":"","url":"https://api.github.com/users/danjee","html_url":"https://github.com/danjee","followers_url":"https://api.github.com/users/danjee/followers","following_url":"https://api.github.com/users/danjee/following{/other_user}","gists_url":"https://api.github.com/users/danjee/gists{/gist_id}","starred_url":"https://api.github.com/users/danjee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjee/subscriptions","organizations_url":"https://api.github.com/users/danjee/orgs","repos_url":"https://api.github.com/users/danjee/repos","events_url":"https://api.github.com/users/danjee/events{/privacy}","received_events_url":"https://api.github.com/users/danjee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T21:06:40Z","updated_at":"2015-03-20T21:06:40Z","closed_at":null,"body":"Before this datetime input field was added in the framework by @lehvolk I used the same jquery plugin for working with time events in my projects but I had a different way of adding icon. It was something like this:\r\n\r\n```\r\n@Override\r\n\tprotected void onInitialize() {\r\n                super.onInitialize();\r\n\t\tif(withIcon()){\r\n\t\t\tadd(new BootstrapBaseBehavior(){\r\n\r\n\t\t\t\tprivate static final long serialVersionUID = -7570348574095299836L;\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void beforeRender(Component component) {\r\n\t\t\t\t\tcomponent.getResponse().write(\"<div class=\\\"input-group\\\">\");\r\n\t\t\t\t\tsuper.beforeRender(component);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void afterRender(Component component) {\r\n\t\t\t\t\tsuper.afterRender(component);\r\n\t\t\t\t\tcomponent.getResponse().write(\"<span class=\\\"input-group-addon\\\"><span    class=\\\"fa fa-calendar\\\"></span></span></div>\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n}\r\n```\r\n\r\nThis spares the API for a different Java class when in need for an icon to highlight that you are using a time field.\r\n"}}