This is a resurrection of
http://mail.ow2.org/wws/arc/ops-users/2008-09/msg00227.html I've been instructed by Erik to: "I notice that the current epilogue-servlet.xpl does not seem to pass the "instance" input to the theme: <p:processor name="oxf:unsafe-xslt"> <p:input name="data" href="#xformed-data"/> <p:input name="request" href="#request"/> <p:input name="config" href="#theme"/> <p:output name="data" id="themed-data"/> </p:processor> I am not sure why this was changed, but I suppose we can connect it back: * Uncomment <p:param type="input" name="instance"/> * Add <p:input name="instance" href="#instance"/> to oxf:unsafe-xslt above" I've done this in my epilogue servlet but this line at my associated theme xsl: <xsl:variable name="id_escala" select="doc('input:instance')/id_escala" as="xs:string"/> throws an empty sequence error. any advice? thx a lot. -- 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 |
is anybody out there? ;-)
On Fri, 24 Oct 2008 13:37:13 +0100 [hidden email] wrote: > This is a resurrection of > http://mail.ow2.org/wws/arc/ops-users/2008-09/msg00227.html > > I've been instructed by Erik to: > > "I notice that the current epilogue-servlet.xpl does not > seem to pass the "instance" input to the theme: > > <p:processor name="oxf:unsafe-xslt"> > <p:input name="data" href="#xformed-data"/> > <p:input name="request" href="#request"/> > <p:input name="config" href="#theme"/> > <p:output name="data" id="themed-data"/> > </p:processor> > > I am not sure why this was changed, but I suppose we can > connect it back: > > * Uncomment <p:param type="input" name="instance"/> > * Add <p:input name="instance" href="#instance"/> to > oxf:unsafe-xslt above" > > I've done this in my epilogue servlet but this line at my > associated theme xsl: > > <xsl:variable name="id_escala" > select="doc('input:instance')/id_escala" as="xs:string"/> > > throws an empty sequence error. > > any advice? > > thx a lot. -- 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
|
Those out there are just very busy ;-)
This seems to work for me with the epilogues in the nightly build. -Erik On Oct 30, 2008, at 1:58 AM, Richard C. Hidalgo Lorite wrote: > is anybody out there? ;-) > > On Fri, 24 Oct 2008 13:37:13 +0100 > [hidden email] wrote: > >> This is a resurrection of >> http://mail.ow2.org/wws/arc/ops-users/2008-09/msg00227.html >> >> I've been instructed by Erik to: >> >> "I notice that the current epilogue-servlet.xpl does not >> seem to pass the "instance" input to the theme: >> >> <p:processor name="oxf:unsafe-xslt"> >> <p:input name="data" href="#xformed-data"/> >> <p:input name="request" href="#request"/> >> <p:input name="config" href="#theme"/> >> <p:output name="data" id="themed-data"/> >> </p:processor> >> >> I am not sure why this was changed, but I suppose we can >> connect it back: >> >> * Uncomment <p:param type="input" name="instance"/> >> * Add <p:input name="instance" href="#instance"/> to >> oxf:unsafe-xslt above" >> >> I've done this in my epilogue servlet but this line at my >> associated theme xsl: >> >> <xsl:variable name="id_escala" >> select="doc('input:instance')/id_escala" as="xs:string"/> >> >> throws an empty sequence error. >> >> any advice? >> >> thx a lot. > > -- > 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 |
Free forum by Nabble | Edit this page |