shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Lee (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHALE-288) prerender() does not get invoked in a Portlet
Date Wed, 20 Sep 2006 15:56:31 GMT
     [ http://issues.apache.org/struts/browse/SHALE-288?page=all ]

Ken Lee updated SHALE-288:
--------------------------

    Description: prerender() does not get invoked when in a Portlet.  One aspect I don't understand
is that for the initial non-Faces to Faces invocation, prerender does not get invoked because
the ViewController bean is not in the external context map.  Subsequent invocations do not
work because VIEW_NAME_RENDERED is set into the ActionRequest, but it is not set into the
ResponseRequest.  On the postback, ViewViewHandler.setupViewController() is not invoked in
the doView() path, just processAction().  preprocess() works as expected.  (was: prerender()
does not get invoked when in a Portlet.  One aspect I don't understand is that for the initial
non-Faces to Faces invocation, prerender does not get invoked because the ViewController bean
is not in the external context map.  Subsequent invocations do not work because VIEW_NAME_RENDERED
is set into the ActionRequest, but it is not set into the ResponseRequest.  ViewViewHandler.setupViewController()
is not invoked in the doView() path, just processAction().  preprocess() works as expected.)

> prerender() does not get invoked in a Portlet
> ---------------------------------------------
>
>                 Key: SHALE-288
>                 URL: http://issues.apache.org/struts/browse/SHALE-288
>             Project: Shale
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.4-SNAPSHOT
>         Environment: Windows, JBoss Portal 2.4GA + Shale 1.0.4 nightly build 9/14/06
(and 1.0.3)
>            Reporter: Ken Lee
>
> prerender() does not get invoked when in a Portlet.  One aspect I don't understand is
that for the initial non-Faces to Faces invocation, prerender does not get invoked because
the ViewController bean is not in the external context map.  Subsequent invocations do not
work because VIEW_NAME_RENDERED is set into the ActionRequest, but it is not set into the
ResponseRequest.  On the postback, ViewViewHandler.setupViewController() is not invoked in
the doView() path, just processAction().  preprocess() works as expected.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message