struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Wun <>
Subject struts tags with "class" style format
Date Mon, 22 Jun 2009 09:47:13 GMT

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 value="Cancel Checkout" class="jc_tran_input">

but it has errors.

Here is a list of struts libs I included in the jsp file:
<%@ taglib uri="" prefix="bean" %>
<%@ taglib uri="" prefix="html" %>
<%@ taglib uri="" 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}" />

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

Please help.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message