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 124181 - auto-submit on change generate wrong function for J2EE1.5
Summary: auto-submit on change generate wrong function for J2EE1.5
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 08:23 UTC by Kenji Tachibana
Modified: 2008-01-18 02:44 UTC (History)
1 user (show)

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 Kenji Tachibana 2007-12-18 08:23:36 UTC
When I create the drop down list by using standard component
and enabled 'auto-submit on change' on J2EE 1.5 Web UI default Theme,
the generated common_timeoutSubmitForm output JSP error as follows:

common_timeoutSubmitForm is not defined.

Seems that common_timeoutSubmitForm is defined in defaulttheme.jar,
so can not use it on J2EE 1.5 (JSF 1.2).

To reproduce:

1. Create JSF project, with J2EE1.5.
2. Drag & Drop a drop down list from standard component.
3. Select #2 drop down component and right click, then check 'auto-submit on change'.
4. Deploy #3 and see from web browser.
5. If use IE, the error message is displayed, and on firefox, error message is 
   displayed in error console.
Comment 1 Matthew Bohm 2008-01-02 21:34:48 UTC
This is a standard component, so marking P3.

Workaround: Just replace "common_timeoutSubmitForm" with "webui.suntheme.common.timeoutSubmitForm".
Comment 2 Matthew Bohm 2008-01-17 23:55:38 UTC
Marking started.
Comment 3 Matthew Bohm 2008-01-18 02:44:25 UTC
Checking in visualweb/jsfsupport/designtime/src/org/netbeans/modules/visualweb/f
aces/dt/AutoSubmitOnChangeCheckedAction.java;
/cvs/visualweb/jsfsupport/designtime/src/org/netbeans/modules/visualweb/faces/dt
/AutoSubmitOnChangeCheckedAction.java,v  <--  AutoSubmitOnChangeCheckedAction.ja
va
new revision: 1.3; previous revision: 1.2
done