Hi Bala, Can you please explain in detail what "no longer working" means in this case? What is the error your seeing? Are you seeing an exception with a stacktrace? I would expect the code you posted to work just fine.
Marcin On Thu, Aug 4, 2016 at 11:42 AM, Balaji KM <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/geb-user/a2658feb-4e56-4035-af5e-d561c2096d08%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2B52dQTfDBXtQ%2BnXkXt5JjW6cK7bQhRWuErn%2BxULXJqZfyncRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
