Hello,
I create a trigger in a repeat. It attempts to show a dialog and
toggle to active case to one with a form for that kind of "item"
However, I cannot make the case toggle. The first in the switch is visible.
Do the toggle's need to be within the switch? thanks
<xf:repeat nodeset="/databaseChangeLog/changeSet" id="change-sets">
<xh:tr>
<xh:td>
<xf:var name="change-case" value="concat('case-',name(child::*))"/>
<xf:output value="$change-case"/>
<xf:trigger>
<xf:label>Edit</xf:label>
<xf:action ev:event="DOMActivate">
<xxf:show dialog="edit-dialog"/>
<xf:toggle case="$change-case"/>
</xf:action>
</xf:trigger>
</xh:td>
Later in the file, I define the switch:
<xxf:dialog id="edit-dialog" appearance="full" level="modeless"
close="true" draggable="true" visible="false">
<xf:label>ChangeSet Editing</xf:label>
<xf:switch>
<xf:case id="case-autoIncrement">
<xf:group>
<xf:label>AutoIncrement</xf:label>
<p> </p>
</xf:group>
</xf:case>
--Hank
--
Hank Ratzesberger
XMLWerks.com
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].