@InjectStateFlag always returns true

2007-02-04 Thread Cinzia
boolean getUserDataExists(); I know that if I use the following, the test getUserData().getUser() will return the correct value (e.g. null if not logged in), yet why is getUserData() already instantiated: @InjectState("user-da

@InjectStateFlag always returns true

2007-02-04 Thread Cinzia Sinicropi
etUserDataExists(); I know that if I use the following, the test getUserData().getUser() will return the correct value (e.g. null if not logged in), yet why is getUserData() already instantiated: @InjectState("user-data") public abstract Us

Re: @InjectStateFlag always returns true

2007-02-05 Thread Cinzia Sinicropi
many thanks jiju, I've opted for: @InjectState("user-data") public abstract UserData getUserData (); rather than the misused @InjectStateFlag, and followed your suggestion. Cinzia jiju wrote: please read the doc about @InjectState... if the user-data instance is not pre