dynamic upload buttons

2014-09-06 Thread squallmat .
Hi, I'm trying to put dynamic multiple upload buttons in Tapestry with an AjaxFormLoop component. But in the "onAdd" event where you have to create a new UploadedFile Object and return it, it doesn't seems to have any method to do that, because UploadedFile can't be instantiated by a new. Is ther

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

component events bubbling down?

2014-09-06 Thread John
I have a situation where a child component (C) fires an event that causes the containing component(B) to refesh it's content. Another component (A) that contains B also contains compoenent D. D needs also to fire an event that causes B to refesh it's content. The event needs to go down the compo