Opened 13 years ago

Closed 13 years ago

#211 closed task (fixed)

QueryOnClickWizard - new widget

Reported by: adube Owned by:
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc:

Description

Task

Create a new widget that automatically creates and configures the following widgets :

  • QueryOnClick
  • VectorLayer
  • ResultVectorLayer

More details

  • Each widget will have pre-defined default option values
  • New upcoming widgets will be added to this stack as well in a near future
  • The widgets included don't have to be in the config at all, but need to be included in the xslt template file.
  • The creation of the widget will take place in core (php), probably in the 'linkResource' method.

Change History (2)

comment:1 by adube, 13 years ago

Summary: QueryFilter - new widgetQueryOnClickWizard - new widget

comment:2 by adube, 13 years ago

Resolution: fixed
Status: newclosed

r1022, featuring :

  • PGSQLMapContextConfig : 'linkResource' method now always send a reference to the config object
  • new QueryOnClickWizard which does all the features mentioned in the ticket description above, plus the following :
    • 'iconCls' option to set the QueryOnClick according option
    • 'layerName' option to set the VectorLayer 'title' option
  • documentation
  • sample (using PGSQLMapContextConfig driver)

Only supported by PGSQLMapContextConfig

This widget is only supported by th PGSQLMapContextConfig driver and was tested with 'legacy': true. With 'legacy': false, since the 'shiftKey' is used as the multipleKey, then the multiple query doesn't work (see #209).

Done.

Note: See TracTickets for help on using tickets.