Package pyforms :: Package web :: Package Controls :: Module ControlFile |
[hide private]
[frames] | no frames]

# Source Code for Module pyforms.web.Controls.ControlFile

    1  from pyforms.web.Controls.ControlBase import ControlBase
    2
    3 -class ControlFile(ControlBase):
    4
    5 -    def initControl(self):
    6          values = ( self._label, self._name, self._value, self.help )
    7          return "controls.push(new ControlFile('%s', '%s', '%s', '%s'));" % values
    8