Hi, See org.apache.wicket.Component#getVariation(). Using variations you can have MyPanel.html and MyPanel_2.html.
You can also use #setMarkup() method. Or you can override IMarkupResourceStreamProvider and return dynamic markup each time. On Mon, Jul 2, 2012 at 6:37 AM, Dan12321 <[email protected]> wrote: > Hi, > is possible to set html file for Panel? > When I have MyPanel.java, it render MyPanel.html and I would like to render > sometimes MyPanel.html and sometimes MyPanel2.html. Is it possible? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/set-html-for-Panel-tp4650316.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]
