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.
NB: 070523 Steps to reproduce: 1) Create a JSF VW project 2) Create a std jsp (j1) , html (h1), 2 VW pages 3) Add a button to each of VW page, and create links Page1->Page2 and vice versa 4) Create a subfolder my_fold under Web Pages 5) Bringup PFE (Dbl Click faces-config) 6) D&D j1.jsp and h1.html to my_fold 7) Close and bring up PFE 8) From the Projects view, dbl click of Page2.jsp and add another button 9) Close and bring up PFE 10) New button not displayed in the page icon No exception is generated. Close and reopen faces-config does not fix the problem. Workaround is to close and restart the IDE and bring up PFE. This issue is not always reproducible, I've seen it randomly in previous builds as well. (see attached screenshot)
Created attachment 42705 [details] screenshot attached
It seems that the page icon display in PFE is not always being refreshed when there is any update to the component. So far I've experienced the issue with adding and deleting button/hyperlink/image hyperlink.
This issue is seen in NB 200705251200. I have this scenario: - Create 10 VW pages - Add button to Page1 via PFE Scroll down the up arrow key, button exists - Add button to Page9 via PFE Scroll down the up arrow key, button does not exist Select open context menu to open Page9, the button exists in the designer view
The SyncAll commit that Sandeep mentioned has caused a regression in Page Flow Editor. The Insync commit was made on the 23rd of May so I believe the new notes is a different issue. Basically if any page is not opened, the Page Flow Editor can not get the Model since Insync only models when the Page is opened.
FYI: I meant Sandip and not Sandeep.
Fixed by deva today. Checking in FacesModelSet.java; /cvs/visualweb/insync/src/org/netbeans/modules/visualweb/insync/models/FacesModelSet.java,v <-- FacesModelSet.java new revision: 1.8; previous revision: 1.7 done
NB: 200706011200 Issue is reproducible in latest trunk build with the following scenario: - Invoke IDE with a fresh userdir - Add a button in Page1 - Via PFE, rename Page1 -> Page1n - Switch Project view -> Faces-config only view -> back to Project view The Page icon in PFE has Page1.jsp however the button listed as Page1n:button1 Adding button via PFE at this point seems to be broken for other VW pages as well. (See attached messages log)
Created attachment 43137 [details] exception log attached
This issue is also seen when deleting a hyperlink component from the page. faces-config.xml is not being refreshed though after closing and reopening it. (see attached screenshot)
Created attachment 43206 [details] screenshot taken after hyperlink deleted
Issue seen in latest build 200706070000 in the 2nd VW project created. The first VW project does not have this problem (IDE was started with a new userdir)
The key to reproducing this bug: 1) Create a link from button to another page 2) Delete link 3) Add button to page. No button will get added.
*** This issue has been marked as a duplicate of 106347 ***