The trick is, the Hidden component can record ANY type of value ... string,
long, Date, Serializable, etc.
The "S" is a prefix used to encode the type of value; when the form is
submitted, this is used to turn the client-side value back into a server
side value (for "S" it's just a matter of stri
PM
To: Tapestry users
Subject: Re: Hidden field contains S
thanks. i read the doc but still couldnt figure it out.
but the encode=false works. thanks a lot for that.
i was trying to save some info in the hidden field, but it actually
shows up when the user goes view-source. is there a way to hide the
thanks. i read the doc but still couldnt figure it out.
but the encode=false works. thanks a lot for that.
i was trying to save some info in the hidden field, but it actually
shows up when the user goes view-source. is there a way to hide the
info but at the same time reference it.
thanks again
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Hidden.html
Peter Dawn wrote:
guys,
i am using tap3. i have a hidden field component.
i have just realised that everytime i store something in it, it
pre-fixes my string with a S. i am not sure what i am doing wrong
here. if i replace
add the attribute:
encode="false"
Robert
On May 24, 2007, at 5/2410:54 PM , Peter Dawn wrote:
guys,
i am using tap3. i have a hidden field component.
i have just realised that everytime i store something in it, it
pre-fixes my string with a S. i am not sure what i am doing wrong
here. if i r
guys,
i am using tap3. i have a hidden field component.
i have just realised that everytime i store something in it, it
pre-fixes my string with a S. i am not sure what i am doing wrong
here. if i replace it with a @TextField it displays the exact string.
but only if I use @Hidden it prefixes S