Feature #15

View helper library

Added by Davide Principi over 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:04/29/2011
Priority:HighDue 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

Related to Nethgui - Feature #13: Language API CLOSED 03/25/2011

Associated revisions

Revision 025a0196
Added by Davide Principi over 10 years ago

Refs #15 #30. Written down an interaction inventory draft.

Revision 058a1aa2
Added by Davide Principi over 10 years ago

Refs #15. Wrapped fieldsetSwitch into a DIV tag.

Revision ce8443a5
Added by Davide Principi over 10 years ago

Refs #15. Renamed setWrapTag() into addWrapTag().

Is now possible to add multiple wrapping tags.

Revision 9e3f863a
Added by Davide Principi over 10 years ago

Refs #15. Fixed missing class attribute in LINK buttons.

Revision c8268515
Added by Davide Principi about 10 years ago

Refs #15. Added DIV wrapper in TableRead. Updated CSS.

Revision be53cf32
Added by Davide Principi about 10 years ago

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}
For Containers
  • 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

Also available in: Atom PDF