21 Sep 2011 2:08 AM #1
Answered: DataBinding with Subclass
I've a DTO which extends BaseModel. These DTO contains another DTO which also extends BaseModel.
On my FormPanel I want to show Attributes from both DTO's how can I access attributes from the SubDTO?
PersonDTO extends BaseModel
CityDTO extends BaseModel
My view only knows PersonDTO directly.
How to bind the attributes of CityDTO?
Thanks in advance
Have you tried to do something like "city.postalCode"?