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 98440 - Visual Web JSF Page is not in default list of new items
Summary: Visual Web JSF Page is not in default list of new items
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
: 98556 (view as bug list)
Depends on: 100172
Blocks:
  Show dependency tree
 
Reported: 2007-03-21 10:55 UTC by Roman Mostyka
Modified: 2007-06-13 09:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot of page error after opening a project (90.20 KB, application/octet-stream)
2007-03-27 22:34 UTC, John Baker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2007-03-21 10:55:10 UTC
1. Create Web Application with Visual Web JSF framework.
2. Rightclick on "Web Pages" and select "New".

Result: There is no "Visual Web JSF Page" in default list of new items, though
Visual Web JSF framework was chosen. But if select "New->File/Folder" this point
in the list.
Comment 1 _ potingwu 2007-03-21 17:17:06 UTC
This is not framework suppose to do (actually no way to do). May request
NetBeans web project create new API for this feature.
Comment 2 _ potingwu 2007-03-21 19:42:11 UTC
*** Issue 98556 has been marked as a duplicate of this issue. ***
Comment 3 Lark Fitzgerald 2007-03-22 21:47:40 UTC
Workaround: 

To create a new Visual Web Page (or Page Fragment), do New -> File/Folder, 
then under category Web, select 'Visual Web JSF Page' or 'Visual Web JSF Page 
Fragment'. 
Comment 4 John Baker 2007-03-27 22:34:57 UTC
Created attachment 40059 [details]
screenshot of page error after opening a project
Comment 5 John Baker 2007-03-27 22:37:04 UTC
sorry attached image to the wrong bug
Comment 6 Lark Fitzgerald 2007-04-30 21:36:54 UTC
Workaround Clarification:

From File Menu bar
1. Make sure Web Pages is selected in Project window
2. File > New File
3. Set Categories to Web
4. Select File Type: Visual Web JSF Page, or Visual Web JSF Page Fragment
depending on what you want.

From Web Pages project node
1. right click on Web Pages
2. Select New > Other
3. Set Categories to Web
4. Select File Type: Visual Web JSF Page, or Visual Web JSF Page Fragment
depending on what you want.

After this the chosen file type will be added to your default list.
Comment 7 _ potingwu 2007-05-23 18:35:23 UTC
Fixed by implementing the new Web project SPI WebPrivilegedTemplates.
Comment 8 Roman Mostyka 2007-06-13 09:56:10 UTC
Verified with build 200706121200.