There is a attribute styleclass. 




-----Original Message-----
From: Sam Wun [mailto:swun2...@gmail.com] 
Sent: 22 June 2009 12:47
To: Struts Users Mailing List
Subject: struts tags with "class" style format

Hi,

I am very new to struts.
I am wondering how to format the text on the submit button with html
class?
I tried to do something like this:
  <html:submit value="Cancel Checkout" >
                <html:param class="jc_tran_input"/>
        </html:submit>
or
  <html:submit value="Cancel Checkout" class="jc_tran_input">
        </html:submit>

but it has errors.

Here is a list of struts libs I included in the jsp file:
<%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %>

Not sure what other libraries I have include here, but I can't write
the following struts code:
<s:textfield label="Loading Instructions" name="order.dutyPrepaid"
size="70">
    <s:param name="labelcolspan" value="%{2}" />
    <s:param name="inputcolspan" value="%{6}" />
</s:textfield>

It siad param is not part of the library, something like that.


Please help.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to