Hi,
I am using jDev 11.1.1.4.0
In my application I have 2 menu's named -
Customer Profile Maker and Customer Profile Checker.
For these menu's JSPX is the same i.e. CustomerProfile.jspx
Within this jspx I have to check whether the request was for Maker or Checker then accordingly set visibility of some button's.
To do this stuff I have added 2 views in adfc-config.xml, then dreg-drop the same jspx on these 2 view's.
However the URL or menu name is different.
Now I have 2 menu's which I wanted.
After Login when I go for Maker screen I have in log as URI & URL in filter and in managed bean as well.
Context Path: /MyWebApp
URI: /MyWebApp/faces/jsp/common/Home.jspx
URL: http://127.0.0.1:7101/MyWebApp/faces/jsp/common/Home.jspx
Context Path: /MyWebApp
URI: /MyWebApp/faces/CustomerProfileMaker
URL: http://127.0.0.1:7101/MyWebApp/faces/CustomerProfileMaker
########## In Bean ############
Context Path: /MyWebApp
URI: /MyWebApp/jsp/staticdata/CustomerProfile.jspx
URL: http://127.0.0.1:7101/MyWebApp/jsp/staticdata/CustomerProfile.jspx
Now when I go for Checker screen from Maker I got,
Context Path: /MyWebApp
URI: /MyWebApp/faces/CustomerProfileMaker
URL: http://127.0.0.1:7101/MyWebApp/faces/CustomerProfileMaker
########## In Bean ############
Context Path: /MyWebApp
URI: /MyWebApp/faces/CustomerProfileMaker
URL: http://127.0.0.1:7101/MyWebApp/faces/CustomerProfileMaker
Context Path: /MyWebApp
URI: /MyWebApp/faces/CustomerProfileChecker
URL: http://127.0.0.1:7101/MyWebApp/faces/CustomerProfileChecker
########## In Bean ############
Context Path: /MyWebApp
URI: /MyWebApp/jsp/staticdata/CustomerProfile.jspx
URL: http://127.0.0.1:7101/MyWebApp/jsp/staticdata/CustomerProfile.jspx
Why such two times URI/URL? What do I do?
Appreciate your help.
Thanks,
Madhav.