JViews Chart
Tag mapping


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 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 Classilog.views.chart.faces.dhtml.taglib.IlvFacesJDBCMappingTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameJDBC Mapping

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.
idfalsefalsejava.lang.StringThe ID of this component.
labelColumnfalsefalsejava.lang.StringThe database column name or index that contains the labels.
xColumnfalsefalsejava.lang.StringThe database column name or index that contains the x values.
yColumnfalsefalsejava.lang.StringThe database column name or index that contains the y values.

Variables
No Variables Defined.


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