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 <[email protected]> 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 <Snippet>
> ------------------------------
>
> <div class="brui-tabs">
> <div class="brui-tabs-nav-container">
> <ul class="brui-tabs-nav">
> <div class="tabs">
> <ul id="modular-tab-menu">
> <li id="modular-tab-menu-5" class="tab png-fix first">
> <a href="">French Open1</a>
> </li>
> <li id="modular-tab-menu-11" class="tab png-fix">
> <a href="">French Open2</a>
> </li>
> <li id="modular-tab-menu-13" class="tab png-fix">
> <a href="">French Open3</a>
> </li>
> <li id="modular-tab-menu-14" class="tab png-fix">
> <a href="">French Open4</a>
> </li>
> <li id="modular-tab-menu-4" class="tab png-fix">
> <a href="">French Open5</a>
> </li>
> <li id="modular-tab-menu-2" class="tab png-fix">
> <a href="">French Open6</a>
> </li>
> <li id="modular-tab-menu-3" class="tab png-fix">
> <a href="">French Open7</a>
> </li>
> <li id="modular-tab-menu-12" class="tab png-fix
> active">
> <a href="">French Open8</a>
> </li>
> </ul>
> </div>
> </ul>
> </div>
> </div>
>
> ----------------------- 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
-~----------~----~----~----~------~----~------~--~---