Re: Server action and redirection

Splash Forums PrettyFaces Users Server action and redirection Re: Server action and redirection

#21420

Chettor
Participant

Thanks for your answer !

I understand your opinion about type-safe but there still a problem.

A REST application is normally totally stateless. In your case, the page “referenced” is only accessible via the “responsible” page.

What append if you call directly the “referenced” page in your browser ?

Values from the “responsible” page’s controller are not initialized, so you’ll get a NullPointerException ?

I don’t have my project on this computer, i’ll try tomorrow.