Hi, It is possible by using either Session#getStyle() or Component#getVariation(), or both. See https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html for more info.
On Wed, Feb 29, 2012 at 8:56 AM, Dan12321 <[email protected]> wrote: > Hello, > is it possible to have more than one HTML template for java class, that have > got extend Page? > > I would like to have two variants of HTML. > - one with TABLE, in which are putted data > - second with DIVs, in which are data > > Is it possible to set which HTML page have to be used? > Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/more-html-templates-for-one-java-class-tp4430757p4430757.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
