Hi Alex,
We have a custom process "apply", which is associated to apply button, this has been implemented as per the
http://doc.orbeon.com/form-runner/advanced/buttons-and-processes/index.htmlI want to show this button in "fr-view mode" only, so I added property
<property as="xs:string" name="oxf.fr.detail.buttons.view.erdf.add-call" value="pdf apply"/>
But I also want to show/hide this button based on a condition. To add the condition we added the fr:buttons in the form.xhtml
<fr:buttons>
<fr:pdf-button/>
<fr:apply-button ref=“.[xpath condition]"/>
</fr:buttons>
But once I add the ref attribute, the button does not render in “fr-view” mode at all.
If I remove the ref from the button then it works in “fr-view” mode
<fr:buttons>
<fr:pdf-button/>
<fr:apply-button/>
</fr:buttons>
but problem is then I cannot show/hide the button conditionally.