I am interested in displaying/hiding sections in Orbeon xForm developed outside of form builder similar to form builder section behavior. The only thing I came across similar is the accordion component. I included the xbl/orbeon/accordion/accordion.xbl, accordion.js, accordion-menu-v2.js, accordion.xsl and oxf/xslt/utilities/xbl.xsl folder under resources directory. Modified properties-xforms.xml to exclude fr:case and fr:label. I put the accordion example provided by orbeon xbl wiki in xhtml file and the accordion displays, but the two cases do not open or close.
Question 1: Did I miss something when piecing all of this together? Question 2: Is their a way to implement the form builder sections functionality/appearance outside of orbeon? Thank you. |
Administrator
|
To use the accordion, you should just be able to use <fr:accordion> in
your page. No need to manually include JavaScript files or the likes. http://wiki.orbeon.com/forms/doc/developer-guide/xbl-existing-xbl-components#TOC-Accordion-menu What do you mean by outside of Orbeon? -Erik On Tue, Feb 9, 2010 at 8:26 PM, bsteuhl <[hidden email]> wrote: > > I am interested in displaying/hiding sections in Orbeon xForm developed > outside of form builder similar to form builder section behavior. The only > thing I came across similar is the accordion component. I included the > xbl/orbeon/accordion/accordion.xbl, accordion.js, accordion-menu-v2.js, > accordion.xsl and oxf/xslt/utilities/xbl.xsl folder under resources > directory. Modified properties-xforms.xml to exclude fr:case and fr:label. > I put the accordion example provided by orbeon xbl wiki in xhtml file and > the accordion displays, but the two cases do not open or close. > > Question 1: Did I miss something when piecing all of this together? > > Question 2: Is their a way to implement the form builder sections > functionality/appearance outside of orbeon? > > Thank you. > -- > View this message in context: http://n4.nabble.com/Form-Runner-Section-Accordion-tp1475385p1475385.html > Sent from the ObjectWeb 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 |
When I put the example accordion code into form builder (removing the xforms input control), I get a java lang null exception. File attached.
What I meant by using ouside of Orbeon was how would we use the 'section' feature within Orbeon Form Builder/Runner in an Orbeo xForm outside of Form Runner .....apps/MyApp for example.
In addition, when I attempt to use the fr:accordion in my own app (..apps/MyApp), the accordion displays, but they do not open and or close? I installed DeBugbar in IE and I get a script error as follows:
Line: 1
Character: 11230 Code: 0 Error Message: Expected '}' URL: http://localhost:8080/orbeon/xbl/orbeon/accordion/accordion-menu-v2.js attached is the script file downloaded from Github.
Brian Steuhl home office: 732-961-3187 From: Erik Bruchez [via Orbeon Forms (ops-users)] <[hidden email]> To: bsteuhl <[hidden email]> Sent: Fri, February 12, 2010 10:12:25 PM Subject: Re: Form Runner Section - Accordion To use the accordion, you should just be able to use <fr:accordion> in your page. No need to manually include JavaScript files or the likes. http://wiki.orbeon.com/forms/doc/developer-guide/xbl-existing-xbl-components#TOC-Accordion-menu What do you mean by outside of Orbeon? -Erik On Tue, Feb 9, 2010 at 8:26 PM, bsteuhl <[hidden email]> wrote: > > I am interested in displaying/hiding sections in Orbeon xForm developed > outside of form builder similar to form builder section behavior. The only > thing I came across similar is the accordion component. I included the > xbl/orbeon/accordion/accordion.xbl, accordion.js, accordion-menu-v2.js, > accordion.xsl and oxf/xslt/utilities/xbl.xsl folder under resources > directory. Modified properties-xforms.xml to exclude fr:case and fr:label. > I put the accordion example provided by orbeon xbl wiki in xhtml file and > the accordion displays, but the two cases do not open or close. > > Question 1: Did I miss something when piecing all of this together? > > Question 2: Is their a way to implement the form builder sections > functionality/appearance outside of orbeon? > > Thank you. > -- > View this message in context: http://n4.nabble.com/Form-Runner-Section-Accordion-tp1475385p1475385.html > Sent from the ObjectWeb 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 View message @ http://n4.nabble.com/Form-Runner-Section-Accordion-tp1475385p1506314.html To unsubscribe from Form Runner Section - Accordion, click here. |
Free forum by Nabble | Edit this page |