#* ------------------------------------------------------------------ # # Macros that are used for displaying input forms. # *# ------------------------------------------------------------------ #macro (text $text) $text #end #macro (formLabel $label) $label #end #macro (formTextField $name $value) #end #macro (textField $name $value $size) #end #macro (listBox $list) $list #end #macro (formPasswordCell $label $name $value) #formLabel("$label") #end #macro (formReadOnlyCell $label $name $value) #formLabel("$label") $value #end #macro (formCell $label $name $value) #formLabel("$label") #formTextField("$name" "$value") #end #macro (fileUploadField $name) #end #macro (fileUpload "$label" "$name") #formLabel("$label") #fileUploadField("$name") #end #macro (formCheckBox $name $checked) #end #macro (formCheckBox2 $label $name $checked) #formLabel("$label") #end #macro (formListBox $label $list) $label $list #end #* ------------------------------------------------------------------ # # Macros that are used for displaying information in tables. # *# ------------------------------------------------------------------ #macro (headerCell $body) $body #end #macro (entryCell $body) $body   #end #* ------------------------------------------------------------------ # # Macros added for Nebanum # *# ------------------------------------------------------------------ #macro (formTextFieldSize $name $value $size) #end #macro (formCheckBoxEvent $name $checked $event) #end #macro (formFlag $name $checked) #end #macro (formSelect $name $list $selectedValue ) #end #macro (omListBox $list $selectedPrimaryKey) #foreach ($item in $list) #if ($selectedPrimaryKey == $item.getPrimaryKey().getValue()) #else #end #end #end #macro (image $img $w $h) #if ($w == "0") #else #end #end #macro (linkwizard $wizardname $step) $link.setAction("PullAction").addQueryData("wizard","$wizardname").addQueryData("step","$step") #end