Hello In my <xforms:submission I submit directly to another page by the attribute action. page-flow.xml : <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="/JBIT-calculator/" default-submission="fluxConnexion.xml" view="view_pageConnexion.xsl"/> <page id="toto" path-info="/JBIT-calculator/toto" model="model.xpl"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> view_pageConnexion.xsl : <xforms:submission id="Envoyer" action="/JBIT-calculator/toto" method="post"/> So when I submit , the model.xpl is executed and a file is generated with http-serializer. So there isn't a new view in the main page. And in this main page, the "Loading.." picture doesn't disappear. Do you know why ? Thank You. -- 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,
You may need to specify an instance="" attribute and/or replace="none" attribute. Indeed, I'm surprised there was no error if indeed you have no instance to post. HTH, Hank On Mar 5, 2008, at 9:11 AM, julien wrote: > > Hello > > In my <xforms:submission I submit directly to another page by the > attribute > action. > > page-flow.xml : > <config xmlns="http://www.orbeon.com/oxf/controller"> > <page path-info="/JBIT-calculator/" default- > submission="fluxConnexion.xml" > view="view_pageConnexion.xsl"/> > <page id="toto" path-info="/JBIT-calculator/toto" model="model.xpl"/> > <epilogue url="oxf:/config/epilogue.xpl"/> > </config> > > view_pageConnexion.xsl : > <xforms:submission id="Envoyer" action="/JBIT-calculator/toto" > method="post"/> > > So when I submit , the model.xpl is executed and a file is > generated with > http-serializer. So there isn't a new view in the main page. > And in this main page, the "Loading.." picture doesn't disappear. > > Do you know why ? > > Thank You. > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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
|
Hank,
On Wed, Mar 5, 2008 at 3:26 PM, Hank Ratzesberger <[hidden email]> wrote: > You may need to specify an instance="" attribute and/or > replace="none" attribute. Indeed, I'm surprised there was > no error if indeed you have no instance to post. In this case, I think that Julien is running a submission replace="all" (since he doesn't have a replace attribute). 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/ -- 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 julien-29
Julien,
On Wed, Mar 5, 2008 at 9:11 AM, julien <[hidden email]> wrote: > So when I submit , the model.xpl is executed and a file is generated with > http-serializer. So there isn't a new view in the main page. > And in this main page, the "Loading.." picture doesn't disappear. Mmmh... sounds like a bug. Do you see any JavaScript error when the target page loads in the browser after the submission? If you don't, can you try this with a nightly build (link below)? If you can reproduce the issue in the nightly build, is there a way you can simplify what you have and send us an example we can reproduce? http://tinyurl.com/2tr6f8 (temporary link; will expire) 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/ -- 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 |
Hello I see no Javascript error. I reproduce the issue in the nightly build. How can I send you the example ? -- 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
|
Julien,
On Thu, Mar 6, 2008 at 4:12 AM, julien <[hidden email]> wrote: > I see no Javascript error. > I reproduce the issue in the nightly build. > How can I send you the example ? I received your example (private email). Feel free to send this to the list in the future (small attachments are OK). Since you the result of your submission is "something" that does not replace the current page, you need to add the attribute xxforms:show-progress="false" on the <xforms:submission> element. In general this happens when you are serving a file for the user to download (e.g. PDF, Word document, ...). You can find more about this on: http://www.orbeon.com/ops/doc/reference-xforms-2#submission-show-progress 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/ -- 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 |
Ok. Thank you. -----Message d'origine----- De : [hidden email] [mailto:[hidden email]] De la part de Alessandro Vernet Envoyé : mardi 11 mars 2008 02:47 À : [hidden email] Objet : [ops-users] Re: Re: sumbit directly to another page Julien, On Thu, Mar 6, 2008 at 4:12 AM, julien <[hidden email]> wrote: > I see no Javascript error. > I reproduce the issue in the nightly build. > How can I send you the example ? I received your example (private email). Feel free to send this to the list in the future (small attachments are OK). Since you the result of your submission is "something" that does not replace the current page, you need to add the attribute xxforms:show-progress="false" on the <xforms:submission> element. In general this happens when you are serving a file for the user to download (e.g. PDF, Word document, ...). You can find more about this on: http://www.orbeon.com/ops/doc/reference-xforms-2#submission-show-progress 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/ This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- 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 |