Is there a way to unselect a parent group if none of its child groups are selected?

asked 18 Dec '12, 13:40

Jeff%20Melnick's gravatar image

Jeff Melnick
accept rate: 0%

This can be done in parent component's <componentSelectionValidationActionList> for the parent component.

<componentSelectionValidationActionList> <componentSelection> <deselect>parent</deselect> <select></select> <ruleList> <componentTest> <logic>not_selected</logic> <name>child1</name> </componentTest> <componentTest> <logic>not_selected</logic> <name>child2</name> </componentTest> </ruleList> </componentSelection> </componentSelectionValidationActionList>

The above deselects parent component if both child1 and child2 components are not selected. The rules have to be specified for each child component.


answered 19 Dec '12, 03:20

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 18 Dec '12, 13:40

Seen: 426 times

Last updated: 19 Dec '12, 03:20

Related questions