Hi.
given:
<form>
<input type="text" name="a"/>
<input type="checkbox" name="b"/>
</form>
class Foo extends Page {
static content = {
form { $('form') }
cb { form.$(name:'b').module Checkbox }
text { form.a() }
}
}
How can the type of input of 'cb' & 'text' be obtained?
(reason I'm after the type is needing to handle modification of that input:
a text input can be modified by assigning it a unique string. A checkbox
must be toggled).
Thanks!
Sam
--
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/7033e072-3dbd-475a-9a85-996f36c74ed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.