The problem as I see it, unfortunately, exists will all non page scope 
referenced components. There is in fact no way to reliably value bind to a Seam 
component from within the view that will accompany that component's 
destruction, due to lifecycle differences.

For example, when a Seam conversation finishes & it's conversation scoped 
action component is destroyed, again I'd need to outject page objects for any 
value bindings in the post-conversational view. Provided that 
mid-conversational views reference bi-jected objects (instead of via getters on 
the action component), I could sneakily outject a same-named page scoped copy 
at the end of the conversation (hence binding el will be transparently 
consistent for both mid & post-conversational bindings).

Perhaps that would work as a fix, but it would be much better to avoid this 
issue in the first place. People have walked away from JSF over this (standard 
backing beans have no hope of matching JSF's lifecycle), and I really think 
Seam could address the problem as a core value proposition.

What I'm suggesting is that ways to match the component lifecycle more closely 
to JSF's are looked at. In the contexts.PageContext code, it recognises that 
the event boundary is in a phase unrelated to that supposed by a web request 
centric view - and I think PageContext is on to something generally true with 
JSF. I don't doubt that this is tricky, but I urge some serious thought on the 
matter. I think you and other key people work incredibly hard, so I hate to 
burden you, but I do think that the problem needs to be understood & discussed 
at a Seam project level.

Anyway, ciao for now. Cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934045#3934045

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934045


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to