Re: cocoon.getComponent returns a proxy

2005-10-04 Thread Jörg Heinicke
How do I stop the component manager offering me a proxy and force it to give me the object itself? Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ?? Jörg -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More

Re: cocoon.getComponent returns a proxy

2005-10-04 Thread Upayavira
Jörg Heinicke wrote: How do I stop the component manager offering me a proxy and force it to give me the object itself? Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ?? Strange, but it works. Implementing Component made it work. Presumably that doesn't matter in

Re: cocoon.getComponent returns a proxy

2005-10-04 Thread Carsten Ziegeler
Upayavira wrote: Jörg Heinicke wrote: How do I stop the component manager offering me a proxy and force it to give me the object itself? Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ?? Strange, but it works. Implementing Component made it work. Presumably that

cocoon.getComponent returns a proxy

2005-10-03 Thread Upayavira
I've got some very simple code: public class Foo { public static final String ROLE = Foo.class.getName(); public void foo(String msg) { System.out.println(msg); } } I have the component configured in cocoon.roles, and when I do: var foo = cocoon.getComponent(Foo.ROLE);