Hello I just tried to use the javascript eventhandler "onClick" in my
struts html:tag options.
I want to submit my HTML-Form every time an element of my select tag has
been selected.
The developer guide contains such methods. But the compiler throws an
error:
org.apache.jasper.compiler.CompileException: /select.jsp(20,3) Attribute
onClick invalid according to the specified TLD
at
org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.
java:180)
My Code is:
<html:form action="selectPP.do" name="SelectPPForm" scope="request">
<table>
<tr>
<td>
<html:select property="planningperiod">
<html:options
collection="pplist"
property="ppid"
labelProperty="ppid"
onclick="document.SelectPPForm.submit()"
/>
</html:select>
</td>
</tr>
</table>
</html:form>
Hope, that somebody can help me in this issue. If it isn't possible to
use such method in the struts-tag. Can somebody show another way to
implement this feature?
bjoern
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>