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:14:17 GMT
This a dynamic attribute ? Which version of Struts 2 ?


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


2012/7/24 JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com>:
> 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