RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-17 Thread Torsten Krah
Opened an issue to track this https://issues.apache.org/struts/browse/SHALE-437 Added a comment to the improvement (can't modify this issue, so created a new one) https://issues.apache.org/struts/browse/SHALE-331 Torsten smime.p7s Description: S/MIME cryptographic signature

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Torsten Krah
Yeah might be, really lost track of this issue a little bit, although it was my question in 11/06. And i hope i am wrong now with my question: Is a EL Expression supported at: works but which points to a session bean named index for the user which got an english locale, although the vie

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Gary VanMatre
>Hi again - did not create the issue yet ( yeah should really do this ), >but saw the file AssignViewRootCommand.java, which mentioned the locale. >Is it already possible yet, to support the locale UIViewRoot attribute? > >If yes, how to to so in clay templates? > It is possible and I think it was

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Torsten Krah
Hi again - did not create the issue yet ( yeah should really do this ), but saw the file AssignViewRootCommand.java, which mentioned the locale. Is it already possible yet, to support the locale UIViewRoot attribute? If yes, how to to so in clay templates? kind regards Torsten smime.p7s Descri

RE: Clay - how to set locale Parameter for f:view in html/xml views

2006-11-02 Thread Gary VanMatre
>Still need to create the issue - but i've got an idea for a workaround. >How about a viewhandler, which uses a custom session bean which holds >the locale - and which return this one when "calculateLocale" is called? > >Something like this: > >public Locale calculateLocale(FacesContext facesContex

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-11-02 Thread Torsten Krah
Still need to create the issue - but i've got an idea for a workaround. How about a viewhandler, which uses a custom session bean which holds the locale - and which return this one when "calculateLocale" is called? Something like this: public Locale calculateLocale(FacesContext facesContext) {

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-10-19 Thread Gary VanMatre
>From: Torsten Krah <[EMAIL PROTECTED]> > > The solution with metadata inheritance sounds very nice. It would fit > very well in the way things works now, if would prefer this way - but > maybe there are any drawbacks i don't see, but in my opinion, > inheritance for the view root would be fine

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-10-19 Thread Torsten Krah
The solution with metadata inheritance sounds very nice. It would fit very well in the way things works now, if would prefer this way - but maybe there are any drawbacks i don't see, but in my opinion, inheritance for the view root would be fine. Torsten ps: I will try the workarounds and post if

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-10-18 Thread Gary VanMatre
>From: Torsten Krah <[EMAIL PROTECTED]> > > 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 ch

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-10-18 Thread Torsten Krah
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 ).

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2006-10-18 Thread hermod.opstvedt
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: user@shale.apache.org Subject: Clay - how to set lo