File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 03, 2010
Dec 07, 2010 01:54:51
My phaselistener is being trigger twice, and 2nd time, the viewId was rendered wrongly.
When i navigate from Page1.jsf to Page2.jsf, in my phaselistener, the viewId when i printed out are:
Page2.jsf (1st time) -- correct view
Page1.jsf (2nd time) -- wrong view
And because the viewId for the phaselistener for 2nd time is wrong, my application flow was broken.
How can i set my phaselistener not to be trigger twice? I have tried to remove the face-config.xml under web.xml
Joined: Dec 02, 2010
Dec 08, 2010 07:18:39
Where are you putting your <f:phaseListener> tag at?
It is sorta covered in the
JavaRanch Style Guide
subject: JSF phaseListener
Liferay Portlet with JSF Portlet bride-Problem
help for jsf
Creating a custom scope... (kinda long)
JSF Filter prevent direct access certain page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013