{"action":"created","issue":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/351","labels_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/351/comments","events_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/351/events","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/issues/351","id":69133891,"number":351,"title":"Allow TabListItem to accept widgets instead of just text","user":{"login":"slugmandrew","id":153625,"avatar_url":"https://avatars.githubusercontent.com/u/153625?v=3","gravatar_id":"","url":"https://api.github.com/users/slugmandrew","html_url":"https://github.com/slugmandrew","followers_url":"https://api.github.com/users/slugmandrew/followers","following_url":"https://api.github.com/users/slugmandrew/following{/other_user}","gists_url":"https://api.github.com/users/slugmandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/slugmandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slugmandrew/subscriptions","organizations_url":"https://api.github.com/users/slugmandrew/orgs","repos_url":"https://api.github.com/users/slugmandrew/repos","events_url":"https://api.github.com/users/slugmandrew/events{/privacy}","received_events_url":"https://api.github.com/users/slugmandrew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/labels/waiting%20on%20reply","name":"waiting on reply","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/milestones/4","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/milestones/1.0","labels_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/milestones/4/labels","id":619388,"number":4,"title":"1.0","description":"","creator":{"login":"jgodi","id":870799,"avatar_url":"https://avatars.githubusercontent.com/u/870799?v=3","gravatar_id":"","url":"https://api.github.com/users/jgodi","html_url":"https://github.com/jgodi","followers_url":"https://api.github.com/users/jgodi/followers","following_url":"https://api.github.com/users/jgodi/following{/other_user}","gists_url":"https://api.github.com/users/jgodi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgodi/subscriptions","organizations_url":"https://api.github.com/users/jgodi/orgs","repos_url":"https://api.github.com/users/jgodi/repos","events_url":"https://api.github.com/users/jgodi/events{/privacy}","received_events_url":"https://api.github.com/users/jgodi/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":21,"state":"open","created_at":"2014-04-03T13:51:22Z","updated_at":"2015-04-23T18:24:55Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-04-17T12:56:46Z","updated_at":"2015-05-29T16:14:30Z","closed_at":null,"body":"I was wondering how people would feel about allowing `TabListItem` to accept children such as `Icon` and `Badge`?\r\n\r\nThis would be a good feature for the library IMO and I believe vanilla bootstrap allows this. I'm guessing we would have to make `TabListItem` implement `HasWidgets` and `HasIcon`. Currently it implements `HasText` so I get this error:\r\n\r\n> Illegal child <b:Badge> in a text-only context. Perhaps you are trying to use unescaped HTML where text is required, as in a HasText widget?: <b:TabListItem active='true' dataTarget='#info' ui:field='infoTab'>\r\n\r\nCode:\r\n```xml\r\n<b:TabListItem ui:field=\"infoTab\" dataTarget=\"#info\" active=\"true\" icon=\"PLUS\">\r\n    Info\r\n    <b:Badge>0</b:Badge>\r\n</b:TabListItem>\r\n```\r\n\r\nhttp://getbootstrap.com/components/#badges\r\n\r\nWhat do people think? I'm happy to try and implement it, but thought I'd ask for some feedback as I obviously want to do it in keeping with the design decisions of the library."},"comment":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/comments/106861171","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/issues/351#issuecomment-106861171","issue_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/351","id":106861171,"user":{"login":"slugmandrew","id":153625,"avatar_url":"https://avatars.githubusercontent.com/u/153625?v=3","gravatar_id":"","url":"https://api.github.com/users/slugmandrew","html_url":"https://github.com/slugmandrew","followers_url":"https://api.github.com/users/slugmandrew/followers","following_url":"https://api.github.com/users/slugmandrew/following{/other_user}","gists_url":"https://api.github.com/users/slugmandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/slugmandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slugmandrew/subscriptions","organizations_url":"https://api.github.com/users/slugmandrew/orgs","repos_url":"https://api.github.com/users/slugmandrew/repos","events_url":"https://api.github.com/users/slugmandrew/events{/privacy}","received_events_url":"https://api.github.com/users/slugmandrew/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T16:14:30Z","updated_at":"2015-05-29T16:14:30Z","body":"OK, I think I'm getting there.\r\n\r\nFirst draft:\r\n\r\nhttps://github.com/slugmandrew/gwtbootstrap3/commit/3c7518bb06c0ed4115fe83b9c9849f992143fc9e\r\n\r\nLet me know if I'm along the right lines.\r\n\r\nSome output:\r\n\r\n![tabs](https://cloud.githubusercontent.com/assets/153625/7887011/ddad0788-0625-11e5-92b2-0379a5b58a31.PNG)\r\n\r\nI realise my eclipse has buggered up the formatting in a few places. Also probably need a few more constructors, etc.\r\n\r\nThoughts?\r\n"}}