WALoginDialog


Seaside-Components-Dialogs

Comment:



Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
WALoginDialog

Summary:

instance variables:

authenticator password username

methods:

instance class
as yet unclassified no messages

Detail:

instance variables:

authenticator
password
username

instance methods:

as yet unclassified
authenticator: anAuthenticator

	authenticator _ anAuthenticator
cancel

	self answer: nil
login

	(authenticator verifyPassword: password forUser: username) ifTrue: [self answer: username]
renderContentOn: html

	html form: [
		html table: [
			html tableRowWithLabel: 'Username:' column: [html textInputWithValue: username callback: [:v | username _ v]].
			html tableRowWithLabel: 'Password:' column: [html passwordInputWithCallback: [:v | password _ v]].
			html attributes alignCenter.
			html tableRowWith: [
				html submitButtonOn: #login of: self.
				html space.
				html submitButtonOn: #cancel of: self] span: 2.
		]
	]

class methods:

^top


- made by Dandelion -