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 130204 - Renamed pagefragment case breaks navigation
Summary: Renamed pagefragment case breaks navigation
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Peter Zavadsky
Depends on:
Reported: 2008-03-14 22:25 UTC by _ krystyna
Modified: 2009-05-25 21:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2008-03-14 22:25:29 UTC
NetBeans IDE Dev (Build 20080314171418)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1

1. Create a VW project and drop 3 buttons and one pagefragment component. 
2. Open the pagefragment component and add one hyperlink.
3. Create a second page and add only that same pagefragment.
4. Bring up page flow editor and draw links from each of page1 buttons to page2
   so that the case 1 thru 3 represents the buttons and hyperlink becomes "case4" to page2
5. Link page2 hyperlink back to page1 as "case1"
6. Deploy and test: all the links work back and forth. OK.
7. Rename the page2 hyperlink's link to page1 as "case9" in the pagefloweditor
8. Deploy and test
>hyperlink from the pagefragment on Page1 is broken

At this point, the workaround is to have all pagefragment links the same name.
So, renaming both links from each page fragment to "case9" (or any other string) 
will restore navigation. I think this workaround needs to be release noted
if this can't be fixed. 

Somehow it works initially when the link names are different.

This bug was also in 6.0 but not in 5.5.1
Comment 1 Joelle Lam 2008-03-26 20:04:24 UTC
It looks like the rename of link is happening (if you look at the faces-config.xml), but the handler is not being updated.