Re: Conversation Context not active when method called on conversation

Splash Forums PrettyFaces Users Conversation Context not active when method called on conversation Re: Conversation Context not active when method called on conversation

#23376

jllado
Participant

I noticed the following things:

1. If validator method throws ValidatorException and catches it I am not redirected to onError page.

But if my ValidatorException is NOT caught by try-catch block I am redirected properly.

2. If I assign targetPage in validator method the validator is running twice and it is logged !!!

3. If I assign targetPage when it is declared and call value of targetPage from pretty-config.xml

like <view-id value=”#{user.getTargetPage}” /> then validator method is running really twice and it is logged!!!

4. If I don’t touch targetPage for view-id at all but simply specify :

<view-id value=”/pageToRedirect.jsf” /> then validator method is running only once !!!

I am at Glassfish 3.1.2 build 5 and use Maven and latest Eclipse Juno

I packaged my project by 7-zip.