1 2 Previous Next 19 Replies Latest reply: Aug 27, 2007 9:13 AM by 594020 Go to original post RSS
      • 15. Re: ADF Faces and BI Graph?
        470068
        See example 88      Dynamically-Updating JSP Graph in JSF Page on Steve Muench blog: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html

        I hope it helps

        Regards
        Kuba
        • 16. Re: ADF Faces and BI Graph?
          510610
          Thanks Kuba.

          I had taken cue from his example to implement the chart. But the problem was I got
          500 Internal Server Error
          avax.servlet.jsp.JspException: data attribute evaluates to null
          at oracle.jbo.html.jsp.graph.GraphTag.doStartTag(GraphTag.java:212)
          at graphs.Graph_jspx._jspService(_Graph_jspx.java:67)
          [graphs/Graph.jspx]

          when including the ChartReport page in another page. Then I found that I had to redefine the page definition components of the Iterator and Graph from the ChartReport's page definition into the main page's Page Definition, where I am including the graph page.

          Now I have a solution for that - but got some other questions on twaeking the Graph...
          :)
          Will post soon. Thanks again.
          • 17. Re: ADF Faces and BI Graph?
            445754
            why don't you just add it into the page like the first person said:

            <f:verbatim>
            <graph:Graph data="${bindings.GraphViewRO1}"
            imageHeight="150"
            imageWidth="300"/>
            </f:verbatim>

            don't forget to add:

            xmlns:graph="/webapp/graph.tld"

            at the top and a servlet mapping in web.xml:

            GraphGeneratorServlet + /folderofyourjspx/GraphGeneratorServlet
            • 18. Re: ADF Faces and BI Graph?
              594020
              hi saranova,
              i used 88th example at http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
              to draw a graph on a adf faces page, (i dont use two pages, one page as in example)
              and i still get
              javax.servlet.jsp.JspException: data attribute evaluates to null
                   at oracle.jbo.html.jsp.graph.GraphTag.doStartTag(GraphTag.java:212)

              error when i run the page.

              Could you please post your solution?

              thanks...
              • 19. Re: ADF Faces and BI Graph?
                594020
                hi asmallgrin,
                i did what you say (as i wrote above) but it didnt work?
                do you have a solution for that?
                i still have javax.servlet.jsp.JspException: data attribute evaluates to null
                     at oracle.jbo.html.jsp.graph.GraphTag.doStartTag(GraphTag.java:212)
                error....

                thanks...
                1 2 Previous Next