How to pass action document to page

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to pass action document to page

Shaw, Richard A
How to pass action document to page

Does anybody know of the easiest way to pass the action document into my page.

My action searches for items in a list and resturns the matches. If there is a single match I show the results page, if there is > 1 match then I want the user to select one of them so I need to pass these into 'select one' page.

Do I have to add it my my instance document ? (I know how do this).

Can I copy it to the data document that the page recieves ? (This is what I would prefer).

Thanks in advance

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom
KT18 5BW

Direct Dial.: +44 (0) 1372 756407
Switchboard:  +44 (0) 1372 726140
Fax:          +44 (0) 1372 740055
www.atkinsglobal.com/transportsystems





This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to pass action document to page

Alessandro  Vernet
Administrator
On 3/24/06, Shaw, Richard A <[hidden email]> wrote:
> Do I have to add it my my instance document ? (I know how do this).
> Can I copy it to the data document that the page recieves ? (This is what I
> would prefer).

Richard,

You need to copy the "data" output of your model it in the instance,
because the "data" output of the action is only available in XUpdate
in the page flow.

Alex



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: How to pass action document to page

Shaw, Richard A
In reply to this post by Shaw, Richard A
I just read this reply again and realised that I am copying the data in an xslt tranformation on the page-flow, so it seems that the action document is available to all transformations on the page-flow. If anybody was wondering.


Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom
KT18 5BW

Direct Dial.: +44 (0) 1372 756407
Switchboard:  +44 (0) 1372 726140
Fax:          +44 (0) 1372 740055
www.atkinsglobal.com/transportsystems



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: 28 March 2006 00:09
To: [hidden email]
Subject: Re: [ops-users] How to pass action document to page

On 3/24/06, Shaw, Richard A <[hidden email]> wrote:
> Do I have to add it my my instance document ? (I know how do this).
> Can I copy it to the data document that the page recieves ? (This is
> what I would prefer).

Richard,

You need to copy the "data" output of your model it in the instance, because the "data" output of the action is only available in XUpdate in the page flow.

Alex



This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150)


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws