Re: (no subject)

"Malcolm Edgar" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi Frank,

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.