Hello All-

If the base class is javax.servlet.jsp.tagext.TagAttributeInfo..is this true?
then the attributes are *supposed to be read* from the tld e.g.

<tag>
<name>submit</name>
<tagclass>org.apache.struts.taglib.html.SubmitTag</tagclass>

.snip..

<attribute>
<name>disabled</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>

.snip...

</tag>

Please confirm..
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Shahak Nagiel" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, May 04, 2007 12:12 PM
Subject: Re: disabled attribute?


Never mind, looks like it's already a known bug:

http://issues.apache.org/struts/browse/WW-1758;jsessionid=E06C1AD4BB270F9CD2BE0CE6B17B6A26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

----- Original Message ----
From: Shahak Nagiel <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Friday, May 4, 2007 10:46:42 AM
Subject: disabled attribute?

Is there anything special required to make the "disabled" attribute on a submit button work (i.e. get generated in HTML)?

This simple line: <struts:submit disabled="true" cssClass="Button" key="button.newUser" />

is generating the button fine, but it is not disabled in either Firefox or IE (nor does the HTML give any indication of it being disabled).

Thanks in advance.








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

Reply via email to