Hi,
I am using default-submission for a "GETable" page to extract parameters from the URL/path which then are used to configure the model and the view for the page. Now, I'd like to handle user actions on that same page using the approach described in the orbeon documentation, i.e. with action/result elements and conditions evaluated over the posted-back xml submissions. It seems however that the default-submission defined for the page overrides the posted-back xml instance. Is this approach supposed to work, or I am supposed to use either the default-submission OR the external xml submission for a page? Thanks, Mats -- 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 |
> Hi, > > I am using default-submission for a "GETable" page to extract parameters from > the URL/path which then are used to configure the model and the view for the > page. Now, I'd like to handle user actions on that same page using the approach > described in the orbeon documentation, i.e. with action/result elements and > conditions evaluated over the posted-back xml submissions. It seems however > that the default-submission defined for the page overrides the posted-back xml > instance. > > Is this approach supposed to work, or I am supposed to use either the > default-submission OR the external xml submission for a page? handle many aspects of http, however, XForms has a load element http://www.w3.org/TR/xforms11/#action-load also, the attribute replace="all" on submission that will make the browser load a new page. With replace="none" you can post your xml data to any url as long as it returns xml (e.g. a webservice). So, the posted data can be handled by a separate XPL pipeline in the background. --Hank Institute for Crustal Studies -- 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 |
In reply to this post by Mats Eklund-2
-- 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
|
Mats,
It is supposed to work, in the sense that the default submission document is only used if no document is posted to the page, which is what you would like to have. Or am I misunderstanding your comment? Alex |
In reply to this post by Mats Eklund-2
-- 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 |
Still having problem with this!!! It works with Opera, but not with Firefox nor Firefox RESTTest plugin! I am POSTing an xml document to a page that is configured with an xslt-view and no model. In the xslt stylesheet I am attempting to read the posted xml document via the doc('input:instance'), but it only gives me a null document! Any clue? Mats From: Mats Eklund <[hidden email]> To: [hidden email] Sent: Saturday, June 20, 2009 9:18:03 AM Subject: [ops-users] Re: Re: Re: default-submission
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 |
Administrator
|
Mats,
Can you share with us a simple/minimal example that shows what you are talking about? Alex |
Free forum by Nabble | Edit this page |