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 stripping off the "S"). Other types use different prefixes. On 5/24/07, Peter Dawn <[EMAIL PROTECTED]> wrote:
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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com