| Author |
<s submit> label does not change
|
Murat Balkan
Ranch Hand
Joined: Sep 10, 2002
Posts: 127
|
|
Hi all,
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" />
</s:form>
My problem is I cannot change the label of the submit button. It always displays the string "Submit"?
Do you have any idea why this is happening?
Regards,
Murat
|
 |
Shilpa Tendulkar
Ranch Hand
Joined: Jul 29, 2001
Posts: 75
|
|
instead of label use value attribute
|
SCJP5
|
 |
 |
|
|
subject: <s submit> label does not change
|
|
|