3 Replies Latest reply: May 20, 2010 3:50 AM by Ioana Iacob RSS

paint2d refresh in IE

Ioana Iacob Newbie

Hi,

 

   I'm going out of my mind trying to figure this out. I'm using a captcha image generated with paint2d and (only) in IE, it does not get refreshed (the paint method is called, the rerendering does not work, I guess). Here's the sample:

 

 

 

<a4j:form id="registerForm" rendered="#{!Bean.registered}">
   <rich:paint2D id="captcha" width="75" height="25" cacheable="false" 
                 data="#{PaintData}" format="gif" paint="#{Bean.paint}" /><a4j:htmlCommandLink action="#{Bean.actionRegister}" reRender="registerForm:captcha">
     <h:graphicImage value="/images/buttons/btSave.png"   title="#{pageMessages.enterButtonLabel}" />
</a4j:htmlCommandLink>
</a4j:form>

 

PaintData is request scoped and Bean is sesison scoped.

Richfaces version :  3.3.2.SR1

 

Thanks.