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 present in session scope

Re: @InjectStateFlag always returns true

2007-02-04 Thread jiju
please read the doc about @InjectState... if the user-data instance is not present in session scope, tapestry will create a new instance ,when you access it during the first time, i think u can set some data in user-data object(may be using some different constructor) from login component, inorde

@InjectStateFlag always returns true

2007-02-04 Thread Cinzia Sinicropi
Hi, I'm (new to tapestry) using tapestry 4.0.2 and JBoss 4.0.5, and having problems with @InjectStateFlag. I have an Application Object "user-data" which contains a "user" among other objects (specified in hivemodule), this is used in a BaseComponent (login), and its state flag accessed in the p

@InjectStateFlag always returns true

2007-02-04 Thread Cinzia
Hi, I'm (new to tapestry) using tapestry 4.0.2 and JBoss 4.0.5, and having problems with @InjectStateFlag. I have an Application Object "user-data" which contains a "user" among other objects (specified in hivemodule), this is used in a BaseComponent (login), and its state flag accessed in t