it's an option of the Form component:

http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html



----- Original Message ----- From: "Izak Wessels" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Monday, February 13, 2006 3:05 PM
Subject: Unknown inserting JavaScript


Hello all,

For some reason, when my page renders it seems to automatically set the
focus to my quotation date textfield.


in my .html template file :
                       <span class="label">
                           Date :
                       </span>
                       <input jwcid="quotationDate" />

in my .page file :
   <component id="quotationDate" type="TextField">
       <binding name="value" value="quotationDate"/>
   </component>

in my .java file :
public abstract String getQuotationDate();

in the my generated .html file :
Tapestry.set_focus('quotationDate');


Anybody have any ideas why?

Thanks

-- Izak

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

Reply via email to