You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Prabhu (JIRA)" <br...@portals.apache.org> on 2008/09/16 12:21:44 UTC
[jira] Created: (PB-85) Jsf managed bean (request scope) is created
twice during an action request
Jsf managed bean (request scope) is created twice during an action request
--------------------------------------------------------------------------
Key: PB-85
URL: https://issues.apache.org/jira/browse/PB-85
Project: Portals Bridges
Issue Type: Bug
Components: jsf
Affects Versions: 1.0.4
Environment: Windows XP, Apache myfaces 1.1.5, Apache pluto portlet container, Portal bridges (jsf) 1.0.4
Reporter: Prabhu
When you invoke a portlet action request (clicking on a button), managed bean (request scope) is created twice. Once in Invoke application phase and other in Render response phase. Managed bean attribute values are lost due to the object creation is Render response phase.
If I execute the same using MyFacesGenericPortlet in portlet.xml (<portlet class>), the object is not getting created in the Render response phase. So the values are binding properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org
[jira] Updated: (PB-85) Jsf managed bean (request scope) is created
twice during an action request
Posted by "Prabhu (JIRA)" <br...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/PB-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prabhu updated PB-85:
---------------------
Attachment: Portlet_analysis.docx
TestPortlet_src.rar
TestPortlet.war
Testportlet.war -> You can deploy and test the functionality
Testportlet_src,rar -> Source files attached
Portlet_analysis.docx -> Brief details about the issue
> Jsf managed bean (request scope) is created twice during an action request
> --------------------------------------------------------------------------
>
> Key: PB-85
> URL: https://issues.apache.org/jira/browse/PB-85
> Project: Portals Bridges
> Issue Type: Bug
> Components: jsf
> Affects Versions: 1.0.4
> Environment: Windows XP, Apache myfaces 1.1.5, Apache pluto portlet container, Portal bridges (jsf) 1.0.4
> Reporter: Prabhu
> Attachments: Portlet_analysis.docx, TestPortlet.war, TestPortlet_src.rar
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> When you invoke a portlet action request (clicking on a button), managed bean (request scope) is created twice. Once in Invoke application phase and other in Render response phase. Managed bean attribute values are lost due to the object creation is Render response phase.
> If I execute the same using MyFacesGenericPortlet in portlet.xml (<portlet class>), the object is not getting created in the Render response phase. So the values are binding properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org