aspose file tools*
The moose likes Struts and the fly likes how to change the default class for label in <s:textfield=" title="Start of Winter" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to change the default class for label in <s:textfield="" label=""/>" Watch "how to change the default class for label in <s:textfield="" label=""/>" New topic
Author

how to change the default class for label in <s:textfield="" label=""/>

Jibin Najeeb
Greenhorn

Joined: Nov 27, 2012
Posts: 6
The following code
<s:form>
<s:textfield name="username" label="Username"/>
</s:form>

generates the follwing html code

<table>
<tr>
<td class="tdLabel"><label for="login_username" class="label">Username:</label></td>
<td><input type="text" name="username" value="" id="login_username"/>
</td>
</tr>
</table>

I want to change the value of label class--- class="label" which is default. Is there any method with default theme as xhtml..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change the default class for label in <s:textfield="" label=""/>