(So Urgent) Passing some parameters to the xform from some external application

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

(So Urgent) Passing some parameters to the xform from some external application

Nafise
This post was updated on .
Hi,

there's a situation which I want to call my xform from an external application and I need to pass some parameters to my xform.
I wonder if there is any way to read the key/value parameters from the url?!

For instance,
http://localhost:8080/orbeon/xfroms-test?username=nafise
is it possible to retrieve the username value from the url?!

or at the whole is there any way to call the xform from some other application and passing some parameters to it?!

Cheers,
Nafise
Reply | Threaded
Open this post in threaded view
|

Re: Passing some parameters to the xform from some external application

Nafise
In oreder to read parameters from  http://localhost:8080/orbeon/xforms-file/?item=12&count=10 I have created a test application  

in WEB-INF\resources\apps\xforms-file and it has three files as follows:

1. page-flow.xml :

<config xmlns="http://www.orbeon.com/oxf/controller"
        xmlns:oxf="http://www.orbeon.com/oxf/processors">

    <page path-info="/xforms-file/" view="view.xhtml" default-submission="parameters.xml">
        <setvalue ref="/submission/item" parameter="item"/>
        <setvalue ref="/submission/count" parameter="count"/>
    </page>

    <epilogue url="oxf:/config/epilogue.xpl"/>
</config>

------------------------------------------

2. parameters.xml :

<submission>
<item/>
<count/>
</submission>

------------------------------------------

3. view.xhtml:

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xhtml="http://www.w3.org/1999/xhtml"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<head>
    <xforms:model>
        <xforms:instance id="submission-instance">
            <xi:include href="parameters.xml"/>
           
        </xforms:instance>
    </xforms:model>
</head>

<body>
      <xforms:input ref="/submission/item">
        <xforms:label>Item</xforms:label>
      </xforms:input>
      <xforms:input ref="/submission/count">
        <xforms:label>Number of orders</xforms:label>
      </xforms:input>
</body>
</html>

Browing both http://localhost:8080/orbeon/xforms-file/  and  http://localhost:8080/orbeon/xforms-file/?item=12&count=10 will produce empty fields. As it seems, I have missed some parts to make it work.

Thanks in advanced and I do look forward to hearing from you.
NAfise









Nafise wrote
Hi,

there's a situation which I want to call my xform from an external application and I need to pass some parameters to my xform.
I wonder if there is any way to read the key/value parameters from the url?!

For instance,
http://localhost:8080/orbeon/xfroms-test?username=nafise
is it possible to retrieve the username value from the url?!

or at the whole is there any way to call the xform from some other application and passing some parameters to it?!

Cheers,
Nafise
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Hank Ratzesberger
In reply to this post by Nafise

Nafise,

The request-generator

http://www.orbeon.com/ops/doc/processors-generators-request

is one way to read the parameters.  Your page would need a model
attribute, pointing to an xpl file that will run the request
generator and aggregate along with any other data your page
needs.

--Hank

On Jan 14, 2008, at 6:26 AM, Nafise wrote:

>
> Hi,
>
> there's a situation which I want to call my xform from an external
> application and I need to pass some parameters to my xform.
> I wonder if there is any way to read the key/value parameters from  
> the url?!
>
> For instance,
> http://localhost:8080/orbeon/xfroms-test?username=nafise
> is it possible to retrieve the username value from the url?!
>
> or at the whole is there any way to call the xform from some other
> application and passing some parameters to it?!
>
> Cheers,
> Nafise
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14772273.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Nafise
Hank,

Thanks. Have you seen my second post as well?

Nafise


Hank Ratzesberger wrote
Nafise,

The request-generator

http://www.orbeon.com/ops/doc/processors-generators-request

is one way to read the parameters.  Your page would need a model
attribute, pointing to an xpl file that will run the request
generator and aggregate along with any other data your page
needs.

--Hank

On Jan 14, 2008, at 6:26 AM, Nafise wrote:

>
> Hi,
>
> there's a situation which I want to call my xform from an external
> application and I need to pass some parameters to my xform.
> I wonder if there is any way to read the key/value parameters from  
> the url?!
>
> For instance,
> http://localhost:8080/orbeon/xfroms-test?username=nafise
> is it possible to retrieve the username value from the url?!
>
> or at the whole is there any way to call the xform from some other
> application and passing some parameters to it?!
>
> Cheers,
> Nafise
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14772273.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Nafise
In reply to this post by Hank Ratzesberger
Hank,

