Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.1.0.5
-
None
-
None
Description
PageA<T>{
public T getEntity(){
}
public T setEntity(T entity){
}
.....
}
PageB extends PageA<Member>{
.....
}
When I access ${entity.name} in tml ,PageB works fine.Then I create PageC
PageC extends PageB{
....
}
When I access ${entity.name} in tml of PageC,Exception was thrown:
Class java.lang.Object does not contain a property named 'name' (within property expression 'entity.name). Available properties: class.
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.infoForPropertyNode(PropertyConduitSourceImpl.java:942)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.infoForPropertyOrMethod(PropertyConduitSourceImpl.java:932)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:421)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260)