File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Joined: Jan 17, 2002
Oct 28, 2009 14:53:01
I am using Struts2 and on my page i have
<s:textfield required="true" > </s:textfield>
But any time i look at the gererated HTML i see
<tr> <td class="tdLabel"></td> <td><input type="text" name="" id="buttonAction_" /></td> </tr>
this is messing up my HTML Page because i was just expecting to see only
<input type="text" name="" id="buttonAction_" />
Please how can i resolve this problem
Joined: Oct 27, 2009
Oct 29, 2009 00:56:27
give name and label as...
<s:textfield name="abc" label="xyz >
remove required field...
i think it shd work
Joined: Sep 29, 2008
Oct 29, 2009 06:53:27
The "required" attribute has nothing to do with the table generation.
subject: Struts2 TextField
unable to do validation for select in struts2
STRUTS2 Tabbed interface problem with Tiles tag in IE6
substitute for DynaActionForm in struts2
Iterating a Array in Struts2
Convert Html fields to Struts2 tags
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015