Re: T5: Some problem with prob binding

2008-01-17 Thread Foror
I have solved a problem. In Team changed setId(String id) to setId(Object id) when ok. F> In the project there is a following: F> public interface ISimpDesc { F>public getId(); F> } F> public class Team implements ISimpDesc { F> // hibernate annotations F> @DocumentId F>

Re: T5: Some problem with prob binding

2008-01-15 Thread Howard Lewis Ship
I see two problems: 1) setId(T) should be type void, not String. 2) Tapestry is not currently aware of generics, so everywhere you see type T in your class, Tapestry sees java.lang.Object. There's an issue about handling this better, but its very tricky. On Jan 15, 2008 2:27 AM, Davor Hrg <[EMA

Re: T5: Some problem with prob binding

2008-01-15 Thread Davor Hrg
it happens after submit bacuse when renderring filed needs getter to render value, after submit the binding expression "team.id" is evaluated to populate value received through form submit it is then that setter is needed, hence error only then you probabla should add public void setId(T id); to

T5: Some problem with prob binding

2008-01-15 Thread Foror
In the project there is a following: public interface ISimpDesc { public getId(); } public class Team implements ISimpDesc { // hibernate annotations @DocumentId @Id @MinLength(min=2) @MaxLength(max=50) @Pattern(regex="[\\w-]+") private Stri