Detail Page Custom Views

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Detail Page Custom Views

Aaron Spike
The form runner documentation makes reference to "other detail page custom views":
 
When using the wizard view (or other detail page custom views), the following property allows specifying which buttons are presented inside the view, as opposed to the bottom of the page
 - http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Buttons-in-detail-page-custom-views

 What are these other views? What can they do? How are they created?

Aaron Spike

This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Detail Page Custom Views

Erik Bruchez
Administrator
These are views configured with:

  <property
    as="xs:string"
    name="oxf.fr.detail.view.appearance.*.*"
    value="..."/>

Currently there are 2 built-in views available:

1. The defaults view, with regular sections on top of each other.
2. The wizard view [1], which is implemented via wizard.xbl. [2]

Adding other views (custom ones) is just a matter of creating an XBL component with a given name, and then setting oxf.fr.detail.view.appearance to that name.

-Erik

[1] https://github.com/orbeon/orbeon-forms/wiki/Form-Runner-~-Wizard-View
[2] https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/wizard/wizard.xbl