[ https://issues.apache.org/struts/browse/WW-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-2100. --------------------------------- Resolution: Cannot Reproduce Please post question on the user list. I didn't noticed the first time around, but you are not using topics to refresh the div, which is the "supported" way of doing it, as there are a few confusing functions in the contentpanel class that look similar, refresh, refreshContent, etc. > Refreshing a div from javascript using dojo fails on subsequent attempts > after first refresh in IE 6.0. It works fine in firefox. > --------------------------------------------------------------------------------------------------------------------------------- > > Key: WW-2100 > URL: https://issues.apache.org/struts/browse/WW-2100 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Affects Versions: 2.0.6 > Environment: Internet Explorer 6.0 > Reporter: santosh yadav > Fix For: 2.1.3 > > > Hi, > I am trying to assign a javascript function to handler event of s:submit with > ajax theme. > Inside javascript, I am trying to do few form validations and then refresh a > div with required action. > It works fine first time in IE 6.0. But once the div is refreshed, doing > same activity next time fails. > If I again refresh the whole page and try then it works. > It works fine in firefox all the time. > P.S: Error is not consistent. I mean, sometime it works couple of times in > succession and then fails. Sometimes it fails after first try. > Please find below javascript function used for reference: > function refreshDiv(widget, node) { > var ajaxResultDiv = dojo.widget.byId('divId'); > ajaxResultDiv.href = 'href'; > ajaxResultDiv.formId = 'formId'; > //some validations > ajaxResultDiv.refresh(); > } > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.