Package mondrian.web.taglib


package mondrian.web.taglib
Provides a tag library for embedding MDX queries in JSP pages.

 

Revision $Id$
Copyright Copyright (C) 2002-2005 Julian Hyde
Copyright (C) 2005-2007 Pentaho 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: