| |||||||
| FRAMES NO FRAMES | |||||||
![]()  |  
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 JDBC data source faces component provides access to the business data stored in a JDBC data source that is to be displayed in a chart view faces component. It exposes an IlvJDBCDataSource as a JSF component.
<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"/> This component has no JavaScript representation.
| Tag Information | |
| Tag Class | ilog.views.chart.faces.dhtml.taglib.IlvJDBCDataSourceTag | 
| TagExtraInfo Class | None | 
| Body Content | JSP | 
| Display Name | JDBC Data Source | 
| 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. | 
| driver | false | false | java.lang.String | The JDBC driver class name. | 
| id | true | false | java.lang.String | The ID of the component. | 
| password | false | false | java.lang.String | The user password. | 
| query | false | false | java.lang.String | The query to the database. | 
| resultSet | false | false | java.lang.String | Sets the binding to the result set to use. If this attribute is set, the other ones are not used. | 
| url | false | false | java.lang.String | The database URL. | 
| user | false | false | java.lang.String | The user name. | 
| Variables | No Variables Defined. | 
  | |||||||
| FRAMES NO FRAMES | |||||||