Not sure if this encapsulates all your requirements, but I was able to run
this code on Tomcat 4.0.1/Struts 1.1b1:
<%
boolean b = true;
%>
<html:reset disabled="<%=b%>">
<bean:message key="button.reset"/>
</html:reset>
The button was correctly disabled (IE5 and NS6)
Please ignore this if I am way off here.
JM
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 05, 2002 12:31 PM
> To: [EMAIL PROTECTED]
> Subject: DO NOT REPLY [Bug 8814] New: - html:reset disabled=<RTEXPR>
> does not use RTEXP
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8814>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8814
>
> html:reset disabled=<RTEXPR> does not use RTEXP
>
> Summary: html:reset disabled=<RTEXPR> does not use RTEXP
> Product: Struts
> Version: 1.1 Beta 1
> Platform: All
> OS/Version: All
> Status: NEW
> Severity: Normal
> Priority: Other
> Component: Custom Tags
> AssignedTo: [EMAIL PROTECTED]
> ReportedBy: [EMAIL PROTECTED]
>
>
> I intended to dynamically set the enabled/disabled state of a
> button. When I
> specified a runtime expression, the result did not reflect the
> value of the
> runtime expression. Looking at the code, there does not seem to
> be a way that
> it could. BaseTagHandler does not interogate runtime expressions.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>