Yes - you will need to use the binding direction "form" for parameters that you want read during render and updated during rewind.
More details on binding direction here:
http://jakarta.apache.org/tapestry/doc/TapestryUsersGuide/spec.parameter.html


Check out the Palette component in the contrib library for an example of a form component that uses an HTML template.

Paul

Joshua Long wrote:

I have a super obvious question to which (alas) I have no clear answer:
is there a way to build a form component (ie, one whose value is
contributed to the current form submission) which also has an html
template and doesn't need to be rendered in code?


I guess what I'm wondering is: why haven't I started building mega components used in rows in forms that are reusable? What am I missing?
Is there something like BaseComponent/BasePage which allow templates for
a form component?


I don't even know that I understand how such a thing would work, but I
do note that Tapestry does a lot of things I couldn't imagine up
myself, so it doesn't hurt to ask.. :-)


Thanks a lot for any input..

Joshua


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to