On 1/19/06, Rudolf Baloun <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i try to inject the Global object into my Page, but my injected Object
> is null.
> I added this in my hivemodule.xml:
>
>
>
>
>
>
>
> and this in my Page:
>
> @InjectState("globalObject")
> public abstract Gl
I understood, that the tapestry 4.0 framework can handle more then 2
statefull Objects.
I started my implementation 1,5 years ago, so there were a Global and a
Visit Object (Tapestry 3.0).
Now i want to keep my Visit and Global objects. I still want to use
injection instead of the deprecated "IP
I think there is a problem of concept here , you can inject as many
global object as you want, there is no such thing as a global object.
for example:
>
>
>
>
>
but you still have to define your own User class
public class User {
}
>
>
>
Hi,
i try to inject the Global object into my Page, but my injected Object
is null.
I added this in my hivemodule.xml:
and this in my Page:
@InjectState("globalObject")
public abstract Global getGlobalObject();
I guess, this should work. When i use "getGlobalObject(