-
How to bind children proxy into text field as the parent is different in the editor
How to bind children proxy into text field as the parent is different in the editor
I got a scenario which is needed to refer children proxy as editable in the editor has parent proxy. Lets say an example.
class ParentEditor implements Editor<ParentProxy>
{
@UiField
TextField parentId;
@UiField
TextField childrenName; //This is coming from Child proxy of ParentProxy
...
}
interface ParentProxy extends EntityProxy{
String getParentId();
ChildrenProxy getChildren();
...
}
}
[ERROR] [ipde] - Could not find a getter for path childrenName in proxy type com..shared.model.proxy.ParentProxy
Please throw some light on this.
-
The @Path annotation can be used here as in the PropertyAccess types.
Code:
@UiField
@Path("children.name")
TextField childrenName;
See https://developers.google.com/web-to...ditor_contract for more details - this is the same document I linked in your other post (http://www.sencha.com/forum/showthre...ltiple-editors).
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us