Skip navigation links
JViews Chart
Tag mapping
Since JViews 8.0 this tag is deprecated. The preferred way to access business data stored in a JDBC data source is to set the data attribute on the chartView tag.
The mapping component must be nested in a JDBCDataSource tag. It defines the mapping of the x, y and label values of a data set to the corresponding columns of the JDBC query result.
Usage
<jvcf:JDBCDataSource
id="dataSource"
driver="org.relique.jdbc.csv.CsvDriver"
url="jdbc:relique:csv:data:../data"
user=""
password=""
query="select * from csvdemo1">
<jvcf:mapping
id="mapping"
labelColumn="-1"
xColumn="1"
yColumn="2"/>
</jvcf:JDBCDataSource>
...
<jvcf:chartView
id="chart"
dataSourceId="dataSource"/> DHTML - JavaScript Types
This component has no JavaScript representation.
JSF Component Class
IlvFacesJDBCMapping
| Tag Information |
| Tag Class | ilog.views.chart.faces.dhtml.taglib.IlvFacesJDBCMappingTag |
| TagExtraInfo Class | None |
| Body Content | JSP |
| Display Name | JDBC Mapping |
| Attributes |
| Name | Required | Request-time | Type | Description |
| binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean. If this attribute is set, the tag does not create the component itself but retrieves it from the bean property. This attribute must be a value binding. |
| id | false | false | java.lang.String | The ID of this component. |
| labelColumn | false | false | java.lang.String | The database column name or index that contains the labels. |
| xColumn | false | false | java.lang.String | The database column name or index that contains the x values. |
| yColumn | false | false | java.lang.String | The database column name or index that contains the y values. |
| Variables |
No Variables Defined. |
Skip navigation links
© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.