Re: For s:textfield tag how to get value for title attribute from resource bundle.

2009-07-14 Thread wkbutler
Well I took Dave's advice from another thread (http://www.nabble.com/-S2--Dynamic-Text-Tag-Attributes-td19436146.html#a19436146) and just implemented this in my action. Oh well. Thanks guys - -- View this message in context: http://www.nabble.com/For-s%3Atextfield-tag-how-to-get-value-for-ti

Re: For s:textfield tag how to get value for title attribute from resource bundle.

2009-07-13 Thread wkbutler
Yep I did find that, thanks. What I've realized is that I have the OGNL double-evaluation problem. I'm really trying to get this result for the s:textfield label: label="%{getText('%{formQuestion.question.questionKey}')}" which of course is not legal, but I guess I'm somewhat su

Re: For s:textfield tag how to get value for title attribute from resource bundle.

2009-07-13 Thread Dave Newton
wkbutler wrote: Bottom line was that the resource props need to be packaged in the same package as the action class, with the same name. getText calls will follow the hierarchy noted in the docs: http://struts.apache.org/2.1.6/docs/localization.html Dave -

RE: For s:textfield tag how to get value for title attribute from resource bundle.

2009-07-13 Thread wkbutler
n the s:textfield? Thanks for any ideas - > > > > > LEONARD Julien (Consulting for ACCOR Hotels) wrote: >> >> Try this : >> >> > cssClass="fieldGreen validate-alpha " value="" >> title="%{getText('category.categoryNa

RE: For s:textfield tag how to get value for title attribute from resource bundle.

2009-07-10 Thread wkbutler
}" id="categoryName"/> > > http://struts.apache.org/2.0.11/docs/localization.html > > Julien > > -Message d'origine- > De : VJ22 [mailto:vijay.n...@iflexsolutions.com] > Envoyé : vendredi 22 février 2008 16:26 > À : user@struts.apache.org >

Re: For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-27 Thread Dave Newton
--- Maxx <[EMAIL PROTECTED]> wrote: > VJ22 <[EMAIL PROTECTED]> wrote: >> Thanks.This solution worked but can u tell me a way >> where in I dont have to use OGNL because I dont >> want dependancy on webworks for JSP's. where the "key" attribute is both the name of the field and the key in the re

Re: For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-27 Thread Maxx
On Wed, Feb 27, 2008 at 10:48 AM, VJ22 <[EMAIL PROTECTED]> wrote: > Hi, > Thanks.This solution worked but can u tell me a way where in I dont have to > use OGNL because I dont want dependancy on webworks for JSP's. I think you can't. WebWork ended few months ago, and went to be replaced by XWor

RE: For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-27 Thread VJ22
: vendredi 22 février 2008 16:26 > À : user@struts.apache.org > Objet : For s:textfield tag how to get value for title attribute from > resource bundle. > > > For s:textfield tag how to get value for title attribute from resource > bundle. > I tried using but seems the st

RE: For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-22 Thread LEONARD Julien (Consulting for ACCOR Hotels)
Try this : http://struts.apache.org/2.0.11/docs/localization.html Julien -Message d'origine- De : VJ22 [mailto:[EMAIL PROTECTED] Envoyé : vendredi 22 février 2008 16:26 À : user@struts.apache.org Objet : For s:textfield tag how to get value for title attribute from resource b

For s:textfield tag how to get value for title attribute from resource bundle.

2008-02-22 Thread VJ22
For s:textfield tag how to get value for title attribute from resource bundle. I tried using but seems the struts2 is not recognising this inside the title tag and considering it as plain text. Please let me know if there exists a way to do the same For eg i tried Here