You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Krthekeyan Suryanarayanan <kr...@verchaska.com> on 2004/02/12 17:49:30 UTC

Hai - Hidden field problem

Hi all,

How do I go about setting a static value as the value of the hidden field in 
the form.

thanks,
krthekeyan.s

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Hai - Hidden field problem

Posted by Harish Krishnaswamy <hk...@comcast.net>.
If you want to set the value from javascript make sure you set the 
"encode" parameter to false so Tapestry does not try to decode it. The 
default is encode="true".

-Harish

Krthekeyan Suryanarayanan wrote:

>Hi all,
>
>How do I go about setting a static value as the value of the hidden field in 
>the form.
>
>thanks,
>krthekeyan.s
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Hai - Hidden field problem

Posted by Jamie Orchard-Hays <ja...@dang.com>.
<component id="myHiddenField" type="Hidden">
        <static-binding name="value" value="some static value"/>
</component>


----- Original Message ----- 
From: "Krthekeyan Suryanarayanan" <kr...@verchaska.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Thursday, February 12, 2004 11:49 AM
Subject: Hai - Hidden field problem


> Hi all,
>
> How do I go about setting a static value as the value of the hidden field
in
> the form.
>
> thanks,
> krthekeyan.s
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org