issues in xform submission action mapping in 3.6

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

issues in xform submission action mapping in 3.6

Mei Wu-2
Hello,

We are in the process of upgrading our Orbeon framework from 3.5 to 3.6.
One thing I'm trying to figure out which worked in 3.5 but not in 3.6 is
the xforms:submission action mapping to a page.

We have this xform:submission in our xform (produced by a java class)
       <xforms:submission id="default-submission" method="post"
action="../worklist/save.view?taskId=<%=taskId%>&userId=<%=mUserId%>
&claimedBy=<%=mClaimedBy%>  separator="&amp;"
       replace="all"/>

<%=xxx%>  are replaced by variable values.

We have this in page-flow.xml:

<page path-info="/worklist/save.view" model="worklist/saveOutput.xpl"  />

Now, with 3.6, we got:
PWC1222: Path
http://localhost:8080/WorklistWebApplication/worklist/save.view?taskId=5&userId=john&claimedBy=john 
does not start with a "/" character

oxf:/config/xforms-widgets.xsl      27      N/A     processing submission
dispatching XForms event
event \u2192 xxforms-submit
target id \u2192 default-submission
   <submission
action="../worklist/save.view?taskId=5&userId=john&claimedBy=john"
id="default-submission" method="post" replace="all" separator="&"/>

Any help will be appreciated.

Thanks
Mei


--
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: issues in xform submission action mapping in 3.6

Alessandro Vernet
Administrator
Mei,

On Oct 2, 2008, at 8:30 AM, Mei Wu wrote:

> We have this xform:submission in our xform (produced by a java class)
>      <xforms:submission id="default-submission" method="post"  
> action="../worklist/save.view?taskId=<%=taskId%>&userId=<%=mUserId%>  
> &claimedBy=<%=mClaimedBy%>  separator="&amp;"
>      replace="all"/>
>
> <%=xxx%>  are replaced by variable values.
>
> We have this in page-flow.xml:
>
> <page path-info="/worklist/save.view" model="worklist/
> saveOutput.xpl"  />
>
> Now, with 3.6, we got:
> PWC1222: Path http://localhost:8080/WorklistWebApplication/worklist/save.view?taskId=5&userId=john&claimedBy=john 
>  does not start with a "/" character

I have never seen this, and it looks like a bug. Would you be able to  
produce a test case which is as simple as possible, and that we can  
run here to reproduce the problem?

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