Re: multiple markup files for on panel
Hi, why dont you just extend your Panel and just add another Markup? The extended Panel doesnt do anything, but can have another Markup. We have done this often. Regards Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313427.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: multiple markup files for on panel
Do you want to display ordered list and table alternativly? Build two panels - one for the ordered list and one for the table. Add this to a parent panel by preference. This panel simply has a div or whatever and will be extended by markup of choosen panel. So you don't have to provide one component with multiple markups. HTH Per its it possible to have multiple mark up files for one panel My panel has list view , in one place I want to use an ordered list and in other place I want to use a table ,I can achieve this if my panel has multiple markup files and my panel will return the mark up based on preferenece . - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: multiple markup files for on panel
Check out variations and styles. https://cwiki.apache.org/WICKET/multiple-markups-per-page.html Scott On Fri, Feb 18, 2011 at 11:46 AM, splitshade martin.dil...@googlemail.com wrote: Hi, why dont you just extend your Panel and just add another Markup? The extended Panel doesnt do anything, but can have another Markup. We have done this often. Regards Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313427.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: multiple markup files for on panel
...and this too https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html Scott On Fri, Feb 18, 2011 at 11:52 AM, Scott Swank scott.sw...@gmail.com wrote: Check out variations and styles. https://cwiki.apache.org/WICKET/multiple-markups-per-page.html Scott On Fri, Feb 18, 2011 at 11:46 AM, splitshade martin.dil...@googlemail.com wrote: Hi, why dont you just extend your Panel and just add another Markup? The extended Panel doesnt do anything, but can have another Markup. We have done this often. Regards Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313427.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: multiple markup files for on panel
hi, omg, thank you for the hint on variations, i did not know it could be so simple! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313461.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