This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 93775 - Setting a dropdown to Auto Submit sometimes adds a bit of Javascript on the OnChange which is not valid
Summary: Setting a dropdown to Auto Submit sometimes adds a bit of Javascript on the O...
Status: RESOLVED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Matthew Bohm
URL: http://www.netinfo.com.cy
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-01 10:50 UTC by thoism
Modified: 2008-01-17 23:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thoism 2007-02-01 10:50:05 UTC
I had a dropdown which was AutoSubmit so onchange there was the
common_timeoutSubmitForm(...) function. I also had another function right after
it in the OnChange property. I removed the AutoSubmit and the IDE removed also
my javascript function which was coming right after the
common_timeoutSubmitForm(...) function.
I set it again to AutoSubmit and the IDE added a bit of JavaScript which I think
was coming from my actual javascript function; The result was this:
', 2);common_timeoutSubmitForm(...) so this extra code ', 2) was coming from my
function
Comment 1 Matthew Bohm 2007-06-27 01:46:20 UTC
This could indicate an error in the regular expression use in
com.sun.webui.jsf.component.customizers.AutoSubmitOnChangeAction in woodstock designtime, as well as its ee4 and ri
brethren.
Comment 2 Matthew Bohm 2008-01-17 23:53:39 UTC
This may have been an old problem. I cannot reproduce this issue with recent trunk bits using the ee5, ee4, or ri
dropdown. Marking works for me.