JViews Chart
Tag JDBCDataSource


Not a visual component

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.

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

IlvFacesJDBCDataSource



Tag Information
Tag Classilog.views.chart.faces.dhtml.taglib.IlvJDBCDataSourceTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameJDBC Data Source

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.StringThe 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.
driverfalsefalsejava.lang.StringThe JDBC driver class name.
idtruefalsejava.lang.StringThe ID of the component.
passwordfalsefalsejava.lang.StringThe user password.
queryfalsefalsejava.lang.StringThe query to the database.
resultSetfalsefalsejava.lang.StringSets the binding to the result set to use. If this attribute is set, the other ones are not used.
urlfalsefalsejava.lang.StringThe database URL.
userfalsefalsejava.lang.StringThe user name.

Variables
No Variables Defined.


© Copyright Rogue Wave Software Inc. 1997, 2028. All Rights Reserved.