Re: T5 : select component in a form didn't show the selected value [EDIT MODE]

2007-12-21 Thread dwi ardi irawan
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

Re: T5 : select component in a form didn't show the selected value [EDIT MODE]

2007-12-21 Thread dwi ardi irawan
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

Re: T5 : select component in a form didn't show the selected value [EDIT MODE]

2007-12-21 Thread dwi ardi irawan
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)

Re: T5 : select component in a form didn't show the selected value [EDIT MODE]

2007-12-20 Thread Sylwek
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

Re: T5 : select component in a form didn't show the selected value [EDIT MODE]

2007-12-19 Thread Marcelo Lotif
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