[Webwork-devel] ui tag feature
Brought to you by:
baldree,
rickardoberg
|
From: Matt B. <ma...@sm...> - 2001-11-22 01:25:25
|
I have the need to disable some of the form input field controls. This includes being able to disable check boxes, radio buttons, text, text area, etc. I added a passthru attribute that passes the value directly to the template. This allows me to pass DISABLED, READONLY, and other custom form input attributes without having to mimic all their attributes. Is this a common need or is there a more preferred way of doing this? i.e. <ui:textfield label="'Model'" name="'model'" value="@golfCart/cart/model/description" passthru="DISABLED"/> I have implemented and tested for all the ui controls except table and tabbedpane because I don't think it makes sense. Should this feature be standard? Matt |