You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thijs Vonk (JIRA)" <ji...@apache.org> on 2009/01/09 13:23:59 UTC
[jira] Commented: (WICKET-1620) Portlet 2.0 support
[ https://issues.apache.org/jira/browse/WICKET-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662351#action_12662351 ]
Thijs Vonk commented on WICKET-1620:
------------------------------------
Could it be that you made a small error in the StateAwareServletResponseWrapper?
public StateAwareSevletResponseWrapper(HttpServletResponse response,
WicketResponseState responseState, PortletResponse portletResponse)
{
super(response, responseState, portletResponse);
// store a reference to the StateAwareResponse for use with setEvent()
stateAwareResponse = (StateAwareResponse)response;
}
this tries to cast a HttpServletResponse to a portlet response. Shouldn't it be:
public StateAwareSevletResponseWrapper(HttpServletResponse response,
WicketResponseState responseState, PortletResponse portletResponse)
{
super(response, responseState, portletResponse);
// store a reference to the StateAwareResponse for use with setEvent()
stateAwareResponse = (StateAwareResponse)portletResponse;
}
> Portlet 2.0 support
> -------------------
>
> Key: WICKET-1620
> URL: https://issues.apache.org/jira/browse/WICKET-1620
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Thijs Vonk
> Assignee: Ate Douma
> Attachments: myWicketPortal20Patch-example-project.patch, myWicketPortal20Patch-v2.patch, myWicketPortal20Patch-v3-example-project.patch, myWicketPortal20Patch-v3.patch, portlet2-0.patch, portlet2-0.patch, WICKET-1620-portlet2.0-tight.patch, WICKET-1620-portlet2.0.patch
>
>
> Upgrade wicket to fully support portlet 2.0 (jsr 286; http://jcp.org/en/jsr/detail?id=286).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.