Hai all, in my code i am trying to get xpl output to the next page .I have tried scope generator and serializer.Is there any alternative to achieve this. THANKS & REGARDS SATHISH K MITTAPELLI
Chat on a cool, new interface. No download required. Click here. -- 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 sathish,
> in my code i am trying to get xpl output to the next page .I have tried > scope generator and serializer.Is there any alternative to achieve this. What do you mean by getting the output to the next page? Should the XPL create an (x)html output that gets sent to the browser, or do you want to submit the XPL output to an xforms page? To create and send html output to the client, you can use an page-flow entry that defines simply a view referencing the XPL that creates the HTML output: <page id="readonly" path-info="/readonly" view="services/readonly.xpl" /> The readonly.xpl should have an output named data, so the processor that creates the output effectively passes his work to this XPL output. Regarding XPL submissions, the documentation contains a lot of stuff: http://www.orbeon.com/ops/doc/reference-page-flow#xml-submission Usually, you will have to define a model and a view in your page-flow. The model points to your xpl creating the output to submit to the Xform, and the view references the xform itself. You don't need to use the scope or to serialze the data manually - just create an XPL output named instance, the output then soupd be available in the xforms using the instance input: doc('input:instance') HTH florian -- 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 Florian, I meant that i am trying to pass the out put from XPL to a new XHTML page as instance.So that i can use that instance to retrive data from the data base. Florian Schmitt <[hidden email]> wrote: hi sathish, THANKS & REGARDS SATHISH K MITTAPELLI
Chat on a cool, new interface. No download required. Click here. -- 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 sathish,
> I meant that i am trying to pass the out put from XPL to a new XHTML > page as instance.So that i can use that instance to retrive data from > the data base. This is explained in the documentation, too: http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance-initialization-pfc HTH florian PS: please put your reply _under_ the cited text - this way it's easier to read messages with multiple citations on different citation levels. -- 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 |