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 101872 - Unable to navigate page to another page after app deployed
Summary: Unable to navigate page to another page after app deployed
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Joelle Lam
URL:
Keywords:
Depends on:
Blocks: 100628
  Show dependency tree
 
Reported: 2007-04-19 23:48 UTC by Joanne Lau
Modified: 2007-04-24 16:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2007-04-19 23:48:08 UTC
NB: 200704171800
VW: 070419_1

- Create VW JSF project, 2 VW pages
- Add a button to each page
- Create a link from button of Page1->Page2 and vice versa from Page2->Page1
- Deploy and run the app
- Nothing happens when clicking on the button on Page1.
Comment 1 Joelle Lam 2007-04-21 05:18:15 UTC
I finally figured out the issue.  The faces-config need "/" in front of each of
the pages.  I will add this on Monday.  Until it is fixed, the workaround is to
simply add "/" in front of the name.  Of course this messes up the visual editor
in that it does not think "/Page1.jsp" exists as a file as it will only
recognize "Page1.jsp".
Comment 2 Joelle Lam 2007-04-24 03:57:54 UTC
All pages are retrieved without "/" and saved with "/".  I centrallized these
calles in FacesModelUtility.  Ultimately FacesModelUtility should be the only
class to modify the model directly.

IDE:-------------------------------------------------
IDE: [4/23/07 7:56 PM] Committing 2 Projects started
cvs server: scheduling file `FacesModelUtility.java' for addition
cvs server: use 'cvs commit' to add this file permanently
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowController.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowController.java,v
 <--  PageFlowController.java
new revision: 1.72; previous revision: 1.71
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelPropertyChangeListener.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelPropertyChangeListener.java,v
 <--  FacesModelPropertyChangeListener.java
new revision: 1.5; previous revision: 1.4
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowView.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowView.java,v
 <--  PageFlowView.java
new revision: 1.65; previous revision: 1.64
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowNode.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowNode.java,v
 <--  PageFlowNode.java
new revision: 1.28; previous revision: 1.27
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/NavigationCaseNode.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/NavigationCaseNode.java,v
 <--  NavigationCaseNode.java
new revision: 1.17; previous revision: 1.16
done
RCS file:
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelUtility.java,v
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelUtility.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelUtility.java,v
 <--  FacesModelUtility.java
initial revision: 1.1
done
Checking in visualweb/navigation/manifest.mf;
/cvs/visualweb/navigation/manifest.mf,v  <--  manifest.mf
new revision: 1.2; previous revision: 1.1
done
Checking in
web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/pagecontentmodel/PageContentModel.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/pagecontentmodel/PageContentModel.java,v
 <--  PageContentModel.java
new revision: 1.4; previous revision: 1.3
done
Checking in
visualweb/navigation/src/org/netbeans/modules/visualweb/navigation/VWPContentModel.java;
/cvs/visualweb/navigation/src/org/netbeans/modules/visualweb/navigation/VWPContentModel.java,v
 <--  VWPContentModel.java
new revision: 1.4; previous revision: 1.3
done
IDE: [4/23/07 7:56 PM] Committing 2 Projects finished
Comment 3 Joanne Lau 2007-04-24 16:56:55 UTC
Fix verified in Build 070424.