[ http://issues.apache.org/jira/browse/TOMAHAWK-189?page=all ]
     
Volker Weber resolved TOMAHAWK-189:
-----------------------------------

    Resolution: Fixed

> Remove explicit cast in AjaxDecodePhaseListener
> -----------------------------------------------
>
>          Key: TOMAHAWK-189
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-189
>      Project: MyFaces Tomahawk
>         Type: Bug
>     Versions: 1.1.2-SNAPSHOT
>     Reporter: Aleksei Valikov
>     Assignee: Volker Weber
>  Attachments: AjaxDecodePhaseListener.diff
>
> Currently, AjaxDecodePhaseListener performs an explicit cast in beforePhase():
>             if 
> (!context.getApplication().getStateManager().isSavingStateInClient(context))
>             {
>                 ((JspStateManagerImpl) 
> context.getApplication().getStateManager()).saveSerializedView(context);
>             }
> I am using a custom state manager, whic is not JspStateManagerImpl, and I get 
> class cast exception.
> Please remove the explicit cast.

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

Reply via email to