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 |
Administrator
|
Olivier,
This is a bit confusing: now we have two buttons: * If you declare "close" in the properties, you get a Close button in the UI that tries to close the window. It if can't; it does nothing. * If you declare "back" in the properties, you get a Close button in the UI that tries to close the window. It if can't, it goes back to the summary page. I think we want to remove "back" and have the behavior of "close" be the one of the current "back". This behavior is inspired by what is done in Google Docs: * If you open a document from their summary page, it opens in a new window; closing it closes the window. * If you bookmarked the URL of a document and go directly to that document, closing goes to the summary page. I made this change and updated the wiki with this information. For reference: * RFE: http://forge.ow2.org/tracker/index.php?func=detail&aid=314779&group_id=168&atid=350207 * Updated wiki page: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner This will be included in the next nightly build. Thank you for bringing this up; I hope that this works for you. Alex On Fri, Feb 26, 2010 at 3:15 PM, Olivier Thery <[hidden email]> wrote: > > 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 > > -- > View this message in context: http://n4.nabble.com/Problem-with-back-and-close-button-in-xforms-runner-tp1571494p1571494.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |