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="sun.jdbc.odbc.JdbcOdbcDriver"
url="jdbc:odbc:mydatasource"
user=""
password=""
query="select * from [Sheet1$]">
<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. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A. All Rights Reserved. Documentation homepage.