Comments? Feedback?

This wiki does not yet support public comments (a limitation of Google Sites), so we encourage you to post your comments either:

On Twitter by responding to @orbeon.

On our community mailing list: subscribe sending an email to ops-users-subscribe@ow2.org (content of subject/body doesn't matter), you'll get a response with the email to use to send your message to the community mailing list.

Recent site activity

XForms - XForms Inspector

Rationale

A lot can happen when you interact with an XForms page: events are dispatched, actions executed, submissions sent, and more. While you can have some visibility on those by enabling XForms logging in Orbeon Forms, an important part of the state of an XForms page is simply contained in the various XForms instances that you define in your page.

The XForms Inspector allows you to peek right into the instances in real time as you develop XForms pages. The following screenshots shows the XForms Inspector running in the XForms Control example:


Configuration

You can enable the XForms Inspector in one of two ways:
  • For a specific page, by adding the following code in your XForms:

    <fr:xforms-inspector/>

    If you don't have the "fr" prefix in scope, instead of declaring that prefix globally, you can declare it locally:

    <fr:xforms-inspector xmlns:fr="http://orbeon.org/oxf/xml/form-runner"/>

  • For all your pages, by setting the following property to true:

    <property as="xs:boolean" name="oxf.epilogue.xforms.inspector" value="true"/>
NOTE: The XForms Inspector is implemented as an XBL component. To be able to use it (with any of the two methods described above):
  • either the property oxf.epilogue.xforms.widgets needs to be set to true, which is the default
  • or you must explicitly include in your XForms page oxf:/xbl/orbeon/xforms-inspector/xforms-inspector.xbl

Backward compatibility

Until November 2009 builds of Orbeon Forms, the XForms inspector had to be inserted with:

<widget:xforms-instance-inspector id="orbeon-xforms-inspector"
    xmlns:widget="http://orbeon.org/oxf/xml/widget"/>

This is still supported for backward compatibility.

  Sign in   Recent Site Activity   Revision History   Terms   Report Abuse   Print page  |  Powered by Google Sites