Re: Handling components event in the page that includes the component

2011-09-24 Thread Geoff Callender
In case it helps, here is an example of custom components triggering events with no callback: http://jumpstart.doublenegative.com.au/jumpstart/examples/component/crud/persons and with callback (returning the zone(s) to update): http://jumpstart.doublenegative.com.au/jumpstart/

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Yeah I think that part should be mentioned - its a really neat feature! I'll dig into it and see if I can get around to whipping up a suggestion for JIRA. -- Chris On Fri, Sep 23, 2011 at 6:56 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 23 Sep 2011 13:11:25 -0300, C

Re: Handling components event in the page that includes the component

2011-09-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Sep 2011 13:11:25 -0300, Chris Poulsen wrote: Nice to know you got it working! I'm still interested in the docs mentioning the custom component events. If they are missing, it should definitely be added. (I was expecting to find it on http://tapestry.apache.org/component-event

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
orvat wrote: > Yap, that solved all my problems. > > Thank you both so much > > Cheers > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834135.html > Sent from the T

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Yap, that solved all my problems. Thank you both so much Cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834135.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
; > So what I want is just to pass > > > > and then in class Popup.java I access it. But I can't do it like this > > @Parameter(required = true, defaultPrefix = "literal") > @Property > private String id; > > So any ideas? > > -- > View

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
: http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834084.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubs

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Wow Thiago, that is pretty cool. I haven't found (/noticed) this in the docs yet, can you provide a pointer? -- Chris On Fri, Sep 23, 2011 at 5:27 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 23 Sep 2011 10:23:50 -0300, Boris Horvat > wrote: > > I probably din't ex

Re: Handling components event in the page that includes the component

2011-09-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Sep 2011 10:23:50 -0300, Boris Horvat wrote: I probably din't explain it very well. I disagree. :) I guess I haven't explained my suggestion well. I have component with two submit links in it. I also have a page that includes those two links. I need to write in that page that i

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
omponent that is included in a page? I hope I have explained it better :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833808.html Sent from the Tapestry - User

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
s doesn't work. So any ideas how should I call the ID of the > element inside a component included in the page? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833597.h

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
call the ID of the element inside a component included in the page? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833597.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
rite it in the Page.java class it is not handled. Is there a way to push > the event from the component up to the page? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p483346

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
n the Component.java it is handled but if I write it in the Page.java class it is not handled. Is there a way to push the event from the component up to the page? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-comp

Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833388.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns