ProtoObjectObjectWAPresenterWAComponentWALoginDialog
| authenticator | password | username |
| instance | class |
|---|---|
| as yet unclassified | no messages
|
| authenticator |
|---|
| password |
|---|
| username |
|---|
| 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. ] ] |