What about adding the style and variation into the location string when it's used as a cache key. That will prevent the problem with the locales, but will address the issue below too ...

Johan Compagner wrote:
hmm this is now a tricky one..
i need to figure out how it should work now..


On Wed, Apr 9, 2008 at 8:04 PM, Meetesh Karia <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    We're running into a problem with the change made for this issue:
    http://issues.apache.org/jira/browse/WICKET-1370

    Basically, if you have a situation like this where the Login page
    extends DefaultPage and uses <wicket:extend>:

    Login.html
    DefaultPage.html
    DefaultPage_style1.html
    DefaultPage_style2.html

    The markup for DefaultPage will always be based on the first style
    the site is hit with.  This is because the location string
    ("Login.html") hasn't changed with the style change.

    Can anyone think of a simple way to work around this or a simple
    patch we can apply for now?

    I've entered this issue for this as well:
    https://issues.apache.org/jira/browse/WICKET-1507

    Thanks,
    Meetesh


Reply via email to