Alvarano - 2009-08-05

Hi,

I have a problem when I use a the callout tag. My ajax response contains javascript that is never evaluated. Therefore I try to call the eval method with the postFunction parameter, but the method is called only one time when the page is rendered. At the same time the errorFunction is called. I hope you can help me ...

<a href="javascript://nop/" class="link">open</a>
<ajax:callout baseUrl="${contextPath}/TestAjax.do"
                       sourceClass="link"         
                       parameters="method=getContent"                  
                       openEventType="click"
                       preFunction="alert('pre')"
                       postFunction="alert('post')"
     errorFunction="alert('error')"
     title="Test"                            overlib="STICKY, CLOSETEXT, '<img src=images/close.gif />', CLOSECLICK, BGCLASS, 'popup', MODAL, MIDX, 0, MIDY, 0" />