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.
Summary: | clicking Finish doesn't close the New File dialog | ||
---|---|---|---|
Product: | obsolete | Reporter: | sjangity <sjangity> |
Component: | visualweb | Assignee: | _ potingwu <potingwu> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | potingwu |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
New File Dialog not closed after hitting Finish
Grab the exceptions from the page wizard |
Created attachment 41121 [details]
New File Dialog not closed after hitting Finish
This is caused by jsfloader.JsfJspDataObject.handleCreateFromTemplate. Looks like jsfloader only works iff the page is created under the folder 'web'. It failed if the page is created under and sub-folder under 'web', e.g., 'web/resources' or any other like 'web/myFolder'. Created attachment 41122 [details]
Grab the exceptions from the page wizard
I noticed that the value of binding attribute is not correct. For example if the page Page1 is created in folder folder1 the binding attributes of component tags inside the jsp file should look like: ...binding="#{folder1$Page1.page1...}" ... currently they look like: ...binding="#{Page1.page1...}" ... This screws up the insync and will result it red designer. The recent change to freemarker based templates probably caused this regression. This may also be affecting Move refactoring. Assigning back to Po ting. Don't use the new scripting support for creating new JSP objects. It's not ready for naming with sub-folder yet. Back out my previous implementation. It's now fixed. Verified fix in 070418_4. |
(Wasn't sure if all page artifacts were created, so setting at high priority for eval) Build 200704161800, VWP 070417_7, WinXP, JDK 1.6 1. start a EE5 VWP project 2. on resources node invoke New > Other > Visual Web JSF Page 3. accept the default page name and hit 'Finish' button > New Page dialog is still open