extCtx.getResponse() returns the "underlaying" response clazz. in tomcat that is the ResponseFacade. However, org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper is the clazz you should go with.
Since the 1.1.4 snapshot is much more stable as you 1.1.3 release there are not that much issue... expect, we changed the handling of <commandLinks> the will be no (by default) dummy form. so simply wrapp the commandLinks and sortable tables (for instane) in a <form>. See also http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3 On 7/27/06, QiuyunZhong <[EMAIL PROTECTED]> wrote:
Hey,guys.A couple of days before, we move our myfaces to 1.1.4-snapshot.Anything works fine except our pahselistener which extends PhashListener.Does it return different type object in different phase or just the same type object or anything more complicated then that. In fact ,It throws classcastexception when i cast the respone to org.apache.myfaces.webapp.util.ExtensionsResponseWrapper,in myfaces-1.1,it works fine.Then i cast the response to org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper,it seems ok.However,sometimes it will still throw classcastexception.Then i traces on it,I found it returns org.apache.catalina.connector.ResponseFacade in every phase.Things likes so tricky that i'm already confuzed. If there is any one encounter that problem when update myfaces from 1.1 to 1.1.4? Any advice will be welcome. Thanks:) -- View this message in context: http://www.nabble.com/which-class-does-externalcontext.getResponse%28%29-return-tf2010296.html#a5523351 Sent from the MyFaces - Users forum at Nabble.com.
-- Matthias Wessendorf further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com

