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 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 to be
attached to be associated to the same java component. How do I do it.
THank you
Gennadiy


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to