Re: wicket library example, but with tabs
Hi Erik, Thanks for offering your code! Unfortunately we cannot add every use case to the examples. This will make it even harder to understand for the users and hard to maintain for us. I hope you like what you have learnt from Wicket so far! Have fun! On Sun, Nov 17, 2013 at 11:47 PM, eostermueller eostermuel...@gmail.comwrote: replying to self here. Finally got this worked out here: https://github.com/eostermueller/wicket-librarywithtabs This code is a copy of the wicket library example, but it displays the book detail in 3 different tabs on a single page. Would you all consider including it in the distribution of wicket examples? Other than the filter in web.xml, you'd just need to copy: wicket-examples/src/main/java/org/apache/wicket/examples/librarywithtabs/ ...from the above repo. Thanks, --Erik -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-library-example-but-with-tabs-tp4662343p4662470.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket library example, but with tabs
replying to self here. Finally got this worked out here: https://github.com/eostermueller/wicket-librarywithtabs This code is a copy of the wicket library example, but it displays the book detail in 3 different tabs on a single page. Would you all consider including it in the distribution of wicket examples? Other than the filter in web.xml, you'd just need to copy: wicket-examples/src/main/java/org/apache/wicket/examples/librarywithtabs/ ...from the above repo. Thanks, --Erik -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-library-example-but-with-tabs-tp4662343p4662470.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket library example, but with tabs
That fixed it, thx. Now, all the tab code is loading the book detail in the TabPanel1 which is great, but tabs are not part of the html. I updated the github code but need to noodle on this more tomorrow. --Erik -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-library-example-but-with-tabs-tp4662343p4662390.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket library example, but with tabs
Hello all, I'm trying to get the wicket library example (which is awesome) to display the BookDetails in a page with three tabs. But I'm a very new to wicket and could use some help. I've put a small-as-possible (well, almost) example app out here: https://github.com/eostermueller/wicket-tablibrary The README.md has the full error and simple instructions for how to build/run, but below is the main error. Would really appreciate some help, thanks. --Erik id for TabPanel1 [3] ERROR - MarkupContainer- Unable to find component with id 'title' in [Page class = org.apache.wicket.examples.tablibrary.TabPanel1, id = 3, render count = 1] Expected: ':title'. Found with similar names: '' ERROR - DefaultExceptionMapper - Unexpected error occurred Unable to find component with id 'title' in [Page class = org.apache.wicket.examples.tablibrary.TabPanel1, id = 3, render count = 1] Expected: ':title'. Found with similar names: '' MarkupStream: [markup = file:/Users/erikostermueller/Documents/src/jdist/wicket/tablibrary/wicket-examples/target/classes/org/apache/wicket/examples/tablibrary/TabPanel1.html snip! , index = 1, current = 'span wicket:id=title' (line 0, column 0)] at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1435)
Re: wicket library example, but with tabs
You have three different consructors for TabPanel1: 1. TabPanel1(BookDetails bookDetails); 2. TabPanel1(); 3. TabPanel1(BookDetails bookDetails, String id); If you create instance of that class using first constructor you don't have any component added yet. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-library-example-but-with-tabs-tp4662343p4662344.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org