Hi all,

I am having trouble thinking through how I should approach navigation and would like some input if somebody can direct me.

Let's say I have a page called editdetail.jsp, and that page is accessed from both header.jsp and neworder.jsp. When the user navigates to editdetail.jsp from header.jsp I want them to return to header.jsp upon "success". If the user navigates to editdetail.jsp from neworder.jsp I want them to return to neworder.jsp upon "success".

Right now in my faces config I don't see how I could re-use a particular page and keep the navigation out of my java code. I know I could set a variable in my java code that had a certain value noting which page to return to, but that doesn't seem very elegant. I just wanted to know how others have solved this problem.


Thanks in advance, Aaron Bartell http://mowyourlawn.com

Reply via email to