Thank you John. I am making progress here, but not quiet there yet. One more question? Where can I find API Docs for the DSL Context objects? e.g for TextBox what are the methods we can use for List object which methods are available etc...
Thanks, Manoj ----- Original Message ---- > From: John <[email protected]> > To: tellurium-users <[email protected]> > Sent: Wednesday, May 27, 2009 2:16:44 PM > Subject: Re: TrUMP Generated DSL. > > > You can use a List to represent the li elements. For example, > > List(uid: "menu", clocator: [tag: "ul", id: "modular-tab-menu"], > separator: "li"){ > UrlLink(uid: "all", clocator: [:]) > } > > Then you can use menu[1], menu[2],... to access each links. Here I > ignored other div and ul tags, > you can use Container to represent them if you need them. > > Future Trump version will support UI templates and will automatically > create List or Table for you. > Please be patient. > > Thanks, > > Jian > > On May 27, 4:50 pm, poweroftesting wrote: > > Hi, > > > > Below is my structure that I captured using the TrUMP plugin and the > > resultant > > generated DSL code. How do I modify to be able to access individual > > Tabs? > > Any help is greatly appreciated. > > > > Manoj > > > > ------------------- HTML Source > > ------------------------------ > > > > > > > > > > > > > > * > > French Open1 > > > > * > > French Open2 > > > > * > > French Open3 > > > > * > > French Open4 > > > > * > > French Open5 > > > > * > > French Open6 > > > > * > > French Open7 > > > > * > > French Open8 > > > > > > > > > > > > > > > > ----------------------- Generated DSL using TrUMP plugin > > ------------------------- > > > > Container(uid: "div0", clocator: [tag: "div", class: "brui-tabs-nav- > > container"]){ > > TextBox(uid: "ul1", clocator: [tag: "ul", class: "brui-tabs-nav"]) > > > > } > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
