Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

html:text with Onchange

843838Jul 17 2006 — edited Jul 18 2006
Hi,

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')"/>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2006
Added on Jul 17 2006
3 comments
45 views