Hi

As I said - You handle this in you backing beans. Remember there is a
difference between html and jsp

Hermod


-----Opprinnelig melding-----
Fra: Torsten Krah [mailto:[EMAIL PROTECTED] 
Sendt: 18. oktober 2006 15:41
Til: [email protected]
Emne: RE: Clay - how to set locale Parameter for f:view in html/xml views?

But this makes the assumption that the browsers preferences are used ( i
dont want to make views for every language, one view for all - which
changes lang according to a property ).
But i want to use a locale which is "fixed" until a property changes -
this must be bound to the rootView ( f:view ).

In JSP thats no problem, but where to est this in xml/html views?

Torsten

Am Mittwoch, den 18.10.2006, 12:58 +0200 schrieb
[EMAIL PROTECTED]:
> Hi
> 
> In html/xml views, this is handled by you in your backing beans, and when
using resourcebundles by the message tag
> 
> Hermod
> 
> -----Original Message-----
> From: Torsten Krah [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 12:54 PM
> To: [email protected]
> Subject: Clay - how to set locale Parameter for f:view in html/xml
> views?
> 
> 
> Is there a way to set the locale of the viewRoot?
> 
> In the jsp:
> 
> <f:view locale="#{languageBean.currentLanguage}">
> ...
> </f:view>
> 
> does the job.
> 
> But where to do this in clay html/xml views?
> 
> Torsten
> 
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR
Group
> cannot accept any payment orders or other legally binding correspondence
with
> customers as a part of an email. 
> 
> This email message has been virus checked by the anti virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> 

Reply via email to