Addition: Looking at the ViewViewHandler.java, it fails at line 299. method: setupViewController:
the viewName gets a value, the vr instance too, but:
vc = vr.resolveVariable(context, viewName);
return null and the method returns.
Now the interesting question, if context is valid and a viewname is
there - why would the vr fail to resolve the variable?
Torsten
Am Freitag, den 15.12.2006, 18:03 +0100 schrieb Torsten Krah:
> Thx for help.
> I got the point why prerender is not called - looking at the
> phaselistener there is following code in the beforeRenderResponse()
> method:
>
> ...
> Map map =
> event.getFacesContext().getExternalContext().getRequestMap();
> String viewName = (String)
> map.get(FacesConstants.VIEW_NAME_RENDERED);
> if (viewName == null) {
> return;
> }
> ...
>
>
> And sadly after debugging things, viewName is null when the condition i
> evaluated and the method returns immediately and the prerender code
> never gets called.
>
> So my questions is - why is the viewName null, any ideas?
>
> Torsten
smime.p7s
Description: S/MIME cryptographic signature
