2 Replies Latest reply on Aug 22, 2007 11:37 AM by Jan Zyka

    Redisplaying generated pictures

    Jan Zyka Newbie

      Hi guys,
      could anybody give me a hand on this, please. I have page which contains 2 graphs, which are generated pictures stored somewhere in my temporary folder on the hard drive. This part of page is enclosed in <a:outputPanel> tag. When I reRender this part using <a:support> the graphs change physically on the hard drive, but not on the page. There are several other items in the same <a:outputPanel> which change properly. The situations looks like this:

       <a:outputPanel id="projectEfforts">
       <h:graphicImage style="border:0" alt="Normal graph" url="#{graphNormalURL}"
       usemap="#chart" />
       <h:outputText escape="false" value="#{normalGraphData.HTMLArea}" />
       <h:outputText escape="false" value="#{normalGraphData.dayDetailsStr}" />
       <br />
       <h:graphicImage url="#{graphCumulativeURL}" alt="Cumulative graph" />
       </a:outputPanel>
      


      For example, I use area tag for the graph to be clickable (#{normalGraphData.HTMLArea} in this example) and this is reloaded in the same function as the graphs. After the ajax call is changed and reRendered properly on the page, but the images are not.

      Many thanks in advance,Z