as long as you always set the right skin based on whatever it is
(domain name, etc) it will always be used. wicket always creates an
instance of Session object and uses that even if it does not persist
that into http session.

-igor

On Thu, Aug 20, 2009 at 5:25 AM, Gianni<gdoe6...@yahoo.it> wrote:
> I have an app which needs to be skinnable, I know this can be done with
> Session styles but I need the correct skin to display when there is no
> session available e.g. on app entry or page expired ..
>
> I thought the best way to do this would be to prefix every url with the skin
> ID
> /<context>/<skin identifier>/<wicket path, bookmarkable or otherwise>
> I could then user the skin ID to set the session style and the rest of the
> path would pass through the usual wicket decoding, minus the skin id.
>
> Where would be the right place to implement this functionality?
> I saw some old posts using WebRequestCodingStrategy urlPrefix() but this is
> no longer present in the api.
> http://article.gmane.org/gmane.comp.java.wicket.user/20294
>
> Or maybe I'm better off doing this in a servlet filter before it gets to
> Wicket?
> -Gianni
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to