You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by James Mitchell <jm...@telocity.com> on 2002/05/06 02:20:08 UTC
RE: [Bug 8814] New: - html:reset disabled= does not use RTEXP
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: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Sunday, May 05, 2002 12:31 PM
> To: struts-dev@jakarta.apache.org
> 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: struts-dev@jakarta.apache.org
> ReportedBy: gwk@audiobookcentral.com
>
>
> 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:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>