Package mondrian.web.taglib

Provides a tag library for embedding MDX queries in JSP pages.

See:
          Description

Interface Summary
Listener.ApplicationContext  
 

Class Summary
ApplResources holds compiled stylesheets
DOMBuilder transforms a mondrian result into a DOM
Listener Listener creates and destroys a ApplResources at the appropriate times in the servlet's life-cycle.
QueryTag A QueryTag creates a ResultCache object and initializes it with the MDX query.
ResultCache holds a query/result pair in the users session
TransformTag A TransformTag renders the result of a ResultCache object.
 

Package mondrian.web.taglib Description

Provides a tag library for embedding MDX queries in JSP pages.

 

Revision $Id: //open/mondrian/src/main/mondrian/web/taglib/package.html#5 $
Copyright Copyright (C) 2002-2002 Kana Software, Inc.
Copyright (C) 2002-2007 Julian Hyde and others
Author Julian Hyde

Tags

QueryTag and TransformTag.

Example

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/mdxtable.tld" prefix="mdx" %>

<mdx:query name="query1" resultCache="true">
select
  {[Measures].[Unit Sales], [Measures].[Store Cost]} on columns,
  CrossJoin(
    { [Promotion Media].[All Promotion Media].[Radio],
      [Promotion Media].[All Promotion Media].[TV],
      [Promotion Media].[All Promotion Media].[Sunday Paper],
      [Promotion Media].[All Promotion Media].[Street Handout] },
    [Product].[All Products].[Drink].children) on rows
from Sales
where ([Time].[1997])
</mdx:query>

The current slicer is <strong>
  <mdx:transform query="query1"
     xsltURI="/WEB-INF/mdxslicer.xsl"
     xsltCache="true"/>
</strong>.
<p>
  <mdx:transform query="query1"
     xsltURI="/WEB-INF/mdxtable.xsl"
     xsltCache="false"/>
</p>

Known Issues

Dependencies

This package is dependent upon the following other packages:

 

SourceForge.net_Logo