You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Izak Wessels <po...@gmail.com> on 2006/02/14 00:05:55 UTC
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
Re: Unknown inserting JavaScript
Posted by Izak Wessels <po...@gmail.com>.
yea, got it. thanks.
<grumble>mailing lists that doesn't send you an email so you can reply and
tell
everybody that you have found the fix.
On 2/14/06, Daniel Lydiard <dl...@hotmail.com> wrote:
>
> it's an option of the Form component:
>
> http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html
>
>
>
> ----- Original Message -----
> From: "Izak Wessels" <po...@gmail.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> 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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: Unknown inserting JavaScript
Posted by Daniel Lydiard <dl...@hotmail.com>.
it's an option of the Form component:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html
----- Original Message -----
From: "Izak Wessels" <po...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org