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 103926 - New JNDI resources dialog not retaining values on Next and Back.
Summary: New JNDI resources dialog not retaining values on Next and Back.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebServer 7 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ajay Acharya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 16:30 UTC by prabushankar
Modified: 2007-05-18 08:24 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 prabushankar 2007-05-14 16:30:48 UTC
Server-plugin version 1.4
Netbeans version 5.5.1 rc1 (Build 200703261315)
J2SE version 1.6.0_01
Java EE version j2ee1.4 and java ee 5
SJSWS 7.0 version Sun Java System Web Server 7.0U1 B05/06/2007

Steps to reproduce;
1)Register a local SJSWS7.0 server in netbeans.
2)Create a web application with SJSWS7.0 as target server.
3)Build the web application and deploy.
4)Try to create a new JDBC resource for "Sun Web Server 7.0 Resources" with a
JNDI name Test.
5)In the "New JDBC Resource", provide all the values like "JNDI Name","Vendor"...
6)Click "Back" button and "Next" button.
7)Notice he state of the NBDialog box which wouldn't have retained the state.
Say like title.
Note:When these operations are done through Jemmy, even the values like JNDI
Name are not retained. So this NBDialog is not test-automation friendly too.
Comment 1 Ajay Acharya 2007-05-18 08:24:47 UTC
Removed the explicit resetting of the jndi name, upon clicking next or back button.

Checking in serverresources/wizards/CommonGeneralFinishVisualPanel.java;
/cvs/serverplugins/sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverre
sources/wizards/CommonGeneralFinishVisualPanel.java,v  <--  CommonGeneralFinishV
isualPanel.java
new revision: 1.2.2.4.16.1; previous revision: 1.2.2.4
done
Checking in serverresources/wizards/CustomWizard.xml;
/cvs/serverplugins/sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverre
sources/wizards/CustomWizard.xml,v  <--  CustomWizard.xml
new revision: 1.1.2.3.24.1; previous revision: 1.1.2.3
done
Checking in serverresources/wizards/ExternalJNDIWizard.xml;
/cvs/serverplugins/sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverre
sources/wizards/ExternalJNDIWizard.xml,v  <--  ExternalJNDIWizard.xml
new revision: 1.1.2.3.24.1; previous revision: 1.1.2.3
done
Checking in serverresources/wizards/MailWizard.xml;
/cvs/serverplugins/sun/webserver7/src/org/netbeans/modules/j2ee/sun/ws7/serverre
sources/wizards/MailWizard.xml,v  <--  MailWizard.xml
new revision: 1.1.2.4.24.1; previous revision: 1.1.2.4
done