A component for editing WAStoreAddress instances. When called, it will create a new address instance, present a form for the user to modify it, and then answer the instance on submit. Used by WAStoreTask>>getBillingAddress and getShippingAddress.
ProtoObjectObjectWAPresenterWAComponentWAFormDialogWALabelledFormDialogWAStoreAddressEditor
| address |
| instance | class |
|---|---|
| as yet unclassified | no messages
|
| address |
|---|
| as yet unclassified |
|---|
| countries |
^ #(Canada USA) |
| initialize |
address _ WAStoreAddress new. super initialize. |
| model |
^ address |
| ok |
self answer: address |
| renderCountryOn: html |
html selectFromList: self countries selected: address country callback: [:v | address country: v] |
| rows |
^ #(name street city country) |