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 <mcucchi...@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" <jlm...@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 > > >