struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <mcucchi...@apache.org>
Subject Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes
Date Tue, 24 Jul 2012 18:37:25 GMT
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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message