You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Edouard sur edouardmercier.fr" <ed...@edouardmercier.fr> on 2008/10/07 10:23:49 UTC

Re: Creating inner components on the fly in a form custom component

Just to let you know that I've found a solution to my problem,
regarding the generation of HTML form elements on the fly.

The idea is not to resort to the B-Bean class set/getValue() methods,
but to define them at the level of the A component class: and in the
core of the method, use the "theAcceptableValue" property argument
that is used inside the A.tml template. This works like a charm.

I've included the modified working example. Hope this will help
someone... Cheers, �douard