problem is all skins need to be under the same fqdn so I can't look up
a skin based on the domain name when no other clues are available,
which is why I was thinking the only way to do this is a prefix
parameter before the wicket part of the url.. which I imagine Wicket
needs to see as part of the servlet context in order for it to work.
-Gianni
On 20/ago/09, at 16:55, Igor Vaynberg wrote:
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<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
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]