Look at the auto-discovery queue view in the GWT UI.
Notice that you cannot select JUST a platform (without selecting at least one of the children). If you select a platform checkbox, all of its children are auto-selected. If you de-select all the children, the platform itself is auto-deselected. There is no way to get JUST the platform checked with none of its children checked.
We need a way to say "I only want to import the platform, but I do not want to import any child servers" (we just hit another user yesterday that wanted to do this - it worked for them because they were on an old RHQ version and the jsf pages let you do this).
In ResourceAutodiscoveryView, I see it builds the TreeGrid with these settings:
treeGrid.setShowPartialSelection(true); treeGrid.setCascadeSelection(true);
It seems that turning off the cascade selection will technically do what I want (setCascadeSelection(false)). However, we are then at a point where if I DO want every server under a platform imported, I can't just select the platform - I have to select each child node individually (which could potentially be a lot of individual clicks).
Thus, I want the best of both worlds :) Any one know a good GWT trick to do this?
If you can't achieve the interaction model you're looking for using a combination of methods available on the component, tweak the selection algorithm yourself by writing and registering custom handlers. If the data you need to manipulate isn't available in the public interface, then hopefully you can subclass that component and get at what you need through the protected interface.
On 10/23/2010 04:26 PM, John Mazzitelli wrote:
Look at the auto-discovery queue view in the GWT UI.
Notice that you cannot select JUST a platform (without selecting at least one of the children). If you select a platform checkbox, all of its children are auto-selected. If you de-select all the children, the platform itself is auto-deselected. There is no way to get JUST the platform checked with none of its children checked.
We need a way to say "I only want to import the platform, but I do not want to import any child servers" (we just hit another user yesterday that wanted to do this - it worked for them because they were on an old RHQ version and the jsf pages let you do this).
In ResourceAutodiscoveryView, I see it builds the TreeGrid with these settings:
treeGrid.setShowPartialSelection(true); treeGrid.setCascadeSelection(true);
It seems that turning off the cascade selection will technically do what I want (setCascadeSelection(false)). However, we are then at a point where if I DO want every server under a platform imported, I can't just select the platform - I have to select each child node individually (which could potentially be a lot of individual clicks).
Thus, I want the best of both worlds :) Any one know a good GWT trick to do this? _______________________________________________ rhq-devel mailing list rhq-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-devel
rhq-devel@lists.fedorahosted.org