A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
<s submit> label does not change
Joined: Sep 10, 2002
Nov 16, 2011 04:22:14
I have a very simple form like this:
<s:form action="login" method="post">
<s:textfield name="username" label="Username" size="20" />
<s:password name="password" label="Password" size="20" />
<s:submit label="Enter Site" align="center" method="execute" />
My problem is I cannot change the label of the submit button. It always displays the
Do you have any idea why this is happening?
Joined: Jul 29, 2001
Nov 16, 2011 09:30:46
instead of label use value attribute
<s:submit value="Enter site"/>
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: <s submit> label does not change
How to change the default label style in Struts2?
<s:fielderror/> is not display error mybrowser
"No configuration found for the specified action"
How to send a information to a form?
NullPointerException at the SessionFactory create line.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013