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.
In M10 there was an option to post a dialog to allow a user to choose a name for a data source in Tools->Options The option seems to have been removed. I'm looking at the Miscellaneous|Visual Web section
John, can you check who removed this and why, may be it was intentionally done during the UI clean up. Ia m assigning this back to you because Jim has two other bugs. thanks
There is a section missing from the Miscellaneous | Visual Web section that was created for M10, but someone removed it. see attached screenshot The section provides the capability to post a dialog when dropping a database table onto a visual web page. This dialog allows a user to choose their data source name. This feature was added in M10 as a result of Customer feedback. This section needs to be restored in the Basic Miscellaneous Visual Web section
On June 15 there was an integration to allow support of options to show a dialog or not when adding a data source. However, somehow these options do not appear in the M10 build
I found a change made on 6/16 to move options from Advanced to Misc
Turns out the implementation to add the naming option to Tools option was done incorrectly. A UI section was added to the mf-layer. As a result Options picked up a new node and added it to Options. Need to add the naming option feature to options correctly.
This blocks 88871. 88871 tracked a feature to allow a user to choose a data source name. Apparently the implementation to use Tools->Options was incorrect. As a result the option for this feature no longer appears. To resolve this, changes are to be made to the org.netbeans.modules.visualweb.designer.jsf.JsfDesignerAdvancedOptionsPanel and JsfDesignerAdvancedOptions I can attach diffs of changes to make
All that's needed in the Options UI is one more label with a corresponding checkbox below the last (label-checkbox) pair in JsfDesignerAdvancedOptionsPanel
Created attachment 46853 [details] screenshot showing the added data source option
Created attachment 46854 [details] diffs of changes to options
Created attachment 46855 [details] Zip of files that contain the changes
See screenshot showing the option added, diff of source files and a zip file of the sources containing the changes
Those on the cc list, please review and give feedback
Hi John, that is OK. You can implement it - perfect. Please, don't forged to add mnemonics. And please, check the spacing between components according to UI spec. Thanks for perfect cooperation. Josef
OK with me. Sorry if I accidentally left this option out, feel free to add it.
John, thanks for following up on this. As you point out, it apparently got dropped in the transition to the new Options organization. I discovered it just before I left on vacation, and had exchanged messages with Pavel, Ondrej, and Jan R., but didn't have time to do a full review. Your proposal for option name and dialog layout is fine. For help text, I suggest that we use something like: "Prompt for Datasource Name: If selected, prompts for the name to use when creating a datasource by dropping a database table onto the form. If not selected, the IDE generates the name automatically."
Fixed. Still need to add mnemonics and help(tracked by 111794) Checking in designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/Bundle.properties; /cvs/visualweb/designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/Bundle.properties,v <-- Bundle.properties new revision: 1.8; previous revision: 1.7 done Checking in designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptions.java; /cvs/visualweb/designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptions.java,v <-- JsfDesignerAdvancedOptions.java new revision: 1.3; previous revision: 1.2 done Checking in designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptionsPanel.form; /cvs/visualweb/designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptionsPanel.form,v <-- JsfDesignerAdvancedOptionsPan el.form new revision: 1.2; previous revision: 1.1 done Checking in designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptionsPanel.java; /cvs/visualweb/designer/jsf/src/org/netbeans/modules/visualweb/designer/jsf/JsfDesignerAdvancedOptionsPanel.java,v <-- JsfDesignerAdvancedOptionsPan el.java new revision: 1.3; previous revision: 1.2
Verified on: Product Version: NetBeans IDE Dev (Build 200710100000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86 Tools -> Options -> Miscellaneous (Basic Options) -> Visual Web: Prompt for Data Source Name