Re: DynaView Error & Loop

Splash Forums PrettyFaces Users DynaView Error & Loop Re: DynaView Error & Loop


So the difference is that in the latter case of <view-id>#{bean.getPath}</view-id>, PrettyFaces actually does something different.

*Here is the flow:*

GET /new-homes/state/city/find/communities/4

FORWARD /com.ocpsoft.DynaView.jsf (or whatever your faces mapping is)

– Before RESTORE_VIEW (set a ViewRoot manually, then call facesContext.responseComplete())


— Invoke #{bean.getPath} and Calculate new ViewID

— FORWARD to new ViewID “/faces/pages/community.jspx”

You can see the full Dynaview mechanism here: