Problem with Cewolf

Help
ekreyer
2007-06-11
2013-01-13
  • ekreyer
    ekreyer
    2007-06-11

    Hello,

    I have a problem with Cewolf, I'm using 3 instructions : <cewolf:producer id="pageViews">,

    <cewolf:img ...>  and <%pageViews.getResults();%>
    In an old project, it's working fine, <cewolf:img ...> is activate first.
    But in my new project, <cewolf:img ...> is activate after all html and jsp (so

    <%pageViews.getResults();%> always return null).

    Does anyone have an idee ?

    I'm using eclipse, cewolf-1.0.jar, jfreechart-1.0.5.jar, jcommon-1.0.9.jar and struts2.

    [CODE]
    <%@ taglib uri="/WEB-INF/tld/cewolf.tld" prefix="cewolf"%>
    <jsp:useBean id="pageViews" class="com.abw.graph.Stat"/>
    <cewolf:chart id="stackedVerticalBar3D" title="Notif"
    type="stackedVerticalBar3D" xaxislabel="Commerciaux" yaxislabel="Quantite"
    showlegend="true">
      <cewolf:data>
        <cewolf:producer id="pageViews">
          <cewolf:param name="year" value="2007"/>
        </cewolf:producer>
      </cewolf:data>
    </cewolf:chart>
    <cewolf:img chartid="stackedVerticalBar3D" renderer="cewolf" width="200"
    height="200"/>
    <%Hashtable  table = pageViews.getResults();%>
    [/CODE]