Submit from one form to Xquery and catch returned xml-output in new form

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

Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
Hey,

I can anybody tell if if it´s possible to do the following(and how):

i) submit instance to an xquery    (at that moment I would be in my  
"search" site and the user is able to click on a "edit" button for  
each entry)
ii) edit/check instance and return it from xquery
iii) return it to another  form (here I would like to be in my "edit"  
page that gets the output of the xquery)

Right now I am doing this by hand....=(
Should I  let the xquery generate the whole editpage?




--
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: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3
Use XPL to do the xquery stuff, use the xforms:submission to replace the page with the new one. The output of the XPL will be passed to the new page

-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
Email: [hidden email]
Web: http://www.latentzero.com


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 21 July 2008 08:08
To: [hidden email]
Subject: [ops-users] Submit from one form to Xquery and catch returned xml-output in new form

Hey,

I can anybody tell if if it´s possible to do the following(and how):

i) submit instance to an xquery    (at that moment I would be in my  
"search" site and the user is able to click on a "edit" button for each entry)
ii) edit/check instance and return it from xquery
iii) return it to another  form (here I would like to be in my "edit"  
page that gets the output of the xquery)

Right now I am doing this by hand....=(
Should I  let the xquery generate the whole editpage?



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
this is, what I wanted to do..
But can you help me a little bit with it?

1) My forms are ready, my xquery, too..
> Use XPL to do the xquery stuff
How?
What does happen there?
Do I submit my instance to an example.xpl that calls my xquery?

2)
> use the xforms:submission to replace the page with the new one
How? I mean, I know how to use it to open a  new page...
But does this all happen in an action or trigger?

3)
> The output of the XPL will be passed to the new page

This is, what I will not be able to do by myself...


Sorry, still I am a newbie so please be patient  with me...


--
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: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3
this is, what I wanted to do..
But can you help me a little bit with it?

1) My forms are ready, my xquery, too..
> Use XPL to do the xquery stuff
How?
What does happen there?
Do I submit my instance to an example.xpl that calls my xquery?

Yes the submit you instance and get the XPL to do the xquery

2)
> use the xforms:submission to replace the page with the new one
How? I mean, I know how to use it to open a  new page...
But does this all happen in an action or trigger?

Well if you have an edit button you would trigger a submission, which would POST your instance to the XPL and then POST the result to the new page, one xforms:submission

3)
> The output of the XPL will be passed to the new page

Add @src="input:data" to the xforms:instance you want the data stored in

This is, what I will not be able to do by myself...


Sorry, still I am a newbie so please be patient  with me...


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
strange..nothing happens and my log does not help...

In my form I have:
<xforms:trigger>
                            <xforms:label>Edit</xforms:label>
                            <xforms:action ev:event="DOMActivate">
                                <xforms:send submission="initToEdit"/>
                                <xforms:insert
                                    context="instance('toEdit')"
                                    nodeset="root"
                                    at="1"
                                    position="after"
                                    origin="instance('user')/remote-user"/>
                                <xforms:insert  
                                    context="instance('toEdit')"
                                    nodeset="remote-user"
                                    at="last()"
                                    position="after"
                                    origin="xxforms:context('sr-repeat')"/>
                                <xforms:send submission="editXPL"/>
                                <!--<xforms:send submission="toEditSubmission"/>-->
                            </xforms:action>
                        </xforms:trigger>

In the Model: 
<xforms:submission id="editXPL" action="/2604/editXPL"
        ref="instance('toEdit')" method="post" replace="none"/>

My pageflow:
<page path-info="/2604/editXPL">
        <action action="xpls/edit.xpl"/>
    </page>

My xpl:
<p:config
    xmlns:xforms="http://www.w3.org/2002/xforms">
    <p:param type="input" name="instance"/>
    <p:processor name="oxf:xforms-submission">
        <p:input name="submission">
            <xforms:submission method="post" action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq"/>
        </p:input>
        <p:input name="data" href="#instance"/>
        <p:output name="response" id="response" debug="testEdit"/>
    </p:processor>
</p:config>


But my edit.xq does nothing anymore...


--
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: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3

I don’t think you can do two xforms:send, you will need to add the rest of the action to the xforms-submit-done event of ‘initToEdit’

 

Your page flow needs to have a model and a view attribute, the model should be a path to the XPL, the view should be a path to the new page, which you send your instance

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: [hidden email] [mailto:[hidden email]]
Sent: 21 July 2008 11:09
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

strange..nothing happens and my log does not help...

 

In my form I have:

<xforms:trigger>

                            <xforms:label>Edit</xforms:label>

                            <xforms:action ev:event="DOMActivate">

                                <xforms:send submission="initToEdit"/>

                                <xforms:insert

                                    context="instance('toEdit')"

                                    nodeset="root"

                                    at="1"

                                    position="after"

                                    origin="instance('user')/remote-user"/>

                                <xforms:insert  

                                    context="instance('toEdit')"

                                    nodeset="remote-user"

                                    at="last()"

                                    position="after"

                                    origin="xxforms:context('sr-repeat')"/>

                                <xforms:send submission="editXPL"/>

                                <!--<xforms:send submission="toEditSubmission"/>-->

                            </xforms:action>

                        </xforms:trigger>

 

In the Model: 

<xforms:submission id="editXPL" action="/2604/editXPL"

        ref="instance('toEdit')" method="post" replace="none"/>

 

My pageflow:

<page path-info="/2604/editXPL">

        <action action="xpls/edit.xpl"/>

    </page>

 

My xpl:

<p:config

    xmlns:xforms="http://www.w3.org/2002/xforms">

    <p:param type="input" name="instance"/>

    <p:processor name="oxf:xforms-submission">

        <p:input name="submission">

            <xforms:submission method="post" action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq"/>

        </p:input>

        <p:input name="data" href="#instance"/>

        <p:output name="response" id="response" debug="testEdit"/>

    </p:processor>

</p:config>

 

 

But my edit.xq does nothing anymore...


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2

Am 21.07.2008 um 12:51 schrieb Ryan Puddephatt:

I don’t think you can do two xforms:send, you will need to add the rest of the action to the xforms-submit-done event of ‘initToEdit’
Why?
When I do this:
<xforms:trigger>
                            <xforms:label>Edit</xforms:label>
                            <xforms:action ev:event="DOMActivate">
                                <xforms:send submission="initToEdit"/>
                                <xforms:insert
                                    context="instance('toEdit')"
                                    nodeset="root"
                                    at="1"
                                    position="after"
                                    origin="instance('user')/remote-user"/>
                                <xforms:insert  
                                    context="instance('toEdit')"
                                    nodeset="remote-user"
                                    at="last()"
                                    position="after"
                                    origin="xxforms:context('sr-repeat')"/>
                                <!--<xforms:send submission="editXPL"/>-->
                                <xforms:send submission="toEditSubmission"/>
                                <!--<xforms:send submission="link-edit"/>-->
                            </xforms:action>
                        </xforms:trigger>

everything is working...

If you would like to write an xpl to submit an instance to an xquery, how does it look like?
I think that submitting my instance to my xquery is not working...
If I go the old way with the two submissions everything is ok. 
Maybe my edit.xq does not receive any data...
I just don´t know right now how to debug...




--
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: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3

Ok if you know that works then thats ok.

 

Your XPL should look something like

 

<p:config

    xmlns:oxf="http://www.orbeon.com/oxf/processors"

    xmlns:p="http://www.orbeon.com/oxf/pipeline"

    xmlns:xforms="http://www.w3.org/2002/xforms">

    <p:param type="input" name="instance"/>

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

 

    <p:processor name="oxf:xforms-submission">

        <p:input name="submission">

            <xforms:submission method="post" action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq"/>

        </p:input>

        <p:input name="data" href="#instance"/>

        <p:output name="response" ref="data" debug="testEdit"/>

    </p:processor>

</p:config>

 

Your page-flow should look like

 

<page path-info="/2604/editXPL" model=”xpls/edit.xpl" view=”pages/newview.xhtml”/>

 

HTH

 

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: [hidden email] [mailto:[hidden email]]
Sent: 21 July 2008 12:04
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

 

Am 21.07.2008 um 12:51 schrieb Ryan Puddephatt:



I don’t think you can do two xforms:send, you will need to add the rest of the action to the xforms-submit-done event of ‘initToEdit’

Why?

When I do this:

<xforms:trigger>

                            <xforms:label>Edit</xforms:label>

                            <xforms:action ev:event="DOMActivate">

                                <xforms:send submission="initToEdit"/>

                                <xforms:insert

                                    context="instance('toEdit')"

                                    nodeset="root"

                                    at="1"

                                    position="after"

                                    origin="instance('user')/remote-user"/>

                                <xforms:insert  

                                    context="instance('toEdit')"

                                    nodeset="remote-user"

                                    at="last()"

                                    position="after"

                                    origin="xxforms:context('sr-repeat')"/>

                                <!--<xforms:send submission="editXPL"/>-->

                                <xforms:send submission="toEditSubmission"/>

                                <!--<xforms:send submission="link-edit"/>-->

                            </xforms:action>

                        </xforms:trigger>

 

everything is working...

 

If you would like to write an xpl to submit an instance to an xquery, how does it look like?

I think that submitting my instance to my xquery is not working...

If I go the old way with the two submissions everything is ok. 

Maybe my edit.xq does not receive any data...

I just don´t know right now how to debug...

 



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
Wow, something is working...
It seems as if my xquery is runnin....

Ah, there was a small mistake in your xpl:
it has to be:
<p:input name="request" href="#instance"/>

not:

<p:input name="data" href="#instance"/>


THX a lot!!!!
Now I will go on with the other points you wrote!



--
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: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3

Sorry I took it from your original XPL post

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: [hidden email] [mailto:[hidden email]]
Sent: 21 July 2008 12:33
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

Wow, something is working...

It seems as if my xquery is runnin....

 

Ah, there was a small mistake in your xpl:

it has to be:

<p:input name="request" href="#instance"/>

 

not:

 

<p:input name="data" href="#instance"/>

 

 

THX a lot!!!!

Now I will go on with the other points you wrote!

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
Hey Ryan, 

I am stuck at point 3....

If I do it with a submission, then I can replace an instance...

<xforms:submission id="toEditSubmission" ref="instance('toEdit')"
        replace="instance" instance="lock"/>

If I do it with a xpl, then I can´t  replace an instance...
<xforms:submission id="editXPL" ref="instance('toEdit')"
        action="/2604/editXPL" method="post"
        replace="instance" instance="lock"/>

But the xpl does work...

I need this, because I want to get an returnValue from my xquery. Depending on that, I would like to start a new submission...

If  the returned value is something like "loked", then I  want a message to pop up and says bla bla... 
If  the returned value is something like "free", then I  want a submission to open my editPage....



Any idea? 






Am 21.07.2008 um 13:36 schrieb Ryan Puddephatt:

Sorry I took it from your original XPL post
 
-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
 
From: [hidden email] [[hidden email]] 
Sent: 21 July 2008 12:33
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form
 
Wow, something is working...
It seems as if my xquery is runnin....
 
Ah, there was a small mistake in your xpl:
it has to be:
<p:input name="request" href="#instance"/>
 
not:
 
<p:input name="data" href="#instance"/>
 
 
THX a lot!!!!
Now I will go on with the other points you wrote!
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws



--
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: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3

Remove @replace and @instance and it will submit the data to another page

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: [hidden email] [mailto:[hidden email]]
Sent: 22 July 2008 15:07
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

Hey Ryan, 

 

I am stuck at point 3....

 

If I do it with a submission, then I can replace an instance...

 

<xforms:submission id="toEditSubmission" ref="instance('toEdit')"

        replace="instance" instance="lock"/>

 

If I do it with a xpl, then I can´t  replace an instance...

<xforms:submission id="editXPL" ref="instance('toEdit')"

        action="/2604/editXPL" method="post"

        replace="instance" instance="lock"/>

 

But the xpl does work...

 

I need this, because I want to get an returnValue from my xquery. Depending on that, I would like to start a new submission...

 

If  the returned value is something like "loked", then I  want a message to pop up and says bla bla... 

If  the returned value is something like "free", then I  want a submission to open my editPage....

 

 

 

Any idea? 

 

 

 

 

 

 

Am 21.07.2008 um 13:36 schrieb Ryan Puddephatt:



Sorry I took it from your original XPL post

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

 

From: [hidden email] [[hidden email]] 
Sent: 21 July 2008 12:33
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

Wow, something is working...

It seems as if my xquery is runnin....

 

Ah, there was a small mistake in your xpl:

it has to be:

<p:input name="request" href="#instance"/>

 

not:

 

<p:input name="data" href="#instance"/>

 

 

THX a lot!!!!

Now I will go on with the other points you wrote!

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
hmm, 
this is still a problem.
I have already 
   <xforms:instance id="user">
        <xi:include href="input:data"/>
    </xforms:instance>

in the other page, like on every page...
It takes the user-data and puts it into an "user" instance.


I tried to change "data" to "data2" in my xpl but it seems as if it has to be "data"...=(











Am 22.07.2008 um 16:24 schrieb Ryan Puddephatt:

Remove @replace and @instance and it will submit the data to another page
 
-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
 
From: [hidden email] [[hidden email]] 
Sent: 22 July 2008 15:07
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form
 
Hey Ryan, 
 
I am stuck at point 3....
 
If I do it with a submission, then I can replace an instance...
 
<xforms:submission id="toEditSubmission" ref="instance('toEdit')"
        replace="instance" instance="lock"/>
 
If I do it with a xpl, then I can´t  replace an instance...
<xforms:submission id="editXPL" ref="instance('toEdit')"
        action="/2604/editXPL" method="post"
        replace="instance" instance="lock"/>
 
But the xpl does work...
 
I need this, because I want to get an returnValue from my xquery. Depending on that, I would like to start a new submission...
 
If  the returned value is something like "loked", then I  want a message to pop up and says bla bla... 
If  the returned value is something like "free", then I  want a submission to open my editPage....
 
 
 
Any idea? 
 
 
 
 
 
 
Am 21.07.2008 um 13:36 schrieb Ryan Puddephatt:


Sorry I took it from your original XPL post
 
-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
 
From: [hidden email] [[hidden email]] 
Sent: 21 July 2008 12:33
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form
 
Wow, something is working...
It seems as if my xquery is runnin....
 
Ah, there was a small mistake in your xpl:
it has to be:
<p:input name="request" href="#instance"/>
 
not:
 
<p:input name="data" href="#instance"/>
 
 
THX a lot!!!!
Now I will go on with the other points you wrote!
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws



--
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: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

Ryan Puddephatt-3

You can use a second out “instance” and use <xi:include href=”input:instance”/>

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: [hidden email] [mailto:[hidden email]]
Sent: 22 July 2008 17:22
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

hmm, 

this is still a problem.

I have already 

   <xforms:instance id="user">

        <xi:include href="input:data"/>

    </xforms:instance>

 

in the other page, like on every page...

It takes the user-data and puts it into an "user" instance.

 

 

I tried to change "data" to "data2" in my xpl but it seems as if it has to be "data"...=(

 

 

 

 

 

 

 

 

 

 

 

Am 22.07.2008 um 16:24 schrieb Ryan Puddephatt:



Remove @replace and @instance and it will submit the data to another page

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

 

From: [hidden email] [[hidden email]] 
Sent: 22 July 2008 15:07
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

Hey Ryan, 

 

I am stuck at point 3....

 

If I do it with a submission, then I can replace an instance...

 

<xforms:submission id="toEditSubmission" ref="instance('toEdit')"

        replace="instance" instance="lock"/>

 

If I do it with a xpl, then I can´t  replace an instance...

<xforms:submission id="editXPL" ref="instance('toEdit')"

        action="/2604/editXPL" method="post"

        replace="instance" instance="lock"/>

 

But the xpl does work...

 

I need this, because I want to get an returnValue from my xquery. Depending on that, I would like to start a new submission...

 

If  the returned value is something like "loked", then I  want a message to pop up and says bla bla... 

If  the returned value is something like "free", then I  want a submission to open my editPage....

 

 

 

Any idea? 

 

 

 

 

 

 

Am 21.07.2008 um 13:36 schrieb Ryan Puddephatt:




Sorry I took it from your original XPL post

 

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

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

 

From: [hidden email] [[hidden email]] 
Sent: 21 July 2008 12:33
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

 

Wow, something is working...

It seems as if my xquery is runnin....

 

Ah, there was a small mistake in your xpl:

it has to be:

<p:input name="request" href="#instance"/>

 

not:

 

<p:input name="data" href="#instance"/>

 

 

THX a lot!!!!

Now I will go on with the other points you wrote!

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
still not working...
This is my edit.xpl:

<p:config
    xmlns:xforms="http://www.w3.org/2002/xforms">

    

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

        

        <p:processor name="oxf:xforms-submission">
        <p:input name="submission">
            <xforms:submission method="post" action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq"/>
        </p:input>
        <p:input name="request" href="#instance"/>
        <p:output name="response" ref="data" debug="testEdit"/>
        </p:processor>
</p:config>


It does call my edit.xq...
But I don´t know if it holds the returned value from the edit.xq...

<xforms:instance id="lock">
        <xi:include href="input:data"/>
        </xforms:instance>

but then it´s filled with the other data, from my other xpl file...

You can use a second out “instance” and use <xi:include href=”input:instance”/>


where?
I tried 

<p:config
    xmlns:xforms="http://www.w3.org/2002/xforms">

    

    <p:param type="input" name="instance"/>
    <!--<p:param type= "output" name="data"/>-->
    <p:param type= "output" name="instance"/>

        

        <p:processor name="oxf:xforms-submission">
        <p:input name="submission">
            <xforms:submission method="post" action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq"/>
        </p:input>
        <p:input name="request" href="#instance"/>
        <!--<p:output name="response" ref="data" debug="testEdit"/>-->
            <p:output name="response2" ref="instance" debug="testEdit"/>
        </p:processor>
</p:config>


but still my instance is null...





 


--
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: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: Submit from one form to Xquery and catch returned xml-output in new form

masjab-2
Please...if someone could help  me with this..
I have already a xpl that holds the user-data and every page loads it into an instance...

 <xforms:instance id="user">
        <xi:include href="input:data"/>
    </xforms:instance>


Now when I want to call this xpl, it does it work...(some of it) and the log file shows me the output on testEdit...


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

    <p:processor name="oxf:xforms-submission">
        <p:input name="submission">
            <xforms:submission method="post"
        </p:input>
        <p:input name="request" href="#instance"/>
        <p:output name="response" ref="data" debug="testEdit"/>
    </p:processor>
</p:config>

But when I want to catch this output and load it into an instance, it´s always the same, as my user data...
Changing the name of "data" leads to an errormessage...

<xforms:instance id="lock">
        <test>
        <xi:include href="input:data"/>
            </test>
        </xforms:instance>

Of course I know that the lock instance does load the wrong data, but how can I change?


--
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: XQuery... (was Re:.....)

Hank Ratzesberger

I have not followed this thread closely, sorry if you have tried this
previously, but...

Have you confirmed that the result of the submission is valid?  You  
could
do this by serializing it (the xml serializer is bit easier for  
this ) and your
submission would need to replace="all" so that the browser renders it.

If you have confirmed already that this pipeline is working, then I  
suppose,
its not much help.

Regards,
Hank

On Jul 22, 2008, at 2:33 PM, Masen J wrote:

> Please...if someone could help  me with this..
> I have already a xpl that holds the user-data and every page loads  
> it into an instance...
>
>  <xforms:instance id="user">
>         <xi:include href="input:data"/>
>     </xforms:instance>
>
>
> Now when I want to call this xpl, it does it work...(some of it)  
> and the log file shows me the output on testEdit...
>
> <p:config xmlns:oxf="http://www.orbeon.com/oxf/processors"
>     xmlns:p="http://www.orbeon.com/oxf/pipeline"  
> xmlns:xforms="http://www.w3.org/2002/xforms">
>
>     <p:param type="input" name="instance"/>
>     <p:param type="output" name="data"/>
>
>     <p:processor name="oxf:xforms-submission">
>         <p:input name="submission">
>             <xforms:submission method="post"
>                 action="http://localhost:8080/exist/rest/db/ 
> dictionary/xquery/edit.xq"/>
>         </p:input>
>         <p:input name="request" href="#instance"/>
>         <p:output name="response" ref="data" debug="testEdit"/>
>     </p:processor>
> </p:config>
>
> But when I want to catch this output and load it into an instance,  
> it´s always the same, as my user data...
> Changing the name of "data" leads to an errormessage...
>
> <xforms:instance id="lock">
>         <test>
>         <xi:include href="input:data"/>
>             </test>
>         </xforms:instance>
>
> Of course I know that the lock instance does load the wrong data,  
> but how can I change?
>
> --
> 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: Re: XQuery... (was Re:.....)

masjab-2
maybe, but I am still not able to work it out alone...
I mean, when my log file looks like:

2008-07-23 01:17:52,905 INFO  DebugProcessor  - testEdit:
line 14, column 65 of oxf:/apps/2604/xpls/edit.xpl
<html>
     <body>
         <h1>Sorry</h1>
     </body>
</html>

Looks at least like valid xml, or not?
I just want to load this into an instance...

1) how? when I use input:data the input from an other xpl is  
included....
2) why is my instance alway null?

Can you help me to put a html serializer after the xforms-submission?




Am 23.07.2008 um 00:04 schrieb Hank Ratzesberger:

>
> I have not followed this thread closely, sorry if you have tried this
> previously, but...
>
> Have you confirmed that the result of the submission is valid?  You  
> could
> do this by serializing it (the xml serializer is bit easier for  
> this ) and your
> submission would need to replace="all" so that the browser renders it.
>
> If you have confirmed already that this pipeline is working, then I  
> suppose,
> its not much help.
>
> Regards,
> Hank
>
> On Jul 22, 2008, at 2:33 PM, Masen J wrote:
>
>> Please...if someone could help  me with this..
>> I have already a xpl that holds the user-data and every page loads  
>> it into an instance...
>>
>> <xforms:instance id="user">
>>        <xi:include href="input:data"/>
>>    </xforms:instance>
>>
>>
>> Now when I want to call this xpl, it does it work...(some of it)  
>> and the log file shows me the output on testEdit...
>>
>> <p:config xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>    xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xforms="http://www.w3.org/2002/xforms 
>> ">
>>
>>    <p:param type="input" name="instance"/>
>>    <p:param type="output" name="data"/>
>>
>>    <p:processor name="oxf:xforms-submission">
>>        <p:input name="submission">
>>            <xforms:submission method="post"
>>                action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq 
>> "/>
>>        </p:input>
>>        <p:input name="request" href="#instance"/>
>>        <p:output name="response" ref="data" debug="testEdit"/>
>>    </p:processor>
>> </p:config>
>>
>> But when I want to catch this output and load it into an instance,  
>> it´s always the same, as my user data...
>> Changing the name of "data" leads to an errormessage...
>>
>> <xforms:instance id="lock">
>>        <test>
>>        <xi:include href="input:data"/>
>>            </test>
>>        </xforms:instance>
>>
>> Of course I know that the lock instance does load the wrong data,  
>> but how can I change?
>>
>> --
>> 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


--
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: Re: Re: XQuery... (was Re:.....)

Ryan Puddephatt-3
In reply to this post by Hank Ratzesberger
You don't need to! Have you tried what I said in my previous mail?

And what does your page-flow look like?
------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
Email: [hidden email]
Web: http://www.latentzero.com
Sent from my blackberry device

----- Original Message -----
From: [hidden email] <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Wed Jul 23 00:21:51 2008
Subject: [ops-users] Re: Re:  XQuery... (was Re:.....)

maybe, but I am still not able to work it out alone...
I mean, when my log file looks like:

2008-07-23 01:17:52,905 INFO  DebugProcessor  - testEdit:
line 14, column 65 of oxf:/apps/2604/xpls/edit.xpl
<html>
     <body>
         <h1>Sorry</h1>
     </body>
</html>

Looks at least like valid xml, or not?
I just want to load this into an instance...

1) how? when I use input:data the input from an other xpl is  
included....
2) why is my instance alway null?

Can you help me to put a html serializer after the xforms-submission?




Am 23.07.2008 um 00:04 schrieb Hank Ratzesberger:

>
> I have not followed this thread closely, sorry if you have tried this
> previously, but...
>
> Have you confirmed that the result of the submission is valid?  You  
> could
> do this by serializing it (the xml serializer is bit easier for  
> this ) and your
> submission would need to replace="all" so that the browser renders it.
>
> If you have confirmed already that this pipeline is working, then I  
> suppose,
> its not much help.
>
> Regards,
> Hank
>
> On Jul 22, 2008, at 2:33 PM, Masen J wrote:
>
>> Please...if someone could help  me with this..
>> I have already a xpl that holds the user-data and every page loads  
>> it into an instance...
>>
>> <xforms:instance id="user">
>>        <xi:include href="input:data"/>
>>    </xforms:instance>
>>
>>
>> Now when I want to call this xpl, it does it work...(some of it)  
>> and the log file shows me the output on testEdit...
>>
>> <p:config xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>    xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xforms="http://www.w3.org/2002/xforms 
>> ">
>>
>>    <p:param type="input" name="instance"/>
>>    <p:param type="output" name="data"/>
>>
>>    <p:processor name="oxf:xforms-submission">
>>        <p:input name="submission">
>>            <xforms:submission method="post"
>>                action="http://localhost:8080/exist/rest/db/dictionary/xquery/edit.xq 
>> "/>
>>        </p:input>
>>        <p:input name="request" href="#instance"/>
>>        <p:output name="response" ref="data" debug="testEdit"/>
>>    </p:processor>
>> </p:config>
>>
>> But when I want to catch this output and load it into an instance,  
>> it´s always the same, as my user data...
>> Changing the name of "data" leads to an errormessage...
>>
>> <xforms:instance id="lock">
>>        <test>
>>        <xi:include href="input:data"/>
>>            </test>
>>        </xforms:instance>
>>
>> Of course I know that the lock instance does load the wrong data,  
>> but how can I change?
>>
>> --
>> 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

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: XQuery... (was Re:.....)

masjab-2
Yes, but I am shure not how you ment it...
I am reading about xpl but still I think I need help....

You can use a second out “instance” and use <xi:include href=”input:instance”/>
HOW?


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

 <!-- DO I HAVE TO PUT A SECOND OUTPUT HERE?-->

    <p:processor name="oxf:xforms-submission">
        <p:input name="submission">
            <xforms:submission method="post"
        </p:input>
        <p:input name="request" href="#instance"/>
        <p:output name="response" ref="data" debug="testEdit" />
 <!-- OR DO I HAVE TO PUT A SECOND OUTPUT HERE?-->
    </p:processor>
</p:config>


--
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
12