Something like this:
<p:param type="input" name="instance"/> <p:param type="output" name="definicion_escala"/> <p:param type="output" name="escalas_rellenas"/> is supposed to be available in an xhtml view as: <xforms:instance id="inst_cuestionario" src="input:definicion_escala"/> it doesn't work for me...i got a Cannot find input "definicion_escala" -- 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 |
Currently Orbeon only supports 2 inputs into XHTML views, instance and data
Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Richard C. Hidalgo Lorite [mailto:[hidden email]] Sent: 06 October 2008 12:40 To: [hidden email] Subject: [ops-users] Understanding how to grab xpl outputs from the view. Something like this: <p:param type="input" name="instance"/> <p:param type="output" name="definicion_escala"/> <p:param type="output" name="escalas_rellenas"/> is supposed to be available in an xhtml view as: <xforms:instance id="inst_cuestionario" src="input:definicion_escala"/> it doesn't work for me...i got a Cannot find input "definicion_escala" ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 |
On Mon, 6 Oct 2008 12:51:02 +0100
"Ryan Puddephatt" <[hidden email]> wrote: > Currently Orbeon only supports 2 inputs into XHTML views, instance and data > > Ryan thx. being that one is supposed to aggregate heterogeneous data in one output, haw can one to split later in the xhtml thata data and assign that pieces to instance: having this at the model xpl: <p:processor name="oxf:identity"> <p:input name="data" href="aggregate('resultado', #definicionEscala, #cuestionariosRellenos)"/> <p:output name="data" ref="data"/> </p:processor> I want something working at the xhtml like this: <xforms:instance id="inst_cuestionario"> <xi:include href="input:data#xpointer(/resultado/cuestionario)"/> </xforms:instance> but it does not work.... thx a lot rich -- 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 |
Richard, > having this at the model xpl: > > <p:processor name="oxf:identity"> > <p:input name="data" href="aggregate('resultado', #definicionEscala, > #cuestionariosRellenos)"/> > <p:output name="data" ref="data"/> > </p:processor> > > I want something working at the xhtml like this: > > <xforms:instance id="inst_cuestionario"> > <xi:include href="input:data#xpointer(/resultado/cuestionario)"/> > </xforms:instance> > > but it does not work.... and like passing other variables, it may not be supported. You may be required to use <group ref="/resultado/cuestionario"> which should work to change the relative xpath, even if it does not create a separate instance. Have you tried to create an instance using src=doc('input:data')/resultatdo/cuestionario" -- I'm not certain this will work... --Hank -- 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 richhl
> although it was a long time ago, so give it a go.
> > <xi:include href="input:data" xpointer="/resultado/cuestionario"/> does not work, neither throw an error. It simply grab all input:data stuff. thx. maybe not implemented. -- 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 Hank Ratzesberger
>
> I have not tried using xpointer functions in the xhtml view, > and like passing other variables, it may not be supported. > > You may be required to use <group ref="/resultado/cuestionario"> this works. thx. > which should work to change the relative xpath, even if it does > not create a separate instance. Have you tried to create an > instance using src=doc('input:data')/resultatdo/cuestionario" -- > I'm not certain this will work... > <xforms:instance id="inst_cuestionario" src="doc('input:data')/resultado/cuestionario"/> throws: Illegal character in scheme name at index 3: doc('input:data')/resultado/cuestionario <xforms:instance id="inst_cuestionario"> <xi:include href="doc('input:data')/resultado/cuestionario"/> </xforms:instance> throws: Cannot load "/apps/neuro/mas/doc('input:data')/resultado/cuestionario" with webapp loader thx. -- 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 richhl
Richard shouldn't this be
<xforms:instance id="inst_cuestionario"> <xi:include href="input:data" xpointer="/resultado/cuestionario"/> </xforms:instance> You sort of mixed xpath syntax with xi syntax. Of course you could make this a stylesheet if your more familiar with xslt Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com ----- Original Message ----- From: Richard C. Hidalgo Lorite <[hidden email]> To: [hidden email] <[hidden email]> Cc: [hidden email] <[hidden email]> Sent: Tue Oct 07 08:58:35 2008 Subject: [ops-users] Re: Re: Re: RE: Understanding how to grab xpl outputs from the view. > > I have not tried using xpointer functions in the xhtml view, > and like passing other variables, it may not be supported. > > You may be required to use <group ref="/resultado/cuestionario"> this works. thx. > which should work to change the relative xpath, even if it does > not create a separate instance. Have you tried to create an > instance using src=doc('input:data')/resultatdo/cuestionario" -- > I'm not certain this will work... > <xforms:instance id="inst_cuestionario" src="doc('input:data')/resultado/cuestionario"/> throws: Illegal character in scheme name at index 3: doc('input:data')/resultado/cuestionario <xforms:instance id="inst_cuestionario"> <xi:include href="doc('input:data')/resultado/cuestionario"/> </xforms:instance> throws: Cannot load "/apps/neuro/mas/doc('input:data')/resultado/cuestionario" with webapp loader thx. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 |
On Tue, 7 Oct 2008 09:05:33 +0100
"Ryan Puddephatt" <[hidden email]> wrote: > Richard shouldn't this be > > <xforms:instance id="inst_cuestionario"> > <xi:include href="input:data" xpointer="/resultado/cuestionario"/> > </xforms:instance> yes I use what you have typed in my xhtml, result: does not work, neither throw an error. It simply grab all input:data stuff into inst_cuestionario. thx. -- 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 richhl
> <xforms:instance id="inst_cuestionario" src="doc('input:data')/
> resultado/cuestionario"/> The value of the @src attribute must be a URI. You are passing an XPath expression, so that won't work. -Erik -- 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 |
Administrator
|
In reply to this post by richhl
Our XInclude implementation does not support XPointer, which explains
the problem. Maybe we should throw an error though! -Erik On Oct 7, 2008, at 12:46 AM, Richard C. Hidalgo Lorite wrote: >> although it was a long time ago, so give it a go. >> >> <xi:include href="input:data" xpointer="/resultado/cuestionario"/> > > does not work, neither throw an error. It simply grab all input:data > stuff. > > thx. > > maybe not implemented. 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 |
Administrator
|
In reply to this post by richhl
> does not work, neither throw an error. It simply grab all input:data
> stuff into inst_cuestionario. What you can do is: 1. Load all the data into the instance using src="input:data" or src="input:instance". 2. Extract the subset of the data upon xforms-model-construct-done, e.g.: <xforms:insert ev:event="xforms-model-construct-done" nodeset="/*" origin="/resultado/cuestionario"/> -Erik -- 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 |
Free forum by Nabble | Edit this page |