0 Replies Latest reply on Feb 22, 2008 7:37 AM by Adi Katz

    Bug in Paint2D cacheable ?

    Adi Katz Novice

      I have a Paint2D object with no data or value attributes specified
      as it is painted by a stand alone algorithm requires no external data.
      so my paint(Graphics2D g2d, Object obj) method always gets obj=null

      The Paint2D object will not reRender and the paint method will not be called
      although I specified cacheable=false

      When I use a value=constant, the paint2d object will reRender only once and will ignore subsequent ajax requests.

      When I use a data attribute which is bound to a random number ( so I have a different object each call ) the paint2d object works fine