Opened 13 years ago

Closed 13 years ago

#296 closed enhancement (fixed)

PGSQLMapContextConfig - limit edit widgets

Reported by: adube Owned by:
Priority: minor Milestone:
Component: server Version:
Keywords: Cc:

Description

Currently, there's only the 'editable' option to set to have all edit widgets linked to the resource. It would be nice to have more flexibility using more resource options.

Change History (1)

comment:1 by adube, 13 years ago

Resolution: fixed
Status: newclosed

r1142, featuring :

  • new 'editType' resource option.
    • when not set, all editfeature widgets are linked
    • when set (can be one or more times), only according widgets are linked
  • see PGSQLMapContextConfig driver resource options documentation for more details
  • also includes a fix to allow resource-bound widgets to be skipped from being linked to a resource if the according linkResource method returns false
  • these 5 editfeature widgets now support this option :
    • create
    • update
    • delete
    • copy
    • drag
  • split -> excluded since it uses the 'splittable' resource option. We could deprecate that option and set it to 'editable' as well and make it support the 'editable' and 'editType' options.

Fixed.

Note: See TracTickets for help on using tickets.