primefaces 2.1 can not refresh a intergrate jfreecharte

UI Components for JSF
Post Reply
darkcloud8027
Posts: 102
Joined: 20 Jan 2010, 13:36

26 Jul 2010, 16:01

the following code
<h:outputLabel value="Select Period From: "/>
<h:selectOneMenu value="#{test.startDate}">
<f:selectItems value="#{test.adataset}" />
<p:ajax actionListener="#{test.startRankingChanged}" event="change" update="aaPic, adataTable" />
</h:selectOneMenu>
...............
<h:panelGroup id="rankinggroup1">
<p:graphicImage id="aaPic" value="#{testBean.achart}" />
<p:dataTable id="adataTable" ....................
...............................
</h:panelGroup>

in primeface 2.0.2, when I pick up a date in selectOneMenu, the aaPic and adataTabke were reploted.
however in primeface 2.1.0, when I pick up a date in selectOneMenu, the aaPic will not be reploted but dataTable still work properly.

Could anybody give me some hints.

Thanks

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Jul 2010, 17:01

I've implemented a similar case lately, maybe you need to set cache to false on p:graphicImage if browser is caching the dynamic image.

darkcloud8027
Posts: 102
Joined: 20 Jan 2010, 13:36

26 Jul 2010, 17:44

thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests