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
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
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
-
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
}" 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
>
--- 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
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
: 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
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.
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
10 matches
Mail list logo