(no subject)

Frank Liu <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
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
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.