This content has been marked as final.
Show 4 replies
-
1. Re: Session or request scope?
sergeysmirnov Apr 16, 2008 7:43 PM (in response to bostone)on the level you define the problem, I can advice to try Seam Conversation scope
-
2. Re: Session or request scope?
bostone Apr 16, 2008 9:20 PM (in response to bostone)"SergeySmirnov" wrote:
on the level you define the problem, I can advice to try Seam Conversation scope
Well it's pretty late into project and we are not using Seam. We have hibernate/spring/myfaces/facelets/a4j and each and every backing bean was defined in session scope (I came in project rather late) and that creates so much maintenance and accumulates so much stuff in the session that pages take forever to load, etc. etc. BTW no one replied to my previous post where I describe one of the lovely problems I get when I try to use two SelectOneMenu controls with complex model object and request scope. I also found out that commandLink doesn't work inside table widget when placed into request scope. So naturally I'm wondering - am I the only one having these problems and how people are dealing with these? -
3. Re: Session or request scope?
sergeysmirnov Apr 16, 2008 9:34 PM (in response to bostone)"bostone" wrote:
BTW no one replied to my previous post where I describe one of the lovely problems ....
This is not a surprise for me. If you want someone to spend several hours to understand what you meant and/or reproduce your case, I would like to suggest using the paid customer support. Asking questions on the public forum has some specific. -
4. Re: Session or request scope?
bostone Apr 22, 2008 8:08 PM (in response to bostone)"SergeySmirnov" wrote:
"bostone" wrote:
BTW no one replied to my previous post where I describe one of the lovely problems ....
This is not a surprise for me. If you want someone to spend several hours to understand what you meant and/or reproduce your case, I would like to suggest using the paid customer support. Asking questions on the public forum has some specific.
Sergey, honestly, I'm not trying to take advantage of free labor. I have a pretty broad question because time and again I have to switch beans to the session scope especially when I use a4j ajaxSingle=true". I think I put a pretty good description to my case but to give you some idea - here's classic a4j sample that I modified to use request scope and complex model object. It's broken. I would really appreciate if you guys can give some suggestions after looking at the code. I am just trying to learn after all
http://www.box.net/shared/q5dzl5f0o0
Regards,
Bob S.