Isn't this a simple typo? you have property named 'gender' not 'genger' in profileDO.
Cheers, Olaf 2011/9/27 Taha Hafeez Siddiqi <tawus.tapes...@gmail.com> > Hi > > Two things. > > 1) why is there a gengerEnum property in Update.java when it is not in use > ? > > 2) Is there a setter/getter for genger in ProfileDO ? > > regards > Taha > > On Sep 27, 2011, at 8:40 PM, Olga wrote: > > > Hello, i have this problem. > > > > I have object Profile, this object has field > > private GenderEnum gender; > > > > When i need update Profile, i create form: > > > > Update.tml > > > > <tr> > > <th>Gender:</th> > > <td> > > <t:select t:type="select" t:id="gengerEnum" t:model="gengeres" > > t:value="profileDO.genger"/> > > </td> > > </tr> > > > > Update.java > > > > @Persist > > private ProfileDO profileDO; > > private GenderEnum gengerEnum; > > > > public SelectModel getGengeres() { > > return new EnumSelectModel(GenderEnum.class, messages); > > } > > > > public GenderEnum getGengerEnum() { > > return gengerEnum; > > } > > > > public void setGengerEnum(GenderEnum gengerEnum) { > > this.gengerEnum = gengerEnum; > > } > > > > Genger can be select o not. The problem is when i try to go to Update > page i > > have this error: > > > > Exception assembling root component of page Update: Could not convert > > 'profileDO.genger' into a component parameter binding: Exception > generating > > conduit for expression 'profileDO.genger': Class > > com.htc.identity.domain.model.ProfileDO does not contain a property (or > > public field) named 'genger'. > > > > > > What i do wrong? > > Thanks. > > > > > > > > -- > > View this message in context: > http://tapestry.1045711.n5.nabble.com/Value-of-select-type-tp4845726p4845726.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >