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 120297 - [60cat] Start Page green arrow icon confusion
Summary: [60cat] Start Page green arrow icon confusion
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ potingwu
Depends on:
Reported: 2007-10-28 23:10 UTC by racx
Modified: 2007-10-30 03:24 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description racx 2007-10-28 23:10:12 UTC
[ JDK VERSION : 1.6.0_02 ]

Open a new web project witgh vw support.

- The start page is set by default to Page1.jsp (we can see a small
green arrow icon in the Projects window on Page1.jsp.

- Create a new JSF Page2.jsp

- Go to Web.xml and go to Pages Tab, take out the faces/Page1.jsp,
and replace it with faces/Page2.jsp.

- The green arrow stays on Page1.jsp which confuses us as if the
welcome page is still Page1.jsp but actually it is Page2.jsp
Comment 1 Peter Zavadsky 2007-10-29 19:01:31 UTC
This belongs to the loader's node (I believe), passing to Quy.
Comment 2 Quy Nguyen 2007-10-30 00:11:14 UTC
The loader listens to project changes from JsfProjectUtils, and the start page change event is only fired when the 'Set
Start Page' action on the Page.jsp node is invoked.  If it is possible, the JsfProjectUtils should listen to the web.xml
change and fire the property change accordingly.  However, a normal web project does not use green arrows for the start
page, so this may not be possible with the current APIs.
Comment 3 _ potingwu 2007-10-30 03:24:31 UTC
Not possible now based on the current API.