Hithesh, I was looking at your post, which uncovered documentation
which I haven't been able to find. Thanks for that. Orbeon documentation is really disorganized. At this point I only see one option, though I'm still looking for some other alternative. In properties-form-runner.xml, I customize these options... <property as="xs:string" name="oxf.fr.detail.buttons.*.*" value="submit"/> <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.myapp.*.data" value="http://localhost:8888/myapp/de/form"/> <property as="xs:boolean" name="oxf.fr.detail.submit.content-from-persistence.myapp.*" value="true"/> <property as="xs:string" name="oxf.fr.detail.submit.buttons.myapp.*" value="go"/> <property as="xs:string" name="oxf.fr.detail.submit.go.uri-xpath.myapp.*" value="//success"/> Then I implement a restful service on my end, which accepts a PUT for this url. /myapp/de/form/crud/{yourAppName}/{formName}/data/{formId}/data.xml You can then return html and because the oxf.fr.detail.submit.content-from-persistence.myapp.* option is set, it'll show the html in the modal submit dialog. This is still not great, but it works. Then your oxf.fr.detail.submit.go.uri-xpath.myapp.* specifies the xpath expression which points towards your model element which has the url to redirect to. Once the user hits OK on the dialog, they are redirected. You can also of course return a link in your html. I'm now looking how to customize the dialog button text value as well as I hate the fact that the form says "Saved data". I need to figure out a way to get rid of that message, because in our case, we're not saving anything, rather we're making a decision based on filled out data and then returning the result. I'm forwarding this to the list in hopes that someone can direct me towards the customization of these components before I scour the whole wiki. Ilya On Thu, Jul 2, 2009 at 11:20 AM, <[hidden email]> wrote: > Hi Ilya > > were you able to find a solution on how to customize submits on orbeon form runner? advice me if you had crossed that hurdle > > thanks > hithesh > -- 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 |