On 12/15/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Hi Carfield,
>
> Try something like:
>
> public Logon() {
>   setVariant(Boolean.valueOf(getRequest().getParameter("isliteversion"))
> ? "lite" : "normal");
> }
>
Just found out we need to overload method getVariation() instead. 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?

-------------------------------------------------------------------------
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