hey all not sure if anyone has tried using the cewolf taglib for charting in jsf but i am having a very newbie problem hoping someone has used this or another taglib and might know what is going wrong
got a simple page
//screen.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<html>
<head></head>
<body>
<jsp:include page="cewolf/chart.jsp" />
<h:form>
<h:commandButton value="change page" action="#{navBean.changeScreens}"/>
</h:form>
</body>
</html>
</f:view>
//chart.jsp
<%@taglib uri='/WEB-INF/cewolf.tld' prefix='cewolf' %>
<jsp:useBean id="GraphData" class="dataAccess.GraphData" scope="request"/>
<cewolf:chart id="line" title="Page View Statistics" type="line" xaxislabel="Page" yaxislabel="Views">
<cewolf:gradientpaint>
<cewolf:point x="0" y="0" color="#FFFFFF" />
<cewolf:point x="800" y="0" color="#DDDDFF" />
</cewolf:gradientpaint>
<cewolf:data>
<cewolf:producer id="GraphData"/>
</cewolf:data>
</cewolf:chart>
<p>
<cewolf:img chartid="line" renderer="cewolf" width="800" height="600"/>
</p>
with the changeScreens method in my navBean simply returning the string "changeChart"
with a navigation rule as
<navigation-rule>
<from-view-id>/pages/screen.jsp</from-view-id>
<navigation-case>
<from-outcome>changeChart</from-outcome>
<to-view-id>/pages/screen.jsp</to-view-id>
</navigation-case>
</navigation-rule>
my problem is for some reason i can see the chart fine when i first load up the page,
but when i click the command button on the screen.jsp page to reload the page the chart doesn't show up well shows up with a X i.e image not found
anyone know what i have done wrong i am sure it is something simple
i think it has to do with the cewolf taglib storing the chart in the session which cant be found for some reason