Class: RWDLogin

Inherits:
RWDialog show all
Defined in:
lib/rwd/rwd.rb

Instance Method Summary collapse

Methods inherited from RWDialog

#download, #error, #exitbrowser, file, #message, #progressbar, #render, #samewindow?, #serve, #text, #timeout

Constructor Details

#initialize(realm) ⇒ RWDLogin

Returns a new instance of RWDLogin.



1120
1121
1122
# File 'lib/rwd/rwd.rb', line 1120

def initialize(realm)
  super("<window name='main' title='RWD Login for #{realm}' nobackbuttons noclosebutton><table><row><p align='right'>Username:</p><text name='rwd_a'/></row><row><p align='right'>Password:</p><password name='rwd_b'/></row></table><button caption='Login'/></window>")
end