WAStoreAddressEditor


Seaside-Examples-Store

Comment:

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.

Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
WAFormDialog
WALabelledFormDialog
WAStoreAddressEditor

Summary:

instance variables:

address

methods:

instance class
as yet unclassified no messages

Detail:

instance variables:

address

instance methods:

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)

class methods:

^top


- made by Dandelion -