Component Event Context, ValueEncoder Lifecycle

2009-07-22 Thread Stefan
Hi, i'm currently writing my first component, which should work like this one : http://wiki.apache.org/tapestry/Tapestry5HowToCreateASimpleGraphComponent Everything works fine so far, but: I have to pass some complex data structures (encapsulated in objects) to the component, doing so:

Re: Component Event Context, ValueEncoder Lifecycle

2009-07-22 Thread Thiago H. de Paula Figueiredo
Em Wed, 22 Jul 2009 13:57:16 -0300, Stefan ste...@wammel.com escreveu: Hi, Hi! void beginRender(MarkupWriter writer) { Link lnk = resources.createEventLink(EVENT_NAME, context); You should encode the event context before passing it to createEventLink(). ;) Then, in your event