Feature #15
View helper library
Status: | CLOSED | Start date: | 04/29/2011 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Phi | |||
Resolution: | NEEDINFO: |
Description
Define a set of view helpers to produce a uniform and coherent HTML output for UI controls.
For instance, LABEL + text INPUT in HTML forms
Descriptive label [______________] Another label [______________]
See also User interface design documents in Developer Guide
Related issues
Associated revisions
Refs #15. Wrapped fieldsetSwitch into a DIV tag.
Refs #15. Renamed setWrapTag()
into addWrapTag()
.
Is now possible to add multiple wrapping tags.
Refs #15. Fixed missing class
attribute in LINK buttons.
Refs #15. Added DIV wrapper in TableRead. Updated CSS.
Refs #15. Added Tabs renderer helper.
- Restored RemoteAccess missing submodules.
History
#1 Updated by Davide Principi over 10 years ago
- Tracker changed from Bug to Feature
#2 Updated by Davide Principi over 10 years ago
- Target version set to Phi
#3 Updated by Davide Principi over 10 years ago
- Category set to 2
- Start date deleted (
03/25/2011) - Estimated time set to 18.00
#4 Updated by Davide Principi over 10 years ago
- Start date set to 04/14/2011
#5 Updated by Davide Principi over 10 years ago
- % Done changed from 100 to 0
- Estimated time set to 18.00
#6 Updated by Davide Principi over 10 years ago
- Subject changed from View helpers to View helper library
#7 Updated by Davide Principi over 10 years ago
- Start date deleted (
04/14/2011)
#8 Updated by Davide Principi over 10 years ago
- Status changed from NEW to ON_DEV
- Assignee set to Davide Principi
- Priority changed from Normal to High
- Start date set to 04/29/2011
Methods¶
For Controls- TextInput($name, $labelPlacement)
- RadioButton($name, $value)
- CheckBox($name, $value)
- Button($name, $buttonType), buttonType in {SUBMIT, RESET, BUTTON, LINK, CANCEL}
- Tabs($_), $_ nested view names
- Dialog($name, $buttons), $buttons as array of Button arguments
- Form($name)
- Fieldset($name)
Those have been implemented in #90.
#9 Updated by Davide Principi over 10 years ago
- % Done changed from 0 to 80
#10 Updated by Davide Principi over 10 years ago
- Status changed from ON_DEV to CLOSED
- % Done changed from 80 to 100