xforms-server-submit in URL's

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

xforms-server-submit in URL's

ncrofts
I have just updated to the Orbeon 3.71 nightly build 2010-02-25 but now some of the xforms submissions my application makes appear to result in url's ending in "xforms-server-submit". I just haven't been able to see a pattern as to why sometimes making the submission causes this behaviour.

I was previously using a nightly build dated 2009-09-10 which does not exhibit this behaviour. Is this new behaviour by design? Is there something I need to add to the config to make this work as before? Or is the way submissions supposed to be performed different these days?

I think I may have misundestood how page navigation is meant to work in Orbeon. For example, even before this issue I was finding that the URL's displayed were typically unrelated to the current action, often showing the 'previous' page address instead. This makes bookmarking any page difficult. Is there a particular reason why the url's I see don't relate to the paths in my pageflow?


Regards,
Neil

Reply | Threaded
Open this post in threaded view
|

Re: xforms-server-submit in URL's

Alessandro  Vernet
Administrator
Neil,

You are saying that you don't see xforms-server-submit in the URL
anymore. This is the result of a change / improvement we did. See:

http://wiki.orbeon.com/forms/orbeon-forms-faq/faq-xforms#TOC-What-is-the-matter-about-this-xform

And relative to the issue of seeing the "previous page in the URL",
the first paragraph in the description of this RFE attempts to explain
why this is happening:

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

Alex

On Thu, Feb 25, 2010 at 3:56 PM, ncrofts <[hidden email]> wrote:

>
> I have just updated to the Orbeon 3.71 nightly build 2010-02-25 but now some
> of the xforms submissions my application makes appear to result in url's
> ending in "xforms-server-submit". I just haven't been able to see a pattern
> as to why sometimes making the submission causes this behaviour.
>
> I was previously using a nightly build dated 2009-09-10 which does not
> exhibit this behaviour. Is this new behaviour by design? Is there something
> I need to add to the config to make this work as before? Or is the way
> submissions supposed to be performed different these days?
>
> I think I may have misundestood how page navigation is meant to work in
> Orbeon. For example, even before this issue I was finding that the URL's
> displayed were typically unrelated to the current action, often showing the
> 'previous' page address instead. This makes bookmarking any page difficult.
> Is there a particular reason why the url's I see don't relate to the paths
> in my pageflow?
>
>
> Regards,
> Neil
>
>
> --
> View this message in context: http://n4.nabble.com/xforms-server-submit-in-URL-s-tp1569945p1569945.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: xforms-server-submit in URL's

ncrofts
Hi Alex,

Actually it is the other way around. With the 25 February 2010 nightly build I have suddenly started to get "xforms-server-submit" showing up in some URL's. Previously with the 09 September 2009 build the same submissions always resulted in the URL's at least containing a path from my pageflow (although as indicated this often was one page behind where I thought it should be).

To make matters more complicated, I also have some xhtml anchors on my pages and once the "xforms-server-submit" URL's start appearing these relative links start failing. It appears that the path in the URL changes too. For example, normally my URL's are of the form:

   http://server/appContextName/subappName/pagename

but after xforms-server-submit is displayed the URL changes and the relative links now stop working, presumably because the relative address is different.

   http://server/appContextName/xforms-server-submit

I've read the pages you referenced, but I must admit I am now confused about what the recommended way should be to navigate between pages. For normal xhtml links do I now have to use absolute paths?

Regards,
Neil
Reply | Threaded
Open this post in threaded view
|

Re: Re: xforms-server-submit in URL's

Alessandro  Vernet
Administrator
Hi Neil,

The issue of the "one page behind" should be fixed as of yesterday;
see: http://n4.nabble.com/How-to-hide-the-real-URL-td1561436.html#a1570117

You should not see the xforms-server-submit, and I am interested to
know what condition would trigger this, so we can fix it. Are you
using separate deployment? Do you see a way to create a small app we
could run here to reproduce this?

Alex

On Fri, Feb 26, 2010 at 1:10 AM, ncrofts <[hidden email]> wrote:

>
> Hi Alex,
>
> Actually it is the other way around. With the 25 February 2010 nightly build
> I have suddenly started to get "xforms-server-submit" showing up in some
> URL's. Previously with the 09 September 2009 build the same submissions
> always resulted in the URL's at least containing a path from my pageflow
> (although as indicated this often was one page behind where I thought it
> should be).
>
> To make matters more complicated, I also have some xhtml anchors on my pages
> and once the "xforms-server-submit" URL's start appearing these relative
> links start failing. It appears that the path in the URL changes too. For
> example, normally my URL's are of the form:
>
>   http://server/appContextName/subappName/pagename
>
> but after xforms-server-submit is displayed the URL changes and the relative
> links now stop working, presumably because the relative address is
> different.
>
>   http://server/appContextName/xforms-server-submit
>
> I've read the pages you referenced, but I must admit I am now confused about
> what the recommended way should be to navigate between pages. For normal
> xhtml links do I now have to use absolute paths?
>
> Regards,
> Neil
> --
> View this message in context: http://n4.nabble.com/xforms-server-submit-in-URL-s-tp1569945p1570347.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: xforms-server-submit in URL's

ncrofts
Hi Alex,

I had a brief look at the "one page behind" fix and that certainly seems to help greatly. Thank you very much for that advice.

I'll try and put together a standalone test, although it may take a while for me to sort that out, but I will endeavour to do so. We're not actually using a separate deployment yet, although this is something I would like to move towards in the near future.

Regards,
Neil
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: xforms-server-submit in URL's

Alessandro  Vernet
Administrator
Neil,

Of course, there is no rush. Just let us know when you have that
example we can use to reproduce the "xforms-server-submit" showing up
in the URL, and we'll have a look at it.

Alex

On Sun, Feb 28, 2010 at 7:02 AM, ncrofts <[hidden email]> wrote:

>
> Hi Alex,
>
> I had a brief look at the "one page behind" fix and that certainly seems to
> help greatly. Thank you very much for that advice.
>
> I'll try and put together a standalone test, although it may take a while
> for me to sort that out, but I will endeavour to do so. We're not actually
> using a separate deployment yet, although this is something I would like to
> move towards in the near future.
>
> Regards,
> Neil
>
> --
> View this message in context: http://n4.nabble.com/xforms-server-submit-in-URL-s-tp1569945p1572683.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet