BBJSP JSON:Ddl Tag (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 17.0 and higher, the ddl tag can be used within a BBJSP Page to generate JSON data that can be processed in Javascript to generate data for an input of type option.
Attributes
Attribute Name |
Description |
Required |
Expression |
Data Type |
---|---|---|---|---|
datasource |
the datasource attribute specified the name of the database to use. |
true |
true |
String |
emptyRow |
the emptyRow attribute specifies that an empty row will be generated. A non-zero value indicates that an empty row should be generated. |
false |
true |
int |
order |
the order attribute specifies the order-by field. |
false |
true |
String |
selectedFieldName |
the selectedFieldName attribute specifies the field that should be used to identify the current selection. |
true |
true |
String |
selectedFieldValue |
the selectedFieldValue attribute specifies the the value of the field used to identify the current selection. |
true |
true |
String |
sort |
the sort attribute specified the sort-order field. |
false |
true |
String |
sql |
the sql attribute specifies the SQL query to be executed. |
true |
true |
String |
Remarks
The JSON Tag Library needs to be referenced in the BBJSP Page
Example
|