shale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvanma...@comcast.net (Gary VanMatre)
Subject Re: SHALE-409 Bug
Date Tue, 01 May 2007 19:09:43 GMT
>From: "hughes.matt" <hughes.matt@gmail.com> 
>
> 
> As best as I can tell there is a bug in the ViewPhaseListener in shale-view 
> that is breaking other libraries, namely ajax4jsf by removing ALL entries 
> from the request map. I'd gladly fix this, but I can't tell what the code 
> should be doing. 
>

What I think is going on here is that the phase listener is collecting 
"ViewController" objects that are explicitly removed from request 
scope.  Forcing the object to be removed will fire the destroy 
callback method on the shale enhanced managed beans [1].

I think the second loop should be looking for realization/
generalization the of the View annotation, AbstractApplication,
AbstractRequestBean, AbstractSessionBean, and ViewController  
versus blindly treating every request value as one of those types.

[1] http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/LifecycleListener.java?view=markup
 
> I have detailed the bug here: 
> https://issues.apache.org/struts/browse/SHALE-409#action_40918 
> https://issues.apache.org/struts/browse/SHALE-409 
> -- 
> View this message in context: 
> http://www.nabble.com/SHALE-409-Bug-tf3676627.html#a10273870 
> Sent from the Shale - Dev mailing list archive at Nabble.com. 
>

Gary
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message