Hi all,
I have a problem within the formrunner environment with not found page If you look at the Orbeon website there is the bookshelf application and if you go to the url beneath it works fine: http://www.orbeon.com/orbeon/fr/orbeon/bookshelf/new But lets say you make a typo in the url, so u enter the url: http://www.orbeon.com/orbeon/fr/orbeon/bookshelfX/new It gives you a white page, so obviously it seems to do nothing with the settings in the page-flow.xml in the fr subdirectory: <page id="not-found" path-info="/not-found" view="/apps/fr/not-found.xpl"/> <not-found-handler page="not-found"/> Am i overlooking something? How can I make it go to the not-found page (probably some setting I am missing out somewhere) Extra question: I implemented my own persistence layer, so if I call http://localhost:8080/orbeon/fr/orbeon/bookshelf/new it goes to my own rest GET method, in that case I return the xhtml representing the form and that gets rendered by the form runner (so far so good), but what should I return if the requested app/form is non-existing...should i then return an empty string? or throw a certain exception? I hope someone has the answers to this. regards Ramon -- 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 |
Administrator
|
Ramon,
This appears to be a bug. I just entered it: http://forge.ow2.org/tracker/index.php?func=detail&aid=315915&group_id=168&atid=350207 If the form is not found, you should return an HTTP 404 status code (which may or may not have a message body). -Erik On Tue, Mar 29, 2011 at 8:14 AM, Ramon de Beijer <[hidden email]> wrote: > Hi all, > > I have a problem within the formrunner environment with not found page > > If you look at the Orbeon website there is the bookshelf application and if > you go to the url beneath it works fine: > http://www.orbeon.com/orbeon/fr/orbeon/bookshelf/new > > But lets say you make a typo in the url, so u enter the url: > http://www.orbeon.com/orbeon/fr/orbeon/bookshelfX/new > > It gives you a white page, so obviously it seems to do nothing with the > settings in the page-flow.xml in the fr subdirectory: > > <page id="not-found" path-info="/not-found" > view="/apps/fr/not-found.xpl"/> > <not-found-handler page="not-found"/> > > Am i overlooking something? How can I make it go to the not-found page > (probably some setting I am missing out somewhere) > > > Extra question: > I implemented my own persistence layer, so if I call > http://localhost:8080/orbeon/fr/orbeon/bookshelf/new > it goes to my own rest GET method, in that case I return the xhtml > representing the form and that gets rendered by the form runner (so far so > good), > but what should I return if the requested app/form is non-existing...should > i then return an empty string? or throw a certain exception? > > I hope someone has the answers to this. > > regards Ramon > > > > > > -- > 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 > > -- 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 |
Free forum by Nabble | Edit this page |