-
1. Re: Problem stateful beans sharing properties
markauro Feb 8, 2008 3:44 AM (in response to markauro)Please, this is making me go mad.... can anybody tell me something about this question ??
Thanks. -
2. Re: Problem stateful beans sharing properties
dexjam Feb 8, 2008 4:39 AM (in response to markauro)Try renaming the @Datamodel variable, probably seam looks up the same List over and over again.
-
3. Re: Problem stateful beans sharing properties
markauro Feb 8, 2008 5:17 AM (in response to markauro)Thanks dexjam,
yes, i just tried renaming the @Datamodel variable, and it works, seam create a different instance, but i have to rename all the bean variables so each bean has different properties names... what is supposed i need to do if i've so many pages that make searchs of different things, i would rename all the properties in each action-bean... but they do the same action, this doesn't seems to be a pretty way.
I think nobody has this problem because all the posts i have seen talk about the opposite problem, people trying to share a variable between stateful/stateles beans, like if you put it directly into the session and then you retrieve form another action-bean...
ok, i have the answer !! its inside my application :-)