How to enable/disable components in XForms or XSLTForms? -


i want know if there "right way" enable/ disable controls; triggers. in this wiki-book authors suggests delete control, need visible not working (and style looking disabled):

<xf:trigger ref="self::node()[count(../name) &gt; 1]">    <xf:label>delete classifier</xf:label>    <xf:delete ev:event="domactivate" nodeset="instance('save-data')/name" at="index('name-repeat')"/>             </xf:trigger> 

i looking everywhere coudn't find anything. idea? in advance,

i can't guarantee working every xforms implementation, way implemented in our xforms developments : 1- bind trigger element in instance. 2- define binding element relevant property.

when binding non relevant, trigger not displayed.

this working orbeon 6.2.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -