Hi,
I built some forms in FormBuilder and I can access them if I put it in resources/forms. But if I create a folder xforms-test, declare the app in apps-list.xml, build a page-flow.xml insite that folder and make it load my form it gives me this error: +----------------------------------------------------------------------------------------------------------------------+ |An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |Undeclared variable in a standalone expression: $fr-resources | |----------------------------------------------------------------------------------------------------------------------| |Application Call Stack | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/xforms-hmb/view.xhtml | 14| 63|initializing XForms containing document | |oxf:/ops/pfc/xforms-epilogue.xpl | 77| 60|reading processor output | |oxf:/ops/pfc/xforms-epilogue.xpl | 88| 60|reading processor output | |oxf:/ops/pfc/xforms-epilogue.xpl | 95| 59|reading processor output | |oxf:/config/epilogue.xpl | 41| 58|reading processor output | |oxf:/config/epilogue-servlet.xpl | 31| 48|reading processor output | |oxf:/config/epilogue.xpl | 60| 46|executing processor | |oxf:/apps/xforms-hmb/page-flow.xml | 17| 47|executing processor | |oxf:/page-flow.xml | 37| 73|reading page model data output | |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.saxon.trans.XPathException | |----------------------------------------------------------------------------------------------------------------------| |org.orbeon.oxf.xml.XPathCacheStaticContext |bindVariable |XPathCacheStaticContext.java | 74| ........ |
Administrator
|
You can't really do that. Only forms under resources/forms go through
Form Runner at this time. -Erik On Fri, Oct 19, 2012 at 1:43 AM, Henrique Barros <[hidden email]> wrote: > Hi, > > I built some forms in FormBuilder and I can access them if I put it in > resources/forms. But if I create a folder xforms-test, declare the app in > apps-list.xml, build a page-flow.xml insite that folder and make it load my > form it gives me this error: > > +----------------------------------------------------------------------------------------------------------------------+ > |An Error has Occurred > | > |----------------------------------------------------------------------------------------------------------------------| > |Undeclared variable in a standalone expression: $fr-resources > | > |----------------------------------------------------------------------------------------------------------------------| > |Application Call Stack > | > |----------------------------------------------------------------------------------------------------------------------| > |oxf:/apps/xforms-hmb/view.xhtml | 14| > 63|initializing XForms containing document | > |oxf:/ops/pfc/xforms-epilogue.xpl | 77| 60|reading > processor output | > |oxf:/ops/pfc/xforms-epilogue.xpl | 88| 60|reading > processor output | > |oxf:/ops/pfc/xforms-epilogue.xpl | 95| 59|reading > processor output | > |oxf:/config/epilogue.xpl | 41| 58|reading > processor output | > |oxf:/config/epilogue-servlet.xpl | 31| 48|reading > processor output | > |oxf:/config/epilogue.xpl | 60| > 46|executing processor | > |oxf:/apps/xforms-hmb/page-flow.xml | 17| > 47|executing processor | > |oxf:/page-flow.xml | 37| 73|reading > page model data output | > |----------------------------------------------------------------------------------------------------------------------| > |Exception: org.orbeon.saxon.trans.XPathException > | > |----------------------------------------------------------------------------------------------------------------------| > |org.orbeon.oxf.xml.XPathCacheStaticContext |bindVariable > |XPathCacheStaticContext.java | 74| > ........ > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Undeclared-variable-in-a-standalone-expression-fr-resources-Error-tp4655873.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > -- 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 |
I see..
So can't I use my own Page-flow.xml and XPL Files to define a flow? Henrique |
Free forum by Nabble | Edit this page |