That's correct. What I want is to stay on default.psml and toggle the
language. Therefore the Locale must be changed, before the portlets on
this page are rendered.

Can I define the order of portlet execution on the page?

(If I can I could place a hidden portlet that toggles tha language.)

Regards,
Joachim

Emandi, Srinivasrao wrote:
> Hi
>       if the logic was written in a portlet then u can refer to that portlet 
> using psml file in ur static page.
>       <a href="****.psml" >click</a>
> 
> 
> -----Original Message-----
> From: Joachim Müller [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 30, 2005 6:27 PM
> To: [email protected]
> Subject: change locale from decorator code
> 
> 
> Hi all.
> 
> I would like to create a menu that has an entry to switch the locale
> from German to English and back (toggle). The link should lead to the
> default-page.
> 
> Since this is no portlet but the layout-decorator code I cannot fire an
> action and handle it ?! What would be the best way to implement this
> behaviour? Write a valve that handles a special request param, e.g.
> js_language like in JS1?
> 
> 
> Any halp appreciated, thanks in advance.
> 
> Joachim
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> This e-mail and any attachment is for authorised use by the intended 
> recipient(s) only. It may contain proprietary material, confidential 
> information and/or be subject to legal privilege. It should not be copied, 
> disclosed to, retained or used by, any other party. If you are not an 
> intended recipient then please promptly delete this e-mail and any attachment 
> and all copies and inform the sender. Thank you.
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to