In a Google sarch I saw the following in a post from Craig: You can accomplish that with standard managed beans my setting the <managed-bean-scope> on the "businessDelegate" bean to be "none". This is like the create-every-time mode of Spring ... you always get a new instance each time the expression is evaluated, and it is never placed into any scope.
Craig http://www.nabble.com/RE:-managed-properties-t1846249.html This works; however, the only problem is that it seems like a new backing bean object is created every time each component on the page is referenced (over twenty times for the page I am working with). Is there a better solution? Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I have a JSP (some.jsp) which is mapped to a backing bean (SomeBean.java). > The scope is set to > "request". > > In some.jsp there are five h:outputLink tags each with its own f:param tags. > The "value" for > each > of the h:outputLink tags is some.jsp. When a link is clicked I want to set > the param values > into > the backing bean and redisplay the page showing the new values (I am doing > this in the > constructor > of SomeBean.java). > > This only works on the first time I click a link, even though the scope of > SomeBean.java is > definitely set to request. > > The very weird thing about this is that when I trace the code, the new param > values are > definitely > being set in a new SomeBean.java, and then (through some sort of black magic) > the old values > from > the previous request are mapped back into the new bean. > > I thought that if I set the scope of the backing bean to "request", the > backing bean would not > persist beyond requests. > > Can anyone explain what is going on and possibly offer a solution? > > Thx. > > Mike > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

