struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>
Subject Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes
Date Tue, 24 Jul 2012 18:40:37 GMT
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
> >
>

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