# View Object - Show data Tag

Renders canonical XML data from a business components view object and optionally any number of levels of related, view-linked view objects.

#### Action Handler Class

oracle.xml.xsql.ViewObject

#### Syntax

      <xsql:action  handler="oracle.xml.xsql.ViewObject"
                             name="SomeView"
                             appmodule="fully.qualified.AppModuleName"
                             connname="someconnection"/>

Legal values for connname are any XSQL connection definitions that reside in the XSQLConfig.xml file found in the server classpath. In JDeveloper, this will typically be in J:\lib\XSQLConfig.xml (with J:\ being the JDeveloper installation home).

The name attribute must be the name of a view usage in the application module.

This approach (using connname) uses Business Components for Java in local mode exclusively.

Alternatively, a user can use Business Components for Java application module configurations to specify the connection information for the application module. In this case, the connname attribute must not appear, and instead the configname attribute appears in its place:

      <xsql:action  handler="oracle.xml.xsql.ViewObject"
                             name="SomeView"
                             appmodule="fully.qualified.AppModuleName"
                             configname="someconfigname"/>

The legal values for configname are the configurations defined in the bc4j.xcfg file which resides in the ./common subdirectory of the package directory for the package in which the application module resides. So, if the application module is "a.b.c.MyModule" then the valid confignames will be in file ./a/b/c/common/bc4j.xcfg in the runtime classpath.

Related topic

View Object - Show data Tag Properties