Re: [Wicket-user] Associating one java file with 2 different markups

2006-12-12 Thread Nino Wael
: Heres a Snip where I use it: http://pastebin.ca/276505 Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 11. december 2006 23:31 To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Associating one java file

[Wicket-user] Associating one java file with 2 different markups

2006-12-11 Thread Gennadiy . Vasilevskiy
Hello all, I have an issue where on the same page I have to use the same component. My application is datadriven, and those components need to have different names and different business rules that are loaded on the runtime per component. At the end of the day I want to have different htmls

Re: [Wicket-user] Associating one java file with 2 different markups

2006-12-11 Thread Igor Vaynberg
you can use what is called a variation, see javadoc for Component.getVariation() - you can override it and return a different string. there is also a wiki page on variations. -igor On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello all, I have an issue where on the same page