struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matts" <>
Subject Re: [tiles] Re: Struts tiles cewolf problem
Date Mon, 04 Sep 2006 14:07:38 GMT
My tiles-def.xml looks like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles 
Configuration 1.1//EN"



<!-- layout1: utilizado en la pagina de login -->

<definition name=".layout1" path="/WEB-INF/tiles/layout1.jsp">

<put name="title"/>

<put name="body"/>


<definition extends=".layout1" name="">

<put name="title" value="Greeting"/>

<put name="body" value="/WEB-INF/tiles/body-greeting.jsp"/>



The page that is supposed to show the chart is greeting.jsp wich has the 
body body-greeting.jsp.
greeting. jsp (at web-root/pages):
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<tiles:insert definition=""/>

body-greeting.jsp (at web-inf/tiles):
<%@taglib uri='/WEB-INF/cewolf.tld' prefix='cewolf' %>

<table border="0" cellspacing="0" cellpadding="0">







<jsp:useBean id="pageViews" class="logica.PageViewCountData"/>

<cewolf:chart id="line" title="Page View Statistics" type="line" 
xaxislabel="Page" yaxislabel="Views">


<cewolf:producer id="pageViews"/>



<cewolf:img chartid="line" renderer="cewolf" width="400" height="300"/>


thanks for reply.

----- Original Message ----- 
From: "Antonio Petrelli" <>
To: "Struts Users Mailing List" <>
Sent: Monday, September 04, 2006 10:59 AM
Subject: [tiles] Re: Struts tiles cewolf problem

> Matts ha scritto:
>> Hi, I'm developing a web app with struts, tiles. I want to use cewolf to 
>> render chart. It's work fine if i don't use tiles.
>> The problem is that with tiles the chart are not show.
>> Any one nows how to integrate correctly with tiles??
> Do you use Tiles definitions? If yes can you post them here, along with 
> layout pages and the JSP page supposed to show the chart?
> Do you receive any exception? If yes, can you post them?
> Ciao
> Antonio
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message