« Return to Thread: trigger bind control bug test

Re: trigger bind control bug test

by fs(ops-users) :: Rate this Message:

Reply to Author | View in Thread

Don,

> If this isn't a bug I need to understand what I'm
> doing wrong relative to the control's bind statement.

it works if you set the xpath in the reference in an absolute way,
eigther by using instance() or by adding the root-element:

>      <xforms:trigger bind="trigger_item_1">
>       <xforms:label>Select Item 1</xforms:label>
>       <xforms:action ev:event="DOMActivate">
>        <xforms:setvalue
> ref="instance('test-instance')section2/list_A/item_1/selected">true</xforms:setvalue>
>        <xforms:setvalue
> ref="/test/section2/list_A/item_2/selected">false</xforms:setvalue>
>        <xforms:setvalue

So, the evaluation context may be different between the two trigger groups.

HTH
florian



--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: trigger bind control bug test

LightInTheBox - Buy quality products at wholesale price