I have changed the code of Orbeon Form Builder to add a new input field in dialog-form-settings.xbl
:
<xf:input ref="category" id="fb-category-input" xxf:autocomplete="off">
<xf:label>Category</xf:label>
<xf:hint>input Category</xf:hint>
</xf:input>
<!-- Dispatch event with result -->
<xf:dispatch name="fb-update-metadata" targetid="fb-dialog-form-settings">
<xf:property name="app" value="instance()/app"/>
<xf:property name="form" value="instance()/form"/>
<!-- Add By Haibpl -->
<xf:property name="category" value="instance()/category"/>
<!-- End Add -->
<xf:property name="title" value="instance()/title"/>
<xf:property name="description" value="instance()/description"/>
<xf:property name="logo" value="instance()/logo"/>
<xf:property name="mode" value="instance()/mode"/>
</xf:dispatch>
In crud.xpl
, how can i get value of category like app (/request/app
)?