class MyRendererPassword
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint(dpblnt@gmail.com)
Attributes
item[RW]
pc[RW]
Public Class Methods
new(pc)
click to toggle source
Calls superclass method
# File lib/FormHolder/Form/InputHolder/Password.rb, line 8 def initialize(pc) @pc=pc super() self.visibility=false # self.editable=true end
Public Instance Methods
parentM()
click to toggle source
# File lib/FormHolder/Form/InputHolder/Password.rb, line 26 def parentM pc.parentM end
parentselected()
click to toggle source
# File lib/FormHolder/Form/InputHolder/Password.rb, line 22 def parentselected pc.parentselected end
text()
click to toggle source
Calls superclass method
# File lib/FormHolder/Form/InputHolder/Password.rb, line 16 def text np=Digest::MD5.new np << super np.hexdigest.to_s end
update(new_value=item['default'])
click to toggle source
# File lib/FormHolder/Form/InputHolder/Password.rb, line 33 def update(new_value=item['default']) run_events(item['id'],'form_item-BeforeUpdate') item['default']=new_value pc.run_query set_text(item['default']) run_events(item['id'],'form_item-AfterUpdate') end