Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »


This property has been deprecated in favor of the inline parameters method

Inject the cascaded values into the query used to build the content of a dynamic list.

Class

column

Property

col.xyz.query.param

Formal specification

col.xyz.query.param = <cascading field identifier>

Required

no

Default

none

Version

1.5

Comment


Example

gd.columns=country, city 
 
col.country=Country 
col.country.type=list 
col.country.query=SELECT name, country_id FROM country_tbl 
 
# 
# Cascade the selected value to the city column 
#
col.country.cascade=city 
col.country.query.ds=mysql 
# 
# Use the second parameter of the country query in the city query 
#
col.city=City 
col.city.type=list 
col.city.query=SELECT name, city_id FROM city_tbl WHERE country_id={0} 
col.city.query.param=1
col.city.query.ds=mysql 
datasource.names=mysql ... 

Reference

col.xyz.type = list 
col.xyz.query.param 
col.xyz.query.ds

  • No labels