You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2007/05/23 21:28:34 UTC

FacesConstants.VIEW_NAME_RENDERED - requestMap parameter is missing, so prerender gets not called.

In the ViewPhaseListener, the view going to be rendered it taken from
the requestMap.

Using JSF/Shale this works fine.

String viewName = (String) map.get(FacesConstants.VIEW_NAME_RENDERED);

Using JSF, ViewController and SWF - viewName gets null - the
VIEW_NAME_RENDERED is not in the map.
Searched in the source code but did not yet found the position, where
this constand is set to the requestMap, can someone give me some hints -
maybe its impossible to get SWF (with flow and conversationScope)
working, but maybe its possible - dont know this yet, but i'll want to
investigate that a little bit.

Hints are welcome.

Torsten