On Tue, May 10, 2005 at 05:12:40PM +0100, Niall Pemberton wrote:
> Since Struts 1.2.5 the html tags have had some re-factoring that makes it
> easier to create your own custom version. All you need to do is extend the
> TextTag, add appropriate getter/setter methods for a new "autocomplete"
> property and override the prepareOtherAttributes() method to output your
> additional attribute:
>
> protected void prepareOtherAttributes(StringBuffer handlers) {
> prepareAttribute(handlers, "autocomplete", getAutocomplete());
> }
>
> You will also either need to modify the struts tld to point to your custom
> tag and add your additional attribute - or create your own tld for the
> custom tag.
>
> Bug 1598 talked about adding the kind of facility you mention, but no-ones
> done anything about it and there are other bug tickets which are related:
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=1598
> http://issues.apache.org/bugzilla/show_bug.cgi?id=29379
> http://issues.apache.org/bugzilla/show_bug.cgi?id=32215
>
> Niall
Thanks for info..
t.
--
_i______'simplicity_is_the_key'__________tomasz_nazar
_ii____'i_am_concern_oriented'__________________iiuwr
_iii__'patsystem.sf.net'___________________linux_user
_Heaven_&_Fellows,_PPP______________________prevayler
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]