html:text with Onchange
843838Jul 17 2006 — edited Jul 18 2006Hi,
I am using a map backed form for a dynamically generated form.
For auditing purposes I need to identify as to which fields have changed.
Is there pre-defined in struts which I can use? Or should I use the javascript onChange function?
I was trying to use the onChange function but got the following error:
javax.servlet.jsp.JspException: ServletException in '/hp/service_provisioning.jsp': ServletException in 'cvoip.jsp': /cms/hp/cvoip.jsp:56: unexpected attribute `onChange' in `html:text'
my text field looks like below:
<html:text property="<%=useragentdomainVar%>" size="32" maxlength="256" onChange="alert('hello')"/>