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 |
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]. |
Hi Erik,
Joris From: Erik Bruchez [via Orbeon Forms community mailing list] [mailto:ml-node+[hidden email]]
Yes, it should work.
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. |
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]. |
Hi erik,
I managed to get it working using the xf:send. Thanks! best, Joris |
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]. |
Free forum by Nabble | Edit this page |