Problem with back and close button in xforms runner

Posted by Olivier Thery on
URL: https://discuss.orbeon.com/Problem-with-back-and-close-button-in-xforms-runner-tp1571494.html

Hi,

As says the comment in file fr\components\buttons.xsl :
"there is a "back" button and a "close" button."Back" takes to the summary page, "close" just closes the window"

1) I have defined button properties in properties-local.xml :
<property as="xs:string"  name="oxf.fr.detail.buttons.MyApp.*"  value="back clear save"/>

  - Back button works fine with Firefox (3.0.10), Google Chrome (4.0.249.89), Safari (4.0.4) : it takes to the summary page
  - but not with ie (7.0) : it doesn't take to summary page but closes the window.

2) When I define button properties like that
<property as="xs:string"  name="oxf.fr.detail.buttons.MyApp.*"   value="close-window clear save"/>
I got an error with all browsers
"Cannot load "/xbl/orbeon/close-window-button/close-window-button.xbl" with webapp loader"

3) When I define button properties like that
<property as="xs:string"  name="oxf.fr.detail.buttons.MyApp.*"   value="close clear save"/>
nothing happens with all browser

So, I think there is a bug with back button in ie7.

What is the right way to enable "close" button ?

Thanks