Click Framework  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: CLK-209
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Bob Schellink
Reporter: zhengshiru
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Click

CLONE -Checkbox tree

Created: 08/Apr/07 03:26 AM   Updated: 19/Jul/08 01:43 AM
Component/s: extras
Affects Version/s: None
Fix Version/s: 1.5 M2

Environment: click 1.2


 Description  « Hide
Expand or collapse the tree reset the checked items.
Checked or uncheck an item should also check or uncheck the childs.

 All   Comments   Change History      Sort Order:
Bob Schellink [11/Apr/07 02:23 PM]
Hi

Just to avoid confusion, I assume the first item here means that using the CheckboxTree, one can select a few checkboxes and then click to expand or collapse a node. Because the checkboxes are inside of a html form, their values needs to be submitted (by clicking on a submit button) before they can be persisted on the server side. The same behavior will be seen by filling in a html form and without hitting submit, click on for example a menu item. The form data was not submitted (even tho the form was filled in) and so is not sent to the server. Is this what item1 describes above?

To improve this I guess one has to use javascript. I am busy implementing Cookie support for the tree control which should fix this issue nicely, since the cookie will track exactly which nodes are expanded and collapsed even if the submit button is not used. Actually the form is not even needed then since both expand/collapse and select/deselected nodes are tracked by cookies...

Let me know if this if this will take care of issue 1.

With regards to item two, should the children be selected recursively or only the current node's children? Perhaps this should be tunable?

Bob Schellink [19/Jul/08 01:42 AM]
Will be available in Click 1.5-M2