To clarify further...

You have to use a Tapestry Form component, not a regular HTML form. Otherwise there are important things you can't do: - you can't use the Errors component to display the errors (eg. <t:errors/>). Tapestry depends on it being within a T5 Form. - you can't refer to the Form in the page class (eg. @Component(id = "names") private Form _form;) - which means you can't record errors against the form (eg. _form.recordError(_firstNameField, "First Name is required.");)
etc, etc.

And I doubt a regular HTML form would post the right URL. Here's some more info:

        
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/forms1

So the choice then is simply between regular instrumentation, eg.

        <t:form t:id="names">

and invisible instrumentation:

        <form t:type="form" t:id="names">

which is explained here:

        
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/lang/previewabletemplates

HTH,

Geoff

On 15/10/2009, at 12:59 PM, Geoff Callender wrote:

On 15/10/2009, at 11:11 AM, Lindsay Ridgeway wrote:

* I'm still not clear when to use "t:" and when not to. For example, could
I have used "form" instead of "t:form"?  I don't know.

http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/lang/previewabletemplates


Reply via email to