Setting the encode parameter is used for special cases where you want raw string value to be passed. For normal objects like Integer dont set the encode value and it will default to false.
regards Malcolm
From: Frank Liu <[EMAIL PROTECTED]> To: Tapestry <[EMAIL PROTECTED]> Subject: [Tapestry-developer] (no subject) Date: Thu, 21 Nov 2002 17:44:19 -0800 (PST)I will hidden an object, say StudentPrimaryKey, which definition is the following, public class StudentCoursePrimartKey( private String StudentID; private Integer itemno; public StudentCoursePrimartKey(String StudentID, Integer itemno){ ... } } My page specification like this, ... <component id="primaryKey" type="Hidden"> <binding name="value" expression="primaryKey"/> <field-binding name="encode" field-name="Boolean.TRUE"/> </component> ... After the form submits, the primaryKey is still null, why? Anyway, how to define its component specification when I want to hidden an specific object. Thanks Frank __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus � Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer
