submission always goes to /xforms-server but never beyond

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

submission always goes to /xforms-server but never beyond

Jeremiah Jahn-4
Not sure what i'm doing wrong here. I used to be able to make this work, but  now all we do is hit the /xforms-server and nothing else.  Do I just need sleep, but this really seems like it should work.

this is using the xforms-filter. I stripped out all of the submissions a couple months ago while I worked on other things, and just added one back in, which doesn't work for some reason.  Has something changed in the nightly builds that would effect this? I really just want to post the xml to my /data servlet.



<xforms:submission id="reloaddata" 
                              class="fr-service"
                               ref="instance('data')"
                               resource="/data"
                               method="post"
                               serialization="application/xml"
                               mediatype="application/xml"
                               replace="instance"
                               instance="data"/>

<xforms:submit submission="reloaddata">
    <xforms:label>Reload</xforms:label>    
</xforms:submit>


--
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: submission always goes to /xforms-server but never beyond

Jeremiah Jahn-4
no, seriously what would make one submission hit this and skip it from another form? esp, when as far as I can tell, I've copied it directly. 

<p:when test="/document[starts-with(@content-type, 'text/html')]"

I'd like to find a way to make sure that my submissions are treated as regular ajax as far as xforms-server.xpl is concerned.


On Feb 8, 2010, at 11:37 PM, Jeremiah Jahn wrote:

Not sure what i'm doing wrong here. I used to be able to make this work, but  now all we do is hit the /xforms-server and nothing else.  Do I just need sleep, but this really seems like it should work.

this is using the xforms-filter. I stripped out all of the submissions a couple months ago while I worked on other things, and just added one back in, which doesn't work for some reason.  Has something changed in the nightly builds that would effect this? I really just want to post the xml to my /data servlet.



<xforms:submission id="reloaddata" 
                              class="fr-service"
                               ref="instance('data')"
                               resource="/data"
                               method="post"
                               serialization="application/xml"
                               mediatype="application/xml"
                               replace="instance"
                               instance="data"/>

<xforms:submit submission="reloaddata">
    <xforms:label>Reload</xforms:label>    
</xforms:submit>



--
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: submission always goes to /xforms-server but never beyond

Jeremiah Jahn-4
I'm an idiot. helps to make sure everything is valid first. nothing like beating your head against something like that for 3 days.




On Feb 10, 2010, at 7:33 PM, Jeremiah Jahn wrote:

no, seriously what would make one submission hit this and skip it from another form? esp, when as far as I can tell, I've copied it directly. 

<p:when test="/document[starts-with(@content-type, 'text/html')]"

I'd like to find a way to make sure that my submissions are treated as regular ajax as far as xforms-server.xpl is concerned.


On Feb 8, 2010, at 11:37 PM, Jeremiah Jahn wrote:

Not sure what i'm doing wrong here. I used to be able to make this work, but  now all we do is hit the /xforms-server and nothing else.  Do I just need sleep, but this really seems like it should work.

this is using the xforms-filter. I stripped out all of the submissions a couple months ago while I worked on other things, and just added one back in, which doesn't work for some reason.  Has something changed in the nightly builds that would effect this? I really just want to post the xml to my /data servlet.



<xforms:submission id="reloaddata" 
                              class="fr-service"
                               ref="instance('data')"
                               resource="/data"
                               method="post"
                               serialization="application/xml"
                               mediatype="application/xml"
                               replace="instance"
                               instance="data"/>

<xforms:submit submission="reloaddata">
    <xforms:label>Reload</xforms:label>    
</xforms:submit>




--
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: submission always goes to /xforms-server but never beyond

Erik Bruchez-3
Glad you worked it out! -Erik

On Wed, Feb 10, 2010 at 5:51 PM, Jeremiah Jahn <[hidden email]> wrote:

> I'm an idiot. helps to make sure everything is valid first. nothing like
> beating your head against something like that for 3 days.
>
>
>
> On Feb 10, 2010, at 7:33 PM, Jeremiah Jahn wrote:
>
> no, seriously what would make one submission hit this and skip it from
> another form? esp, when as far as I can tell, I've copied it directly.
> <p:when test="/document[starts-with(@content-type, 'text/html')]">
> I'd like to find a way to make sure that my submissions are treated as
> regular ajax as far as xforms-server.xpl is concerned.
>
> On Feb 8, 2010, at 11:37 PM, Jeremiah Jahn wrote:
>
> Not sure what i'm doing wrong here. I used to be able to make this work, but
>  now all we do is hit the /xforms-server and nothing else.  Do I just need
> sleep, but this really seems like it should work.
> this is using the xforms-filter. I stripped out all of the submissions a
> couple months ago while I worked on other things, and just added one back
> in, which doesn't work for some reason.  Has something changed in the
> nightly builds that would effect this? I really just want to post the xml to
> my /data servlet.
>
>
> <xforms:submission id="reloaddata"
>                               class="fr-service"
>                                ref="instance('data')"
>                                resource="/data"
>                                method="post"
>                                serialization="application/xml"
>                                mediatype="application/xml"
>                                replace="instance"
>                                instance="data"/>
> <xforms:submit submission="reloaddata">
>     <xforms:label>Reload</xforms:label>
> </xforms:submit>
>
>
>
> --
> 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