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
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
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
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
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.
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
6 matches
Mail list logo