myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber (JIRA)" <...@myfaces.apache.org>
Subject [jira] Closed: (TOMAHAWK-189) Remove explicit cast in AjaxDecodePhaseListener
Date Fri, 10 Mar 2006 14:40:40 GMT
     [ http://issues.apache.org/jira/browse/TOMAHAWK-189?page=all ]
     
Volker Weber closed TOMAHAWK-189:
---------------------------------


> 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


Mime
View raw message