Re: Editors with 2 forms
Any idea over the problem?, all examples that I view, the sub-editors are just Widgets without one Activity, and the principal widget is also a Editor that is managed by your Activity or Presenter.
EntityBaseWidget is the principal widgets that have a logical list of Address, not a widget which represents a AddressList as a CellWidget or AddressEditor in the same page to to charge the list , only have a link to the new place ( NewAddressPlace ).
This place resulting in starting of Activity for Address and the initializations of AddressView respectively, that is a Editor in itself.
The Address entity need the EntityBase entity to be stored, but EntityBase not yet been saved, the idea is to link addresses charged in AddressView with the logical list in EntityBaseWidget
ie, that in some way by Editors can link each address charged with EntityBaseWidget logical address list.
1) I do not know whether to put a AddressWidget as sub-editor in EntityBaseWidget, but the beginning of AddressWidget is not the classic, is with the start method of an activity.
2) or in any way possible, share the editor context between views, and the worflow in EntityBaseWidget in combination with EntityCaseActivity handle the saving of everything (Address and EntityBase).
thanks --
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/8p6wQJAHyPQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home