You would either do so at the session level via
session.setStyle("small") or at the component level by implementing
LoginPanel.getVariation() and having it return "small" as appropriate.

http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html

Scott

On Thu, Dec 17, 2009 at 12:26 PM, Don Ferguson <[email protected]> wrote:
> I've heard that it's possible to have multiple .html files for a given panel
> (or page, presumably), but how does one specify which file to apply?  For
> example, if I have:
>
> LoginPanel.java
> LoginPanel.html
> LoginPanel_small.html
>
> How would I get wicket to use LoginPanel_small.html?
>
> Thanks in advance,
>
>  -Don
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to