I followd the instructions. In order to read "return-url" parameter form http://localhost:8080/orbeon/readurl/?return-url=SOS ,  I've created page-flow.xml & read-uri.xpl as follows:

page-flow.xml 
<config xmlns="http://www.orbeon.com/oxf/controller" xmlns:oxf="http://www.orbeon.com/oxf/processors">
        <page path-info="/readurl/" view="view.xhtml" model="read-url.xpl"/>
        <epilogue url="oxf:/config/epilogue.xpl"/>
</config>

read-uri.xpl
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors">
        <p:processor name="oxf:request">
                <p:input name="config">
                        <config>
                                <include>/request</include>
                        </config>
                </p:input>
                <p:output name="data" id="request"/>
        </p:processor>
</p:config>


actually, I don't know how I could access the request data in view.xhtml. I've tried this:
 
view.xhtml
<html xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
        <body>
                parameter value: <xsl:value-of select="request/parameters/parameter[name = 'return-url']" />
        </body>
</html>


any help would be warmly appreciated,
Nafise




Hank Ratzesberger wrote
Nafise,

The request-generator

http://www.orbeon.com/ops/doc/processors-generators-request

is one way to read the parameters.  Your page would need a model
attribute, pointing to an xpl file that will run the request
generator and aggregate along with any other data your page
needs.

--Hank

On Jan 14, 2008, at 6:26 AM, Nafise wrote:

>
> Hi,
>
> there's a situation which I want to call my xform from an external
> application and I need to pass some parameters to my xform.
> I wonder if there is any way to read the key/value parameters from  
> the url?!
>
> For instance,
> http://localhost:8080/orbeon/xfroms-test?username=nafise
> is it possible to retrieve the username value from the url?!
>
> or at the whole is there any way to call the xform from some other
> application and passing some parameters to it?!
>
> Cheers,
> Nafise
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14772273.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Hank Ratzesberger
Nafise,

Your pipeline needs to declare an output:

<p:param name="data" type="output"/>

Then if your page has xsl, it is simply the data part:

<xsl:value-of select="/request/parameters/parameter[name='myparam']/
value"/>

to access in xforms:

<xforms:instance id="params" src="input:data"/>

more:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance- 
initialization-src

--Hank


On Jan 16, 2008, at 2:56 AM, Nafise wrote:

>
> Hank,
>
> I followd the instructions. I've created page-flow.xml & read-
> uri.xpl as
> follows:
>
> page-flow.xml
> <config xmlns="http://www.orbeon.com/oxf/controller"
> xmlns:oxf="http://www.orbeon.com/oxf/processors">
> <page path-info="/readurl/" view="view.xhtml" model="read-url.xpl"/>
> <epilogue url="oxf:/config/epilogue.xpl"/>
> </config>
>
> read-uri.xpl
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
> xmlns:oxf="http://www.orbeon.com/oxf/processors">
        <p:param name="data" type="output"/>

> <p:processor name="oxf:request">
> <p:input name="config">
> <config>
> <include>/request</include>
> </config>
> </p:input>
> <p:output name="data" id="request"/>
> </p:processor>
> </p:config>
>
>
> actually, I don't know how I could access the request data in  
> view.xhtml.
>
> Thank you,
> Nafise
>
>
>
>
>
> Hank Ratzesberger wrote:
>>
>>
>> Nafise,
>>
>> The request-generator
>>
>> http://www.orbeon.com/ops/doc/processors-generators-request
>>
>> is one way to read the parameters.  Your page would need a model
>> attribute, pointing to an xpl file that will run the request
>> generator and aggregate along with any other data your page
>> needs.
>>
>> --Hank
>>
>> On Jan 14, 2008, at 6:26 AM, Nafise wrote:
>>
>>>
>>> Hi,
>>>
>>> there's a situation which I want to call my xform from an external
>>> application and I need to pass some parameters to my xform.
>>> I wonder if there is any way to read the key/value parameters from
>>> the url?!
>>>
>>> For instance,
>>> http://localhost:8080/orbeon/xfroms-test?username=nafise
>>> is it possible to retrieve the username value from the url?!
>>>
>>> or at the whole is there any way to call the xform from some other
>>> application and passing some parameters to it?!
>>>
>>> Cheers,
>>> Nafise
>>> --
>>> View this message in context: http://www.nabble.com/%28So-Urgent%29-
>>> Passing-some-parameters-to-the-xform-from-some-external-application-
>>> tp14772273p14772273.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.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
>>
>> Hank Ratzesberger
>> NEES@UCSB
>> Institute for Crustal Studies,
>> University of California, Santa Barbara
>> 805-893-8042
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14878005.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Nafise
Thank you so much Hank, It helped :)

I think that "data" in <p:param name="<b>data" type="output"/> is such a default keyword or something like this; because trying the the below xpl, it stopped working!!!

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors">
       
        <p:param name="<b>somethingElse" type="output"/>
       
        <p:processor name="oxf:request"> 
                <p:input name="config"> 
                        <config> 
                                <include>/request</include> 
                        </config> 
                </p:input> 
                <p:output name="data" ref="<b>somethingElse" id="data"/>
        </p:processor> 
</p:config>

are some extra seeting are needed in case of some alternative output param name?!

Thanks,
Nafise


Hank Ratzesberger wrote
Nafise,

Your pipeline needs to declare an output:

<p:param name="data" type="output"/>

Then if your page has xsl, it is simply the data part:

<xsl:value-of select="/request/parameters/parameter[name='myparam']/
value"/>

to access in xforms:

<xforms:instance id="params" src="input:data"/>

more:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance- 
initialization-src

--Hank


On Jan 16, 2008, at 2:56 AM, Nafise wrote:

>
> Hank,
>
> I followd the instructions. I've created page-flow.xml & read-
> uri.xpl as
> follows:
>
> page-flow.xml
> <config xmlns="http://www.orbeon.com/oxf/controller"
> xmlns:oxf="http://www.orbeon.com/oxf/processors">
> <page path-info="/readurl/" view="view.xhtml" model="read-url.xpl"/>
> <epilogue url="oxf:/config/epilogue.xpl"/>
> </config>
>
> read-uri.xpl
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
> xmlns:oxf="http://www.orbeon.com/oxf/processors">

        <p:param name="data" type="output"/>

> <p:processor name="oxf:request">
> <p:input name="config">
> <config>
> <include>/request</include>
> </config>
> </p:input>
> <p:output name="data" id="request"/>
> </p:processor>
> </p:config>
>
>
> actually, I don't know how I could access the request data in  
> view.xhtml.
>
> Thank you,
> Nafise
>
>
>
>
>
> Hank Ratzesberger wrote:
>>
>>
>> Nafise,
>>
>> The request-generator
>>
>> http://www.orbeon.com/ops/doc/processors-generators-request
>>
>> is one way to read the parameters.  Your page would need a model
>> attribute, pointing to an xpl file that will run the request
>> generator and aggregate along with any other data your page
>> needs.
>>
>> --Hank
>>
>> On Jan 14, 2008, at 6:26 AM, Nafise wrote:
>>
>>>
>>> Hi,
>>>
>>> there's a situation which I want to call my xform from an external
>>> application and I need to pass some parameters to my xform.
>>> I wonder if there is any way to read the key/value parameters from
>>> the url?!
>>>
>>> For instance,
>>> http://localhost:8080/orbeon/xfroms-test?username=nafise
>>> is it possible to retrieve the username value from the url?!
>>>
>>> or at the whole is there any way to call the xform from some other
>>> application and passing some parameters to it?!
>>>
>>> Cheers,
>>> Nafise
>>> --
>>> View this message in context: http://www.nabble.com/%28So-Urgent%29-
>>> Passing-some-parameters-to-the-xform-from-some-external-application-
>>> tp14772273p14772273.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> Hank Ratzesberger
>> NEES@UCSB
>> Institute for Crustal Studies,
>> University of California, Santa Barbara
>> 805-893-8042
>>
>>
>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14878005.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Hank Ratzesberger
Nafise,

Indeed the param named "data" of type output is special, as are the
params instance and data of type input.

I don't have any experience connecting to other named outputs, but
clearly xpl lets you create these.  I don't know if this allows you
to create multiple instances, e.g, doc('input:somethingElse'), so
if don't have things connected using doc('input:data'), then I
would get that going first.

HTH,
Hank



On Jan 18, 2008, at 9:41 AM, Nafise wrote:

>
> Thank you so much Hank, It helped :)
>
> I think that "data" in <p:param name="data" type="output"/> is such a
> default keyword or something like this; because trying the the  
> below xpl, it
> stopped working!!!
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
> xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
> <p:param name="somethingElse" type="output"/>
>
> <p:processor name="oxf:request">
> <p:input name="config">
> <config>
> <include>/request</include>
> </config>
> </p:input>
> <p:output name="data" ref="somethingElse" id="data"/>
> </p:processor>
> </p:config>
>
> are some extra seeting are needed in case of some alternative  
> output param
> name?!
>
> Thanks,
> Nafise
>
>
>
> Hank Ratzesberger wrote:
>>
>> Nafise,
>>
>> Your pipeline needs to declare an output:
>>
>> <p:param name="data" type="output"/>
>>
>> Then if your page has xsl, it is simply the data part:
>>
>> <xsl:value-of select="/request/parameters/parameter[name='myparam']/
>> value"/>
>>
>> to access in xforms:
>>
>> <xforms:instance id="params" src="input:data"/>
>>
>> more:
>>
>> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance-
>> initialization-src
>>
>> --Hank
>>
>>
>> On Jan 16, 2008, at 2:56 AM, Nafise wrote:
>>
>>>
>>> Hank,
>>>
>>> I followd the instructions. I've created page-flow.xml & read-
>>> uri.xpl as
>>> follows:
>>>
>>> page-flow.xml
>>> <config xmlns="http://www.orbeon.com/oxf/controller"
>>> xmlns:oxf="http://www.orbeon.com/oxf/processors">
>>> <page path-info="/readurl/" view="view.xhtml" model="read-
>>> url.xpl"/>
>>> <epilogue url="oxf:/config/epilogue.xpl"/>
>>> </config>
>>>
>>> read-uri.xpl
>>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>>> xmlns:oxf="http://www.orbeon.com/oxf/processors">
>>
>> <p:param name="data" type="output"/>
>>
>>> <p:processor name="oxf:request">
>>> <p:input name="config">
>>> <config>
>>> <include>/request</include>
>>> </config>
>>> </p:input>
>>> <p:output name="data" id="request"/>
>>> </p:processor>
>>> </p:config>
>>>
>>>
>>> actually, I don't know how I could access the request data in
>>> view.xhtml.
>>>
>>> Thank you,
>>> Nafise
>>>
>>>
>>>
>>>
>>>
>>> Hank Ratzesberger wrote:
>>>>
>>>>
>>>> Nafise,
>>>>
>>>> The request-generator
>>>>
>>>> http://www.orbeon.com/ops/doc/processors-generators-request
>>>>
>>>> is one way to read the parameters.  Your page would need a model
>>>> attribute, pointing to an xpl file that will run the request
>>>> generator and aggregate along with any other data your page
>>>> needs.
>>>>
>>>> --Hank
>>>>
>>>> On Jan 14, 2008, at 6:26 AM, Nafise wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> there's a situation which I want to call my xform from an external
>>>>> application and I need to pass some parameters to my xform.
>>>>> I wonder if there is any way to read the key/value parameters from
>>>>> the url?!
>>>>>
>>>>> For instance,
>>>>> http://localhost:8080/orbeon/xfroms-test?username=nafise
>>>>> is it possible to retrieve the username value from the url?!
>>>>>
>>>>> or at the whole is there any way to call the xform from some other
>>>>> application and passing some parameters to it?!
>>>>>
>>>>> Cheers,
>>>>> Nafise
>>>>> --
>>>>> View this message in context: http://www.nabble.com/%28So-Urgent 
>>>>> %29-
>>>>> Passing-some-parameters-to-the-xform-from-some-external-
>>>>> application-
>>>>> tp14772273p14772273.html
>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>> Nabble.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
>>>>
>>>> Hank Ratzesberger
>>>> NEES@UCSB
>>>> Institute for Crustal Studies,
>>>> University of California, Santa Barbara
>>>> 805-893-8042
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>> --
>>> View this message in context: http://www.nabble.com/%28So-Urgent%29-
>>> Passing-some-parameters-to-the-xform-from-some-external-application-
>>> tp14772273p14878005.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.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
>>
>> Hank Ratzesberger
>> NEES@UCSB
>> Institute for Crustal Studies,
>> University of California, Santa Barbara
>> 805-893-8042
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/%28So-Urgent%29- 
> Passing-some-parameters-to-the-xform-from-some-external-application-
> tp14772273p14954116.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
Reply | Threaded
Open this post in threaded view
|

Re: (So Urgent) Passing some parameters to the xform from some external application

Alessandro Vernet
Administrator
On Jan 18, 2008 1:54 PM, Hank Ratzesberger <[hidden email]> wrote:
> Indeed the param named "data" of type output is special, as are the
> params instance and data of type input.

Right.

You can have any input and output name in XPL. However, when your XPL
is designed to be called by the page flow controller, you need to use
fixed names (i.e. data and instance). Those names are part of the
"contract" between the PFC and your pipelines. Then if you write a
pipeline that you call yourself from another pipeline, you can use
whatever name you like for the inputs and outputs.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.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