Hi all, I have a simple submission that submits an instance and replaces another one with the result:
<xforms:instance xmlns="" id="input-parameters"> <data> <param1></param1> </data> </xforms:instance> <xforms:instance xmlns="" id="submit-results"> <data/> </xforms:instance> <xforms:submission id="get-instance" method="get" replace="instance" instance="submit-results" ref="instance('input-parameters')" separator="&" action="/xFormsViews/searchRequests/prueba.jsp"> <xforms:message ev:event="xforms-submit-error" level="modal">SUBMIT ERROR</xforms:message> </xforms:submission> This works perfectly in XForms plugin for firefox 3, but when I try it with orbeon, it displays the SUBMIT ERROR message. As I said before, I am using orbeon as a separately WAR, with the orbeon-xforms-filter included in my project . The file orbeon.log says: 2008-10-09 12:43:57,890 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line 28 of oxf:/config/xforms-widgets.xsl (processing submission response): xforms:submission for submission id: get-instance, error code received when submitting instance: 404 oxf:/config/xforms-widgets.xsl, line 28, column -1: xforms:submission for submission id: get-instance, error code received when submitting instance: 404 at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:1073) at org.orbeon.oxf.xforms.XFormsContainer.dispatchEvent(XFormsContainer.java:710) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1007) ........... ........... any suggestion? tanks.. Nestor Oviedo -- 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 |
Administrator
|
Nestor,
On Oct 9, 2008, at 9:29 AM, Nestor Oviedo wrote: > <xforms:submission id="get-instance" method="get" replace="instance" > instance="submit-results" > ref="instance('input-parameters')" separator="&" action="/ > xFormsViews/searchRequests/prueba.jsp"> > <xforms:message ev:event="xforms-submit-error" > level="modal">SUBMIT ERROR</xforms:message> > </xforms:submission> > > This works perfectly in XForms plugin for firefox 3, but when I > try it with orbeon, it displays the SUBMIT ERROR message. > As I said before, I am using orbeon as a separately WAR, with > the orbeon-xforms-filter included in my project . > > The file orbeon.log says: > > 2008-10-09 12:43:57,890 ERROR XFormsServer - XForms - submission - > xforms-submit-error throwable: > org.orbeon.oxf.xforms.XFormsModelSubmission > $XFormsSubmissionException: line 28 of oxf:/config/xforms- > widgets.xsl (processing submission response): xforms:submission for > submission id: get-instance, error code received when submitting > instance: 404 > oxf:/config/xforms-widgets.xsl, line 28, column -1: > xforms:submission for submission id: get-instance, error code > received when submitting instance: in a 404. Is there really something at this path? There is maybe an issue of path rewrite. Does it work if you specify the host name with a full path there (http://localhost:8080/...)? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 |
Hi
Yes, the path "/xFormsViews/searchRequests/prueba.jsp" is ok. Now, with the full path ("http://localhost:8080/xFormsViews/searchRequests/prueba.jsp") Orbeon works without problems, but it's still doesn't work without the "http://localhost:8080/" part . I'm working with the nightly build of 2008-10-09 . I will download the last nigthly buil and probe it to see if there are any changes . Tanks Nestor Oviedo On Sun, Oct 19, 2008 at 4:20 AM, Alessandro Vernet <[hidden email]> wrote: Nestor, -- 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 |
Hi again..
Today (2008-10-23), I was dowloaded the last nigthly build and the problem persists. Regards Nestor Oviedo On Thu, Oct 23, 2008 at 12:24 PM, Nestor Oviedo <[hidden email]> wrote: Hi -- 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 |
Administrator
|
In reply to this post by Nestor Oviedo
Mmmh, is the service you are calling in a different context? That is deployed in a different war than Orbeon Forms? That would explain the path issue. Alex
-- 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 |
Administrator
|
In reply to this post by Nestor Oviedo
On Thu, Oct 23, 2008 at 3:53 PM, Nestor Oviedo <[hidden email]> wrote:
> Today (2008-10-23), I was dowloaded the last nigthly build and the problem > persists. If Orbeon Forms says it got a 404 (not found) when running the submission, it is probably because it did ;). Now of course the question is why. In all likelihood, this is a path problem. That is: your path is not pointing where you think it does. Could you try using TCPMon (or similar) to see where the request goes, and what exactly is returned? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 |
Free forum by Nabble | Edit this page |