Given this hierarchy:

class ConfirmDialog extends Module{
 //...}



class CheckboxItem extends Module {
 static content = {
 label { $(".tree-title").text() }
 checkbox { $(".tree-checkbox")}
 isChecked { $(".tree-checkbox1")}
 }
}


class CheckboxList extends ConfirmDialog {
 static content = {
 items { moduleList(CheckboxItem)}
 }
}


I instantiate CheckboxList like so:


def someSelExpr = /* some selector */

$(someSelExpr).module(CheckboxList)




I want the base for the moduleList to be the same as CheckboxList's (I.E. that 
the $() selectors in CheckboxItem shall be confined to the subtree rooted at 
someSelExpr)


Is that how this will work? If not, how do I bend it so that it does?


Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/510f1298-3ab2-4a19-aa45-1de797abb234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to