Hi Guys,
Currently I am in the process of migrating from 0.9.3 to 0.13.1.
My web application got 2 frames. I defined Modules for both the frames.
Module Class
class AbcModule extends Module {
static content = {
bodyFrame { $("frame",name:'body')}
pageTitle {
withFrame(bodyFrame) {
$(".pagetitle").text()
}
}
}
Page Class
class BasePage extends Page {
static at = { abc.pageTitle == "XYZ" }
static content = {
abc { module AbcModule}
}
}
This code works fine in 0.9.3.
In 0.13.1, this code no longer working.
>From 0.13.1 onwards, It works only If I specify withFrame(abc.bodyFrame)
>inside my Page class. I tried setting base for my module with frame name,
which didn't work.
I would like to call module elements in Page class, without calling withFrame
everytime. Is this possible?
Any pointers will be much appreciated.
Thanks,
Bala
--
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/a2658feb-4e56-4035-af5e-d561c2096d08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.