Submission to servlet

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

Submission to servlet

jorismeijer
Hello,
I am trying to submit my form to a servlet (@ http://localhost:8081/postprocess), but I don't see a request going out (in the logs) or appearing at my servlet.

In my form I entered the following submission handle:

<xf:submission id="my-submission" ref="instance()" method="post" resource="http://localhost:8081/postprocess"
                           replace="instance"
                           instance="result"/>

Should this be working like this?

thanks in advance for any hints.

best regards,
Joris
Reply | Threaded
Open this post in threaded view
|

Re: Submission to servlet

Erik Bruchez
Administrator
Yes, it should work.

How do you send that submission?

-Erik

On Mon, Aug 19, 2013 at 3:56 AM, jorismeijer <[hidden email]> wrote:

> Hello,
> I am trying to submit my form to a servlet (@
> http://localhost:8081/postprocess), but I don't see a request going out (in
> the logs) or appearing at my servlet.
>
> In my form I entered the following submission handle:
>
> <xf:submission id="my-submission" ref="instance()" method="post"
> resource="http://localhost:8081/postprocess"
>                            replace="instance"
>                            instance="result"/>
>
> Should this be working like this?
>
> thanks in advance for any hints.
>
> best regards,
> Joris
>
> --
> View this message in context: http://discuss.orbeon.com/Submission-to-servlet-tp4657183.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

RE: Submission to servlet

jorismeijer

Hi Erik,


I just included it in my form between the <model> tags. I expect the submission to work when I click the “Submit” button. Is there additional configuration necessary? (a processor?)

 

Joris

 

From: Erik Bruchez [via Orbeon Forms community mailing list] [mailto:ml-node+[hidden email]]
Sent: maandag 19 augustus 2013 21:26
To: Meijer, Joris
Subject: Re: Submission to servlet

 

Yes, it should work.

How do you send that submission?

-Erik

On Mon, Aug 19, 2013 at 3:56 AM, jorismeijer <[hidden email]> wrote:


> Hello,
> I am trying to submit my form to a servlet (@
> http://localhost:8081/postprocess), but I don't see a request going out (in
> the logs) or appearing at my servlet.
>
> In my form I entered the following submission handle:
>
> <xf:submission id="my-submission" ref="instance()" method="post"
> resource="http://localhost:8081/postprocess"
>                            replace="instance"
>                            instance="result"/>
>
> Should this be working like this?
>
> thanks in advance for any hints.
>
> best regards,
> Joris
>
> --
> View this message in context: http://discuss.orbeon.com/Submission-to-servlet-tp4657183.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].


--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].


If you reply to this email, your message will be added to the discussion below:

http://discuss.orbeon.com/Submission-to-servlet-tp4657183p4657185.html

To unsubscribe from Submission to servlet, click here.
NAML

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Reply | Threaded
Open this post in threaded view
|

RE: Submission to servlet

Erik Bruchez
Administrator
Joris,

You need to "send" a submission. There are two ways:

- use the `xf:send` action
- use the `xf:submit` control

Do you have any of those?

-Erik

On Tue, Aug 20, 2013 at 12:21 AM, jorismeijer
<[hidden email]> wrote:

> Hi Erik,
>
>
> I just included it in my form between the <model> tags. I expect the
> submission to work when I click the “Submit” button. Is there additional
> configuration necessary? (a processor?)
>
>
>
> Joris
>
>
>
> From: Erik Bruchez [via Orbeon Forms community mailing list]
> [mailto:ml-node+[hidden email]]
> Sent: maandag 19 augustus 2013 21:26
> To: Meijer, Joris
> Subject: Re: Submission to servlet
>
>
>
> Yes, it should work.
>
> How do you send that submission?
>
> -Erik
>
> On Mon, Aug 19, 2013 at 3:56 AM, jorismeijer <[hidden email]> wrote:
>
>
>> Hello,
>> I am trying to submit my form to a servlet (@
>> http://localhost:8081/postprocess), but I don't see a request going out
>> (in
>> the logs) or appearing at my servlet.
>>
>> In my form I entered the following submission handle:
>>
>> <xf:submission id="my-submission" ref="instance()" method="post"
>> resource="http://localhost:8081/postprocess"
>>                            replace="instance"
>>                            instance="result"/>
>>
>> Should this be working like this?
>>
>> thanks in advance for any hints.
>>
>> best regards,
>> Joris
>>
>> --
>> View this message in context:
>> http://discuss.orbeon.com/Submission-to-servlet-tp4657183.html
>> Sent from the Orbeon Forms community mailing list mailing list archive at
>> Nabble.com.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Orbeon Forms" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [hidden email].
>> To post to this group, send email to [hidden email].
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> To post to this group, send email to [hidden email].
>
> ________________________________
>
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://discuss.orbeon.com/Submission-to-servlet-tp4657183p4657185.html
>
> To unsubscribe from Submission to servlet, click here.
> NAML
>
> This message contains information that may be privileged or confidential and
> is the property of the Capgemini Group. It is intended only for the person
> to whom it is addressed. If you are not the intended recipient, you are not
> authorized to read, print, retain, copy, disseminate, distribute, or use
> this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
> ________________________________
> View this message in context: RE: Submission to servlet
>
> Sent from the Orbeon Forms community mailing list mailing list archive at
> Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

RE: Submission to servlet

jorismeijer
Hi erik,

I managed to get it working using the xf:send. Thanks!

best,
Joris
Reply | Threaded
Open this post in threaded view
|

RE: Submission to servlet

Erik Bruchez
Administrator
Joris,

Glad to hear that.

-Erik

On Fri, Aug 23, 2013 at 5:37 AM, jorismeijer <[hidden email]> wrote:

> Hi erik,
>
> I managed to get it working using the xf:send. Thanks!
>
> best,
> Joris
>
> --
> View this message in context: http://discuss.orbeon.com/Submission-to-servlet-tp4657183p4657197.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].