I'll describe my problem better:
The main goal of my task is a workflow of a contract signing.
interface ContractProxy extends ValueProxy{
CustomerProxy getCutomer();
void setCustomer(CustomerProxy customer);
AddressProxy getAddress();
void setAddress(AddressProxy address);
List<ItemProxy> getItems();
void setItems(List<ItemProxy> items);
}
<https://lh3.googleusercontent.com/_aoD2oLHFruo/TUE9VIJVPUI/AAAAAAAAAbA/E-WaHiebbq0/2011-01-27%2009.38.23.jpg>
1. Loading empty contractProxy
- creating contractRequest
- editing the proxy in ContractEditor (Zone 4) (editor.edit(contracProxy
,contractRequest))
2. Zone 1 (Customer Editor) :
- set customer data
- persist the customer by customerRequest
3. Zone 2 (AddressEditor)
- set address data
- persist the street from the address by addressRequest
4. Zone 3 (ItemListEditor)
- dynamically add/remove new item
- set each item data
5. Zone 4 (ContractEditor) - all data must be flush from the editor and
persist by contractRequest.
That doesn't work for me.
How to organize my objects to accomplish my task?
Do I have to pass contractRequest to every sub-editor?
Can I use same contractRequest to persist other objects in same workflow?
Any suggestions?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.