Changes to the upload control

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

Changes to the upload control

Chris Bailey-2
After a recent upgrade to 3.5.1.200704201904 from 3.5.0 I notice my upload
control doesn't seem to be working.

null, line -1, column -1, description executing processor:
oxf:/ops/xforms/xforms-server-submit.xpl, line 61, column 43, description
executing processor: null, line -1, column -1: Path
http://localhost:8080/app/db/files/upload.jsp does not start with a "/"
character

In my model I have:
<xf:submission id="main-submission" ref="instance('main-instance')"
separator="&amp;amp;" method="post" replace="all"
action="/app/db/files/upload.jsp">
</xf:submission>

I'm using xforms from within my own set of JSPX pages, bypassing the xml
pipeline. This used to work under the previous versions of xforms that I
had tried.

Chris.




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the upload control

Alessandro Vernet
Administrator
Hi Chris,

Would you have a JSP file we can drop in the xforms-jsp directory to
reproduce this?

Alex

On 4/24/07, Chris Bailey <[hidden email]> wrote:

> After a recent upgrade to 3.5.1.200704201904 from 3.5.0 I notice my upload
> control doesn't seem to be working.
>
> null, line -1, column -1, description executing processor:
> oxf:/ops/xforms/xforms-server-submit.xpl, line 61, column 43, description
> executing processor: null, line -1, column -1: Path
> http://localhost:8080/app/db/files/upload.jsp does not start with a "/"
> character
>
> In my model I have:
> <xf:submission id="main-submission" ref="instance('main-instance')"
> separator="&amp;amp;" method="post" replace="all"
> action="/app/db/files/upload.jsp">
> </xf:submission>
>
> I'm using xforms from within my own set of JSPX pages, bypassing the xml
> pipeline. This used to work under the previous versions of xforms that I
> had tried.
>
> Chris.
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the upload control

Chris Bailey-2
Here is an example for you to try dropping into xforms-jsp/.

I have taken the code from my existing app so cannot guarantee that
upload.jsp works correctly but currently if you try to view index.jsp,
select a file and click the upload button you will get the error mentioned.

Chris.

--On 24 April 2007 16:43 -0700 Alessandro Vernet <[hidden email]> wrote:

> Hi Chris,
>
> Would you have a JSP file we can drop in the xforms-jsp directory to
> reproduce this?
>
> Alex
>
> On 4/24/07, Chris Bailey <[hidden email]> wrote:
>> After a recent upgrade to 3.5.1.200704201904 from 3.5.0 I notice my
>> upload control doesn't seem to be working.
>>
>> null, line -1, column -1, description executing processor:
>> oxf:/ops/xforms/xforms-server-submit.xpl, line 61, column 43, description
>> executing processor: null, line -1, column -1: Path
>> http://localhost:8080/app/db/files/upload.jsp does not start with a "/"
>> character
>>
>> In my model I have:
>> <xf:submission id="main-submission" ref="instance('main-instance')"
>> separator="&amp;amp;" method="post" replace="all"
>> action="/app/db/files/upload.jsp">
>> </xf:submission>
>>
>> I'm using xforms from within my own set of JSPX pages, bypassing the xml
>> pipeline. This used to work under the previous versions of xforms that I
>> had tried.
>>
>> Chris.
>>
>>
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>


--
----------------------
Chris Bailey
[hidden email]

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

uploadtest.zip (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Changes to the upload control

Alessandro Vernet
Administrator
Chris,

Thank you for the test case! I was able to reproduce this, and I added
a bug for this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306964&group_id=168&atid=350207

Waiting for us to fix this bug, you can get around it by changing your
config/properties.xml and setting oxf.xforms.optimize-local-submission
to false.

Alex

On 4/25/07, Chris Bailey <[hidden email]> wrote:

> Here is an example for you to try dropping into xforms-jsp/.
>
> I have taken the code from my existing app so cannot guarantee that
> upload.jsp works correctly but currently if you try to view index.jsp,
> select a file and click the upload button you will get the error mentioned.
>
> Chris.
>
> --On 24 April 2007 16:43 -0700 Alessandro Vernet <[hidden email]> wrote:
>
> > Hi Chris,
> >
> > Would you have a JSP file we can drop in the xforms-jsp directory to
> > reproduce this?
> >
> > Alex
> >
> > On 4/24/07, Chris Bailey <[hidden email]> wrote:
> >> After a recent upgrade to 3.5.1.200704201904 from 3.5.0 I notice my
> >> upload control doesn't seem to be working.
> >>
> >> null, line -1, column -1, description executing processor:
> >> oxf:/ops/xforms/xforms-server-submit.xpl, line 61, column 43, description
> >> executing processor: null, line -1, column -1: Path
> >> http://localhost:8080/app/db/files/upload.jsp does not start with a "/"
> >> character
> >>
> >> In my model I have:
> >> <xf:submission id="main-submission" ref="instance('main-instance')"
> >> separator="&amp;amp;" method="post" replace="all"
> >> action="/app/db/files/upload.jsp">
> >> </xf:submission>
> >>
> >> I'm using xforms from within my own set of JSPX pages, bypassing the xml
> >> pipeline. This used to work under the previous versions of xforms that I
> >> had tried.
> >>
> >> Chris.
> >>
> >>
> >>
> >>
> >> --
> >> 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
> >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>
>
>
>
> --
> ----------------------
> Chris Bailey
> [hidden email]
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws