Re: component events bubbling down?

2014-09-10 Thread John
- From: Geoff Callender To: Tapestry users Sent: Wednesday, September 10, 2014 1:02 AM Subject: Re: component events bubbling down? It looks like your server-side has all the info it needs to do a refresh, so you can probably keep it as simple as this: public void doRefresh

Re: component events bubbling down?

2014-09-09 Thread Geoff Callender
log.debug("onRefresh"); >setup(); // prepare for render >return cartZone.getBody(); >} > > > This works like a charm although I feel I'm boilerplating with this code. Any > suggestions for improvement welcome. > > - Ori

Re: component events bubbling down?

2014-09-09 Thread John
lender To: Tapestry users Sent: Sunday, September 07, 2014 1:44 AM Subject: Re: component events bubbling down? Here's a working example that solves it in the same way that you were trying - with bubble up and call down... http://jumpstart.doublenegative.com.au/jumpsta

Re: component events bubbling down?

2014-09-06 Thread Geoff Callender
Here's a working example that solves it in the same way that you were trying - with bubble up and call down... http://jumpstart.doublenegative.com.au/jumpstart7/together/ajaxcomponentscrud/persons ...where Persons, which is the page, calls list.doChangeOfSelectedPerson() in response to

Re: component events bubbling down?

2014-09-06 Thread Chris Poulsen
Hi, I believe that https://issues.apache.org/jira/browse/TAP5-2383 is about this case. There are several possible solutions mentioned in that issue/its comments. -- Chris On Sun, Sep 7, 2014 at 12:16 AM, John wrote: > I have a situation where a child component (C) fires an event that causes

Re: Component events

2006-07-25 Thread Rodnei Couto
You can use pageBeginRender with components too... work fine.. Thanks, Rodnei Couto Rui Pacheco escreveu: Hi all One quick question, as the API got me a bit confused: which event is equivalent to pageBeginRender for a component that extends BaseComponent? --

Re: Component events

2006-07-25 Thread Rui Pacheco
It works with finishLoad(). I see my err.println on the logs, but the template isn't rendered. On 7/25/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Didn't work. I placed an err.println there and it never showed up on the logs. I need a place to put my database calls, so I can populate the compo

Re: Component events

2006-07-25 Thread Rui Pacheco
Didn't work. I placed an err.println there and it never showed up on the logs. I need a place to put my database calls, so I can populate the components I'm placing on the template. On 7/25/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: prepareForRender ? http://tapestry.apache.org/tapestry4.1/

Re: Component events

2006-07-24 Thread Jesse Kuhnert
prepareForRender ? http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/index.html On 7/24/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all One quick question, as the API got me a bit confused: which event is equivalent to pageBeginRender for a component that extends BaseComponen