I'd actually like to support this eventually (maybe 2.1). The reason for this is that most DB-based resources need to be request-scoped, but really only the DB (ie: Hibernate session) needs to. No reason why everything else must get dragged down to that level as well. Since WebWork (read: NOT XWork) can assume that a request scope can map directly to a single session scope, then this is totally possible (albeit hard).
-Pat ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 8:20 PM Subject: RE: [OS-webwork] Issue with component lifecycle dependencies Umm... Because it's hard? :-) You'd have to have things stored in ThreadLocals and re-bound for every request, I think... > -----Original Message----- > From: Christian Meunier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2003 11:14 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Issue with component lifecycle dependencies > > > Hi, > > looking at the doc i see "Note that while components are > allowed to have > dependencies on other components they must not depend on another > component that is of a narrower scope" , is there a good > reason why we > have this limitation, there are many good cases where an application > scoped components could depend on a session scoped/request scoped > component and it does not look like it's supported at the moment. > > Regards > Christian Meunier > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork