Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Laurie Harper
Laurie Harper wrote: Craig McClanahan wrote: On 11/26/05, Laurie Harper <[EMAIL PROTECTED]> wrote: Craig McClanahan wrote: Using the following tag: com.mycompany.mypackage.MyBundle "/> exposes the contents of the named resource bundle as a Map in request scope under the specified key

Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Laurie Harper
Craig McClanahan wrote: On 11/26/05, Laurie Harper <[EMAIL PROTECTED]> wrote: Craig McClanahan wrote: Using the following tag: com.mycompany.mypackage.MyBundle "/> exposes the contents of the named resource bundle as a Map in request scope under the specified key. Now you can bind to

Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Craig McClanahan
On 11/26/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > Using the following tag: > > > > > > > > exposes the contents of the named resource bundle as a Map in request > scope > > under the specified key. Now you can bind to it ... for example, to > create > > the

Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Laurie Harper
Craig McClanahan wrote: Using the following tag: exposes the contents of the named resource bundle as a Map in request scope under the specified key. Now you can bind to it ... for example, to create the localized label for the username field on a login screen, you might say: where

Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Craig McClanahan
On 11/26/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > In my localized apps, I bury that sort of thing inside the getter method > for > > the SelectItems list. You can figure out what Locale you need to > localize > > for, for the current request, by calling: > > > >

Re: [struts-faces] iterating managed bean properties

2005-11-26 Thread Laurie Harper
Craig McClanahan wrote: In my localized apps, I bury that sort of thing inside the getter method for the SelectItems list. You can figure out what Locale you need to localize for, for the current request, by calling: FacesContext.getCurrentInstance().getViewRoot().getLocale() with per-Loca

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Craig McClanahan
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > There are some significant interoperability issues between JSF 1.0/1.1 > and > > JSTL -- some of which have been addressed in JSF 1.2. But there is a > more > > fundamental design issue here ... you're trying too

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Laurie Harper
Craig McClanahan wrote: There are some significant interoperability issues between JSF 1.0/1.1 and JSTL -- some of which have been addressed in JSF 1.2. But there is a more fundamental design issue here ... you're trying too hard :-). Consider this instead: where the get

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Craig McClanahan
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > I've hit another snag trying to test out JSF with the struts-faces > integration library. This is the fragment I'm trying to convert: > > > > > > > > > > And this