You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kevin J Turner <kt...@dceg.com> on 2002/04/09 15:15:57 UTC
a nice to have feature...
Maybe this is a message better suited for the struts-dev group... ah well,
here goes...
It would be a *really* useful feature if Struts would just ignore any tag
attributes that it doesn't know how to process, and simply pass them on
through, as is.
For example, there is handy attribute of the FORM tag (actually, the
text box supports this attribute as well) that turns off the (annoying)
form-field autocomplete feature in Internet Explorer: autocomplete="off".
e.g. <form name="Form1" action="someAction.do" autocomplete="off">
This will prevent the form fields from displaying a drop-down list of
previously entered values. I would like to be able to use this feature
in my Struts pages, with something like:
<html:form action="/someAction.do" autocomplete="off">
... then when Struts encounters a name="value" pair that it doesn't know
how to process, like the autocomplete="off", it just displays the nvp
as-is. This would be very useful since the Struts tag library does not
cover all tag attributes.
I guess this is something I could do myself, by extending the appropriate
classes, yes? But that sounds like something best left for the pros. ;)
Regards,
Kevin
---
Kevin J Turner
dot com Entertainment Group, 150 Randall Street, Oakville, ON L6J 1P4
email: kturner@dceg.com phone: 905.338.8524 fax: 905.337.8630
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>