You could that. However, if you follow a Wicket generated link you loose the parameter.
Better aproach is to use style. Either overload Session.getStyle() or call Session.setStyle() (note: I've also never used this :) ). For the rest this works the same as variants. Regards, Erik. Carfield Yim schreef: > Just found out we need to overload method getVariation() instead. Oeps, I am sorry. I've never used it myself. > By the way, may be we can have a standard HTTP request parameter name, > say "variation" . Then, for the method getVariation(), instead of just > return null by default, may be we can change the implementation as > > public String getVariation() { > return getRequest().getParameter("variation"); > } > > So that user can have variation anytime they like for all component/page? > > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ------------------------------------------------------------------------- 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