2009/10/29 Harihara Vinayakaram <[email protected]>:
> Could you try getting the group:true for the ui.Container
As the Container has no (c)locator would that really have any effect?
> Also can you change the locator to clocator and use id :*AttachedCheckBox2 .
That wouldn't work as it would then try and select an <input> element
with AttachedCheckBox2 in the id attribute, but the id attribute is 2
levels higher up the hierarchy not on the input itself.
> I also think you need to use a separtor in the List .
I think this was my problem, that the input element wasn't a direct
child of the list, however I seem to have "worked around"/fixed the
issue by modelling the intermediate div elements. My code now looks;
ui.Container(uid: "sailing") {
List(uid: "resultCheckboxes", clocator: [id: "BiGrid2-426", tag:"div"]) {
Container(uid: "all", clocator: [id: "*AttachedCheckBox2",
tag: "div"]) {
CheckBox(uid: "checkBox", clocator: [:], respond:
["click", "mouseOver", "mouseDown", "mouseUp"])
}
}
}
Regards,
Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---