Re: retrieve outer component reference from inner component

2007-11-29 Thread Jesse Kuhnert
You could use IPage.getNestedComponent() by calling getPage().getNestedComponent() (http://tapestry.apache.org/tapestry4.1/apidocs/src-html/org/apache/tapestry/IPage.html#line.111) Other than passing the component around as a parameter, is there a reason why you need the reference to it at all?

retrieve outer component reference from inner component

2007-11-28 Thread Henri Dupre
In my page I have a @Border component and inside a @ImageSubmit that should update (with ajax) a component outside @Border. I did some searches here, the only method that was suggested is to pass component references though parameters but this would be quite ugly because there is quite a bit of com