wood burning stoves 2.0*
The moose likes JSF and the fly likes transient property gets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "transient property gets "cached" when called from rich:tree" Watch "transient property gets "cached" when called from rich:tree" New topic
Author

transient property gets "cached" when called from rich:tree

Aba Dov
Greenhorn

Joined: Jan 24, 2011
Posts: 6

Hi

In a class there is a transient Boolean variable named - tempVar

The problem is:
After the value of tempVar is changed to true by one request ,it seems to keep its value in the following request.

When debuging the new request, it gets to the init line, setting the variable to false, however afterwards, when it reaches the isOpenNodes method its value is true .

additional info:
The class is Serializable, has a "request" scope and has <a4j:keepAlive> in the jsf page.
The variable does not have getters or setters and is only modified by the one method.

code:








Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transient property gets "cached" when called from rich:tree
 
Similar Threads
locking on an object WITHOUT synchronized keyword : my LockSimulator fails !
Boolean.valueOf(boolean) vs Boolean.valueOf(String)
request.getSession(false)
jsp /java i m not able to fine currect solutions
JFormattedTextField MaskFormatter issues: Please Help its urgent