Bug #1051

TableController: fix view column names

Added by Davide Principi over 7 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:04/18/2012
Priority:UrgentDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Security class: Resolution:NOTABUG
Affected version:DEV4 NEEDINFO:

Description

Use view variable names for columns instead of datasource prop names.


Related issues

Blocks NethServer 6 - Feature #1050: Add comment/description field in UI CLOSED 04/18/2012

History

#1 Updated by Davide Principi over 7 years ago

Start date set to DEV4 release date

#2 Updated by Davide Principi over 7 years ago

  • Priority changed from Normal to Urgent

#3 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to 8
  • % Done changed from 0 to 100

Parameter/view name can be mapped to the prop name by adding the 4th array element:

  ..
  array('Description', Validate::ANYTHING, \Nethgui\Controller\Table\Modify::FIELD, 'Comment'),
  ..

In this case, Description is the parameter name and Comment is the corresponding prop name.

#5 Updated by Davide Principi over 5 years ago

  • Target version deleted (DEV103)

Also available in: Atom PDF