Re: Required attribute on s:select & s:file

2014-03-27 Thread Lukasz Lenart
required was renamed to requiredLabel https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.12.0 2014-03-26 22:37 GMT+01:00 : > We upgraded from struts 2.3.8 to 2.3.16. > Now any page that has a s:select or s:file tag with required="true" does not > display. > > s:textfield works fin

RE: Required attribute - SOLVED

2009-03-13 Thread Phan, Hienthuc T
t: Re: Required attribute Phan, Hienthuc T wrote: > Is there a way to change the required attribute value in textfield, > textarea, etc. from asterisk (*) to some other value like (required)? > I'm using Struts 2.1.6 IIRC the "*" comes from the template file; it should

Re: Required attribute

2009-03-13 Thread Wes Wannemacher
On Friday 13 March 2009 20:49:34 Martin Gainty wrote: > > as I dont see required attribute (but I do see dynamic attributes=true) > do you want a required attribute in TextField > ? > Martin Martin, it's there, likely via inheritance. I'm pretty sure it's available on all UIBeans. As Dave and I m

RE: Required attribute

2009-03-13 Thread Martin Gainty
TextField.java contents: /* * $Id: TextField.java 651946 2008-04-27 13:41:38Z apetrelli $ * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright

Re: Required attribute

2009-03-13 Thread Dave Newton
Phan, Hienthuc T wrote: Is there a way to change the required attribute value in textfield, textarea, etc. from asterisk (*) to some other value like (required)? I'm using Struts 2.1.6 IIRC the "*" comes from the template file; it should probably be definable. Check controlheader-core.ftl.

Re: Required attribute

2009-03-13 Thread Wes Wannemacher
On Friday 13 March 2009 20:11:27 Phan, Hienthuc T wrote: > Is there a way to change the required attribute value in textfield, > textarea, etc. from asterisk (*) to some other value like (required)? > I'm using Struts 2.1.6 > You can change the labelSeparator, but the asterisk is hardcoded. It'd