Dear group,
I got a strange issue with my code. I use one of the latest builds of OPS. This code works fine (i.e. I get a file name box and a browa button: ---snip--- <xforms:group ref="instance('main-instance')/file"> <xforms:upload ref="."> <xforms:label>Choix du fichier à charger: </xforms:label> </xforms:upload> </xforms:group> ---snip--- BUT, when I amend my code and add a trigger, I get an OPS message (and the page does not display). ---snip--- <xforms:group ref="instance('main-instance')/file"> <xforms:upload ref="."> <xforms:label>Choix du fichier à charger: </xforms:label> </xforms:upload> <trigger ref="."> <xforms:label>Quitter</xforms:label> </trigger> </xforms:group> ---snip--- OPS Message: Processing terminated by xsl:message at line 146 in xforms-to-xhtml.xsl Call stack: oxf:/config/xforms-to-xhtml.xsl 436 N/A oxf:/config/xforms-to-xhtml.xsl N/A N/A oxf:/ops/pfc/xforms-epilogue.xpl 53 56 reading processor output (name='data', id='xhtml-data') <p:output name="data" id="xhtml-data"/> oxf:/ops/pfc/xforms-epilogue.xpl 61 67 reading processor output (name='data', ref='xformed-data') <p:output name="data" ref="xformed-data"/> oxf:/config/epilogue.xpl 41 58 reading processor output (name='xformed-data', id='xformed-data') <p:output name="xformed-data" id="xformed-data"/> oxf:/config/epilogue-servlet.xpl 30 48 reading processor output (name='xformed-data') <p:param type="input" name="xformed-data"/> oxf:/config/epilogue.xpl 59 46 executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline') <p:processor name="oxf:pipeline">...</p:processor> oxf:/CLL/apps/pharma/app/upload/page-flow.xml 29 47 executing processor (name='{http://www.orbeon.com/oxf/processors}pipeline') oxf:/CLL/apps/pharma/app/upload/page-flow.xpl 17 39 executing processor (name='{http://www.orbeon.com/oxf/processors}page-flow') <p:processor name="oxf:page-flow">...</p:processor> oxf:/page-flow.xml 33 104 reading page model data output (page id='pharma-upload', model='/CLL/apps/pharma/app/upload/page-flow.xpl') <page id="pharma-upload" path-info="/rp/upload" model="/CLL/apps/pharma/app/upload/page-flow.xpl"/> Can someone help me to understand what is happening ? Kind regards, -- Martin Mohnhaupt Nice Data Systems Rue de Lyon 42 - CH 1203 GENEVE Tél: +41 (0) 22 344 11 39 Mob: +41 (0) 78 636 00 75 Email: [hidden email] Web: http://www.nicedata.com Skype: martin.mohnhaupt -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Martin,
If you get a message referring to xforms-to-xhtml.xsl, it means you are using the legacy XForms engine. Is that on purpose? See the following FAQ entries: http://www.orbeon.com/ops/doc/home-faq#xforms-classic-ng http://www.orbeon.com/ops/doc/home-faq#xforms-classic-or-ng http://www.orbeon.com/ops/doc/home-faq#xforms-classic-deprecation http://www.orbeon.com/ops/doc/home-faq#xforms-classic-migration -Erik Martin Mohnhaupt wrote: > Dear group, > > I got a strange issue with my code. I use one of the latest builds of OPS. > > This code works fine (i.e. I get a file name box and a browa button: > > ---snip--- > <xforms:group ref="instance('main-instance')/file"> > <xforms:upload ref="."> > <xforms:label>Choix du fichier à charger: </xforms:label> > </xforms:upload> > </xforms:group> > ---snip--- > > BUT, when I amend my code and add a trigger, I get an OPS message (and > the page does not display). > > ---snip--- > <xforms:group ref="instance('main-instance')/file"> > <xforms:upload ref="."> > <xforms:label>Choix du fichier à charger: </xforms:label> > </xforms:upload> > <trigger ref="."> > <xforms:label>Quitter</xforms:label> > </trigger> > </xforms:group> > ---snip--- > > OPS Message: Processing terminated by xsl:message at line 146 in > xforms-to-xhtml.xsl > > Call stack: > > oxf:/config/xforms-to-xhtml.xsl 436 N/A > oxf:/config/xforms-to-xhtml.xsl N/A N/A > oxf:/ops/pfc/xforms-epilogue.xpl 53 56 reading processor > output (name='data', id='xhtml-data') <p:output name="data" > id="xhtml-data"/> > oxf:/ops/pfc/xforms-epilogue.xpl 61 67 reading processor > output (name='data', ref='xformed-data') <p:output name="data" > ref="xformed-data"/> > oxf:/config/epilogue.xpl 41 58 reading processor output > (name='xformed-data', id='xformed-data') <p:output > name="xformed-data" id="xformed-data"/> > oxf:/config/epilogue-servlet.xpl 30 48 reading processor > output (name='xformed-data') <p:param type="input" > name="xformed-data"/> > oxf:/config/epilogue.xpl 59 46 executing processor > (name='{http://www.orbeon.com/oxf/processors}pipeline') > <p:processor name="oxf:pipeline">...</p:processor> > oxf:/CLL/apps/pharma/app/upload/page-flow.xml 29 47 > executing processor > (name='{http://www.orbeon.com/oxf/processors}pipeline') > oxf:/CLL/apps/pharma/app/upload/page-flow.xpl 17 39 > executing processor > (name='{http://www.orbeon.com/oxf/processors}page-flow') > <p:processor name="oxf:page-flow">...</p:processor> > oxf:/page-flow.xml 33 104 reading page model data output > (page id='pharma-upload', > model='/CLL/apps/pharma/app/upload/page-flow.xpl') <page > id="pharma-upload" path-info="/rp/upload" > model="/CLL/apps/pharma/app/upload/page-flow.xpl"/> > > Can someone help me to understand what is happening ? > > Kind regards, > > > > -- > Martin Mohnhaupt > Nice Data Systems > Rue de Lyon 42 - CH 1203 GENEVE > Tél: +41 (0) 22 344 11 39 > Mob: +41 (0) 78 636 00 75 > Email: [hidden email] > Web: http://www.nicedata.com > Skype: martin.mohnhaupt > > > ------------------------------------------------------------------------ > > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thank you Erik,
I was using the classic way. I corrected the code accordingly (NG) and it works :-) Thank a lor ! -Martin Erik Bruchez wrote: Martin, -- Martin Mohnhaupt Nice Data Systems Rue de Lyon 42 - CH 1203 GENEVE Tél: +41 (0) 22 344 11 39 Mob: +41 (0) 78 636 00 75 Email: [hidden email] Web: http://www.nicedata.com Skype: martin.mohnhaupt -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |