hi it works i just changed like this :
tr
tdt:label for=clubSelect//td
tdnbsp;/td
tdt:select t:id=clubSelect model=clubSelectionModel value=
Player.club encoder=clubValueEncoder label=Club//td
/tr
cos in the player object contains club object (i'm using iBatis+Spring for
ir works with the that one, but i'm still curious bout how implemented it
inside aq form...
Hmmm
I already override the equals method but still didn't work
On Dec 21, 2007 4:30 AM, Sylwek [EMAIL PROTECTED] wrote:
Hi,
will it be possible to use in this case BeanEditForm with component
and also overide the equals method :
public boolean equals(Object object) {
if (!(object instanceof Club)) {
return false;
}
Club obj = (Club) object;
return new EqualsBuilder()
.append(this.idClub, obj.idClub)
Hi,
will it be possible to use in this case BeanEditForm with component
Select ?
Something like this:
t:beaneditform object=player
t:parameter name=club
t:label for=club/
t:select t:id=club model=clubSelectionModel value=player.club
encoder=clubValueEncoder/
/t:parameter
Hi,
Try to override the equals() method from the Object on your Club class
2007/12/19, Penyihir Kecil [EMAIL PROTECTED]:
Hi...
i got another problem here, using select component inside a form.
well, when it's on add modeit works to add new entry in the
database.
but when i try to