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="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 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.


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.