I'm trying to open a dialog and select (highlight) the element of a repeat set
that corresponds to a data value in the model. But the selected element is
always the first one when the page is reloaded.
Here's my code (the relevant lines):
<xxforms:dialog id="my-dialog" appearance="full" level="modeless" close="true"
draggable="true" visible="false">
...
<xforms:repeat nodeset="my-nodes" id="my-dialog-repeat">
...
</xforms:repeat>
...
<xforms:setindex ev:event="xxforms-dialog-open" repeat="my-dialog-repeat"
index="2" /><!-- value is "2" just for testing setindex -->
...
</xxforms:dialog>
I cannot get setindex to work at all here. I've also tried embedding it in an
<xforms:action with the xxforms-dialog-open event, also to no avail.
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws