Re: T5 : naming of subcomponents ...

2009-02-16 Thread Howard Lewis Ship
Build the JavaScript around the actual ids that Tapestry generates: use @InjectComponent on the sub-components, and invoke getClientId(). Then build dynamic JavaScript that ties it all together on the client side from the ids. i.e. renderSupport.addInit("new BirthdayController('%s', '%s', '%s');"

T5 : naming of subcomponents ...

2009-02-16 Thread Stephane Decleire
Hi all, I would like to have your opinion on the following case : I want to create a Tapestry component as an assembly of several components and javascript functions (in a .js file) and those functions need to have access to the components' values. This component could be, for example a "birthdat