The console is an experimental new feature, and is likely to be improved and changed in the future. When you select View Console , the output area of the inspector shows what your XForms code logs to the console. You log something to the console by dispatching an event fr-log
to the id of the XForms inspector. If you included the inspector by setting the oxf.epilogue.xforms.inspector
property to true
, that id is orbeon-xforms-inspector
. Otherwise, it is the id you put on the <fr:xforms-inspector>
. The event take one parameter: fr-messages
. Its value is a sequence of values, either elements or atomic values (strings, numbers…).