It is better to do this in *.page because there is automaticaly solved
problems with sharing objact state between clients.
But if you realy want to initialize in *.java dont use something like this:
private List users;
public List getUsers(){return users;}
public void setUsers(List users){this.
I'm using FullTableSessionStateManager, but when I choose to sort the
table or move to another page (within table), then whole table stores
in session... Even if I choose another page and return back. So
changes in database couldn't be reflected. How can I erase those data
in session, so there woul
Thanks, I'll try it. But is there a way to initialize e.g. users
property in page class (.java) in similar way like in .jwc? I'd like to have
everything in class and annotations.
2005/9/15, Radim Burget <[EMAIL PROTECTED]>:
> Hi Tom,
>
> your problem is probably in wrong initialization in method
Hi Tom,
your problem is probably in wrong initialization in method
pageBeginRender(...) which is called after sorting - so this is the
reason of your exception. I guess you are using something like this:
public void pageBeginRender(PageEvent event) {
setUsers(getUserManager().getUsers(n
Hi all!
I have a problem with contrib table and no idea to solve it :(. I'd
like to have Collection type property in my page class which would be
initialized in pageBeginRender and not persistent. This works fine for
first display, but after I click on sorting column exception is
thrown:
Either the