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
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
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
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