I am using a jsp:include tag in my jsp page. the included jsp has a <h:commandLink action="sucess"/> tag.
Now when my parent jsp gets translated it has the link which i have inlcuded. when i click on the link it does not get navigated to the page which should be on the action success.
i have made appropriate entries in the faces-config.xml. please suggest some solution.
even i tried changing the from-view-id tag value to child.jsp, yet it does not get navigated to the test.jsp page. it remains on the same page.
please suggest a solution , on how do i navigate from a link to another page which is of the included jsp.
Joined: May 15, 2011
First try to use simple navigation for your page than go for using included page...
first try that your navigation rule work fine for single page
second thing don't use commandLink for just purpose of navigation use it only for doing some thing which need processing on data.
Joined: Jun 11, 2010
yes i tried navigating from a single page when i click on that link and i navigated successfully.
it is not navigating only when the link is from a included page.
i am using commandLink because i want to perform some action when i click on that link.