jsf 2 - How to call to get the source page which requets another JSF page -
i want know how name of page requests jsf page further call specific methods in bean according source page, don't want use <f:event type="prerenderview" listener="#{beanname.prerender}" />
because specified page has components that's rendered according source page
as far know has handcoded , best way in @webfilter
. , request.getrequesturi();
then save pages in suitible fashion example arraydeque
.
the arraydeque example saved in @sessionscoped
bean.
Comments
Post a Comment