Yes exactly, that is the workaround.

Juergen

On 10/7/05, Ari Suutari <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Done, RFE # 1315708. Is there any workaround currently, maybe I could
> use wicket:id and attach a component to <link> tag to get expected
> behaviour now (so our web designers could live like the support was
> already there) ?
>
>    Ari S.
>
> ----- Original Message -----
> From: "Juergen Donnerstag" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, October 07, 2005 12:39 PM
> Subject: Re: [Wicket-user] stylesheets, autolinking and localization+styles
>
>
> > 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
> >
> >
>
>
> -------------------------------------------------------
> 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