struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes
Date Tue, 24 Jul 2012 18:46:45 GMT
Yes, it supports but without OGNL expression within, please try 2.3.4


Regards

-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/


2012/7/24 JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com>:
> Struts 2.2.3. The only plugings are Tiles and Json. According to the TLD
> the tag s:textfield supports dynamic attributes, and it does (the attribute
> is created in the HTML code), but the value of the attribute is not parsed
> for OGNL expressions.
>
> Thanks
> JL
>
> 2012/7/24 Maurizio Cucchiara <mcucchiara@apache.org>
>
>> In addition to what Lukasz said, which plugins are you using (f.e.
>> JavaTemplateEngine could behaviour differently)?
>>
>> Sent from my mobile device, so please excuse typos and brevity.
>>
>> Maurizio Cucchiara
>> Il giorno 24/lug/2012 07.01, "JOSE L MARTINEZ-AVIAL" <jlmagc@gmail.com> ha
>> scritto:
>>
>> > Hi,
>> >  I have the following textfield:
>> >        <s:textfield autocomplete="off"
>> >            name="userLoginName" theme="simple"
>> >            id="userLoginName"
>> >            maxLength="20"
>> >            regExp="^\w{6,20}$"
>> >            trim="true"
>> >            uppercase="true"
>> >            dojoType="dijit.form.ValidationTextBox"
>> >            required="true"
>> >            intermediateChanges=false
>> >            invalidMessage="%{getText('UserLoginNameStrength.label')}" />
>> >
>> > The OGNL expression in the invalidMessage attribute is not been parsed,
>> it
>> > just puts the expression in the attribute. Am I doing something wrong, or
>> > is it a bug?
>> >
>> >   Thanks
>> >
>> > JL
>> >
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message