JSF skips phases - How to debug that?

Posted by Pentius on Stack Overflow See other posts from Stack Overflow or by Pentius
Published on 2010-04-26T10:31:16Z Indexed on 2010/04/26 10:33 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

Hey fellows,

I have to debug a foreign jsf application thanks god. The problem is, that I submit a form, but the values aren't carried over.

With a phase listener I can see, that the life cycle doesn't run completely through, so to say it skips phase 2 -5: After the restore view phase, the render response phase is directly called. I miss the apply values, validation, update model actions and so on.

So, this could be a chicken-and-egg problem: 1. The responsible phases aren't called, so the new form input can't be carried over. 2. The system doesn't recognize any new input and therefore directly renders after restoring the view.

I checked that there is no call of responseComplete() oder renderResponse().

I'm stuck somehow. Any idea to validate one of the two hypothesis? Or how to debug that in general? Did anybody have a similar problem?

© Stack Overflow or respective owner

Related posts about jsf

Related posts about phase