The "onclick" in "<html:text>" is not a "handler", it is a custom tag
attribute.  The Tag Library Descriptor describes those attributes,
including their exact spelling.  If the TLD specifies a particular
spelling, then you have to use that spelling.  If you want to write
JavaScript functions that follow that convention you describe, then
that's fine.  Reference those function names in the value of the
"onclick" attribute.

> -----Original Message-----
> From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]
> 
> Hi @ all,
> 
> I have aproblem with Netscape 4.7, 6.0 and 6.1 and the eventhandler.
> 
> according to the W3C an eventhandler schould start with lowercase
> characters. The next character should be capitalized.
> e.g. onClick, onBlur. But Struts allows only lowercase characters.
> <html:text onclick="..."/>. If i use "onClick" an error occurs of
course.
> 
> Is there any solution except avoid using STRUTS-tlds.
> I know i can solve the problem by using <input type="text" ...> but
this
> is not the basic idea of STRUTS.

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

Reply via email to