Not off the top of my head. But it shouldn't be too difficult to extend TextTag,
add your property (getOnpropertychange/setOnpropertychange), override
release():

public void release() {
  super.release();
  onpropertychange = null;
}

and override something like prepareTextEvents(StringBuffer):

protected void prepareTextEvents(StringBuffer handlers) {
  super.prepareTextEvents(handlers);
  prepareAttribute(handlers, "onpropertychange", getOnpropertychange());
}

That's completely, totally untested and only marginally researched ;-). Check it
out for yourself and have a go!

You might also want to hit the user@struts.apache.org list to see if anyone's
already done this...

Quoting David McReynolds <[EMAIL PROTECTED]>:

> Has anyone seen an open source (free) custom tag that duplicates the
> html:text tag and adds support for the IE idiocy of onpropertychange
> (for their autocomplete)?
> -- 
> --dlm
> www.myjavaserver.com/~dlm8751

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to