huh - that really sounds scary...

mounting hundreds of paths within a dynamically generated site. having just a
default path-attribute added and evaluated would be nicer.

i'll have to check this.

but thanks so far!

--- jan.

Marc-Andre Houle wrote:
> Add a page parameters to your page that include a parameter to the
> language to use.
> Make sure to use a bookmarkable page (use bookmarkable link).
> 
> and to get a nice url, use mounting(Can't find quickly in the wiki, but
> here's the javadoc
> <http://wicketframework.org/apidocs/wicket/protocol/http/WebApplication.html#mountBookmarkablePage%28java.lang.String,%2520java.lang.Class%29>)
> 
> By using nice mounted page, you can add a link that will look like :
> http://host/application-name/page-name/param-name/param
> So, for an application wicket, on the page index using parameter
> language, you would have a url :
> 
> http://host/wicket/index/language/french
> 
> In the constructor of your page, use the page parameters to determine
> what exactly to render back to the user.
> 
> Not sure if it is cleanly explained, but there is plenty of example in
> this list about mounting and page parameters...  Sound scary but it is
> really a piece of cake.
> 
> Marc
> 
> On 4/4/07, *Jan Kriesten* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     hi marc-andre,
> 
>     > Add a Link, in the onClick method, add the code to set the local
>     setting
>     > for this session.  That's it.
> 
>     ah, yes - that solves on part, another problem still remains, how to
>     direct link
>     (from extern) to a specific language? that's why i asked for distinct
>     url/language paths.
> 
>     regards, --- jan.
> 
> 
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys-and earn cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to