I'm setting the value of the disabled= parameter on a <html:submit> tag, and
I'm getting the following error:

        Incompatible type for method. Can't convert java.lang.String to
boolean. _jspx_th_html_submit_2.setDisabled(buttonStatus);

The code in the .JSP looks like this.....

        <%
                String buttonStatus = (String)
session.getAttribute("ButtonStatus");
        %>
        <html:submit property="action" value="Update"
disabled="<%=buttonStatus%>" /> 

I've looked at the javadoc for the BaseHandler and the setDisabled method is
looking for a boolean value to be passed in.  It looks like the tag is not
converting the string to a boolean before trying to call the setDisabled
method.  Has anyone else come across this?  Or am I just flat doing
something wrong?

TIA,


Jerry Jalenak
Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496
[EMAIL PROTECTED]


This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to