Hi,

I have this class:
public class Confirmation {

    @Persist
    private String uid;

    public Class onActivate(String id) {
        if (uid == null) {
            uid = id;
        }
        return null;
 }

    public String onPassivate()  { return uid;}
   
    String onActionFromAutoLogin() {
        uid = null;
        return "MyPage";
    }
}

even i set uid to null, it is still not null next time when the page is
activated, why? what's the correct way of setting a persisted variable null?
Thanks.
A.C.

-- 
View this message in context: 
http://www.nabble.com/T5%3A-How-to-set-persisted-variable-to-null-tf4605726.html#a13151324
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to