[jboss-user] [JBoss Seam] - Redisplaying generated pictures

zakhan do-not-reply at jboss.com
Wed Aug 22 11:16:57 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076926#4076926

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076926



More information about the jboss-user mailing list