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

Reply via email to