Hi Florian
it is working fine but again i have one more issue with it.I am not able to delete all the selected items at once.How to achieve that one.I have written my code like this.
<xforms:action ev:event="DOMActivate" xxforms:iterate="instance('main')/employee"> <xforms:delete context="instance('main')" nodeset="employee[select='true']"/> ..... .... ..
THANKS & REGARDS SATHISH K MITTAPELLI 
--- On Tue, 13/5/08, Florian Schmitt <ml-ops-users@...>
wrote:
From: Florian Schmitt <ml-ops-users@...> Subject: [ops-users] Re: Re: Re: Is it possible to use if in xforms:delete??? To: ops-users@... Date: Tuesday, 13 May, 2008, 2:05 PM
hi sathish,
> the nodeset="employee[/select='true'" is not working it is giving me > error like xpath syntax error. If iam making that as > nodeset="employee[/select='true']" then i am not > getting any output.
sorry, again a ugly mistake in my xpath - in fact, the bracket [ has to be closed as you found out already, and to address the select child, no slash is required, i think. So you could try to use
nodeset="employee[select='true']"
assuming there's a child node named "select" under the "employee" node.
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 |
Save all your chat conversations.
Find them online.
--
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