I have links that allow to change the locale, like so:
add(new Link("toEnglishLink")
{
public void onClick()
{
getSession().setLocale( Locale.ENGLISH );
}
});
In principle, this works fine. The only problem is that it messes up my
bookmarkable links (mounted). For instance, instead of pointing to
/some/mounted/path
as intended, it ends up pointing to:
/app?someParameterStuff
What is the best way to provide functionality to a link component
without messing up mounted links? Would I absolutely be required all the
time to pass in the locale as a paramter?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user