It is currently not implemented to work like you expect. Autolinks
currently do not support styles and locales.

Mind you open an RFE for it. Thanks.

Juergen

On 10/7/05, Ari Suutari <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having problems when trying to use session.setStyle with css files.
>
> If I put following snippet to my html:
>
> <wicket:link autolink="true">
> <link href="../../../common/themes/main.css" rel="stylesheet" type="text/css" 
> />
> </wicket:link>
>
> I have two css files, main.css and main_lightblue.css. With this html, wicket
> gives back main.css as expected when rendering. However, when I use
> session.setStyle("lightblue") I still get back main.css, not 
> main_lightblue.css
> as I would expect (Changing the style seems to work on html files, wicket
> searches for ones with _lightblue.html ending).
>
> Is this expected to work or should it be done differently ?
>
>    Ari S.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to