Jala 1.3

Class jala.Form.Component.Select

Object
   |
   +--jala.Form.Component.Input
         |
         +--jala.Form.Component.Select
Direct Known Subclasses:
jala.Form.Component.Radio

class jala.Form.Component.Select
extends jala.Form.Component.Input


Subclass of jala.Form.Component.Input which renders and validates a dropdown element.
Defined in Form.js


Constructor Summary
jala.Form.Component.Select (<String> name)
            Constructs a new Select component instance
 
Method Summary
 String checkOptions(<Object> reqData)
           Checks user input for optiongroups: Unless require("checkoptions") has ben set to false, the user input must exist in the option array.
 String checkRequirements(<Object> reqData)
           Validates user input from a dropdown element by making sure that the option value list contains the user input.
 Array parseOptions()
           Creates an array of options for a dropdown element or a group of radiobuttons.
 void renderControls(<Object> attr, <Object> value, <Object> reqData)
           Renders a dropdown element to the response.
 
Methods inherited from class jala.Form.Component.Input
validate, save, getValue, setValue, render, renderError, renderLabel, renderHelp, render_macro, controls_macro, error_macro, label_macro, help_macro, id_macro, name_macro, type_macro, class_macro, getControlAttributes, checkLength, parseValue
 

Constructor Detail

jala.Form.Component.Select

jala.Form.Component.Select(<String> name)

Method Detail

checkOptions

String checkOptions(<Object> reqData)

checkRequirements

String checkRequirements(<Object> reqData)

parseOptions

Array parseOptions()

renderControls

void renderControls(<Object> attr, <Object> value, <Object> reqData)

Jala 1.3

Documentation generated by JSDoc on Tue Jan 8 15:45:31 2008