Bollywood, fun, friendship, sports and more. You name it, we have it. -- 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 |
Hi sathish,
> <xforms:delete ev:event="DOMActivate" context="instance('main')" > nodeset="employee" if="instance('main')/employee/select='true'"/> > true value for select is assigned when i select a particular check box.I > have written xforms:delete as shown above.but it always deleting the > last element in the instance when a checkbox is selected. you could try to use the new exforms:iterate attribute to iterate over the selected elements: http://www.orbeon.com/ops/doc/reference-xforms-2#exforms-iterate But for this solution, you will have to use a nightly build, i suppose. Maybe another solution could work: you could specify the nodeset more precisely by adding a predicate: nodeset="employee[/select='true'". But i didn't test that. HTH florian -- 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 |
Chocoholics' paradise! Enter here. -- 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 |
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 [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 |
Save all your chat conversations. Find them online. -- 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 |
Hi sathish,
> <xforms:action ev:event="DOMActivate" > xxforms:iterate="instance('main')/employee"> > <xforms:delete context="instance('main')" > nodeset="employee[select='true']"/> You've to change three things: - put the predicate [select='true'] from the xforms:delete/@nodeset into the xforms:action/@xxforms:iterate. - replace the "employee" from the xforms:delete/@nodeset by a . - remove the xforms:delete/@context completely. I've attached a sandbox example. HTH florian -- 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 test4.xhtml (2K) Download Attachment |
Meet people who discuss and share your passions. Join them now. -- 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 |
hi sathish,
> What are the changes i have to made to achieve my requirement. please, at first check if my sandbox example attached to my last message works for you. If it does, you will have to compare your own code with the example to check for differences. I can't do this because i don't know how your xforms page looks like. HTH florian -- 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 |
Bollywood, fun, friendship, sports and more. You name it, we have it. -- 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 |
hi sathish,
> Hi Florian when i am trying to run the sandbox example send by you i am > getting the error like this (...) which version of Orbeon Forms are you running? The xxforms:iterate attribute requires a quite new build, 3.6 won't work, i think. You can test the example sandbox file online to see that it's working: http://www.orbeon.com/ops/xforms-sandbox/ HTH florian -- 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 |
Did you know? You can CHAT without downloading messenger. Click here -- 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 |
hi sathish,
> Hi Florian i am using version 3.6.....i will upgrade to the latest > version.Can u tell me where can i get the latest version of orbeon. the latests nightly build is available on the standard download page: http://www.orbeon.com/forms/download HTH florian -- 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 |
Bring your gang together. Do your thing. Find your favourite Yahoo! Group. -- 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 |
Free forum by Nabble | Edit this page |