[JBoss JIRA] (GTNPC-109) Modify EventResponse Interface to preserve window state changes accross multiple event invocations
by Adam Kovari (JIRA)
Adam Kovari created GTNPC-109:
---------------------------------
Summary: Modify EventResponse Interface to preserve window state changes accross multiple event invocations
Key: GTNPC-109
URL: https://issues.jboss.org/browse/GTNPC-109
Project: GateIn Portlet Container
Issue Type: Enhancement
Components: API
Affects Versions: 2.4.1.Final
Reporter: Adam Kovari
Priority: Minor
If a portlet changes it's window state in the event processing phase, this state is not preserved as other portlets/events can be processed on the same page and then portal will override this changes.
The spec says:
PLT.12.4 EventResponse Interface
================================
The EventResponse interface extends the StateAwareResponse interface and adds the additional method setRenderParameters(EventRequest request). One thing to note is that if a portlet receives multiple processEvent calls while processing one client request the new portlet mode or window state that the portlet may have set, may be not validated by the portal between these multiple processEvent calls. This means that even if the portlet container may not throw an exception when the portlet sets a new portlet mode or window state that the portal may still not approve this portlet mode or window state change and call the portlet render method with a different portlet mode or window state.
So the window state change can be preserved even accross multiple events invocation. Seems to be fine by the spec as shown above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-2668) There is portlet named "Gadget Wrapper Portlet" in the list of available portlets
by Son Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2668?page=com.atlassian.jira.pl... ]
Son Tran commented on GTNPORTAL-2668:
-------------------------------------
Gadget Wrapper Portlet is used to wrap gadget that is dragged into page model while editing page.
However, gatein supported gatein_internal that is put in keywords tag in portlet.xml. This keyword is used to prevent adding portlet to category.
> There is portlet named "Gadget Wrapper Portlet" in the list of available portlets
> ---------------------------------------------------------------------------------
>
> Key: GTNPORTAL-2668
> URL: https://issues.jboss.org/browse/GTNPORTAL-2668
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.4.0.Final
> Environment: JBoss AS 7.1.3
> Reporter: Vlastislav Ramik
> Assignee: Son Tran
> Priority: Minor
> Labels: backlogs
> Fix For: 3.7.0.Final
>
>
> When you adding portlet into category in application registry, there is "Gadget Wrapper Portlet" listed in available portlets. The portlet is actually Gadget Calendar.
> If the calendar should be there rename it to calendar. In that case why aren't here other gadgets.
> If the calendar shouldn't be there remove it form there.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months