Does Orbeon implement the target attribute for a submission? I can't
seem to get it to put the response into a different instance. That is
what it's for, isn't it?
Here's the relevant snippet: <xforms:submission id="query-submission" method="post" ref="instance('query-authority')" action="http://localhost:8008/xmlview" replace="instance" target="instance('authorities')"> <xforms:message ev:event="xforms-submit-error" level="modal">An error occurred while posting instance document!</xforms:message> </xforms:submission> Thanks, -Jim -- 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
|
Jim,
On Wed, Jun 4, 2008 at 3:57 PM, Jim Logan <[hidden email]> wrote: > Does Orbeon implement the target attribute for a submission? I can't seem to > get it to put the response into a different instance. That is what it's for, > isn't it? Yes, target="instance('authorities')" is supported. Are you using a recent nightly build? 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 |
Alessandro Vernet wrote:
> Jim, > > On Wed, Jun 4, 2008 at 3:57 PM, Jim Logan <[hidden email]> wrote: > >> Does Orbeon implement the target attribute for a submission? I can't seem to >> get it to put the response into a different instance. That is what it's for, >> isn't it? >> > > Yes, target="instance('authorities')" is supported. Are you using a > recent nightly build? > > Alex > Thanks, -Jim -- 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
|
On Wed, Jun 4, 2008 at 5:20 PM, Jim Logan <[hidden email]> wrote:
> Yes, from a few days ago. I can try the latest tomorrow... You'll let us know, and if you still see the problem, could you attach a simple example we can run in the sandbox to reproduce it? Thanks! 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 |
Administrator
|
In reply to this post by Jim Logan-3
With replace="instance", you can use instance="authorities" instead.
We support target only for replace="text" at the moment. -Erik On Jun 5, 2008, at 12:57 AM, Jim Logan wrote: > Does Orbeon implement the target attribute for a submission? I can't > seem to get it to put the response into a different instance. That > is what it's for, isn't it? > > Here's the relevant snippet: > <xforms:submission > id="query-submission" > method="post" > ref="instance('query-authority')" > action="http://localhost:8008/xmlview" > replace="instance" > target="instance('authorities')"> > <xforms:message > ev:event="xforms-submit-error" > level="modal">An error occurred while posting instance > document!</xforms:message> > </xforms:submission> > > > Thanks, > -Jim > > > -- > 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 for the Enterprise Done the Right Way 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
Alessandro Vernet wrote:
> On Wed, Jun 4, 2008 at 5:20 PM, Jim Logan <[hidden email]> wrote: > >> Yes, from a few days ago. I can try the latest tomorrow... >> > > You'll let us know, and if you still see the problem, could you attach > a simple example we can run in the sandbox to reproduce it? Thanks! > > Alex > This is still broken in the nightly build I just installed. I don't have an example that runs without a special server. I'll see if I can cobble together a new example if you don't beat me to it. Thanks, -Jim -- 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 |
In reply to this post by Erik Bruchez
Erik Bruchez wrote:
> With replace="instance", you can use instance="authorities" instead. > > We support target only for replace="text" at the moment. Ah, that's the problem! Your suggestion worked. Thank you, Erik! -Jim -- 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 |