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
11101012
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.

link

answered 19 Dec '12, 03:20

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×1

Asked: 18 Dec '12, 13:40

Seen: 426 times

Last updated: 19 Dec '12, 03:20

Related questions