Hi,
I have the following HTML. and the related Module Def I scripted. Wanted to
validate
it. If I try "getValue("body.data.tabs[2].list.details[1].merchant" should
return "Merchant21".
Is my syntax correct? Is it possible to have this type of nested list
structure. I need to
use this cause the list is dynamic and can change anytime.
Regards,
Manoj
<div class="bd">
<div class="scrolling" style="margin-left: 0px;">
<div class="tabcont selected">
<ul>
<li>
<p class="merchant">Merchant11</p>
<p class="title">Title11</p>
<p class="exp">12/30/09</p>
</li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="tabcont">
<ul>
<li>
<p class="merchant">Merchant21</p>
<p class="title">Title121</p>
<p class="exp">12/30/09</p>
</li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div class="tabcont">
</div>
</div>
</div>
Container(uid:"body", clocator:[tag:"div", class:"bd"]){
List(uid: "data", clocator: [tag: "div", class:"scrolling"]){
Container(uid: "tabs", clocator: [tag:"div",
class:"tabcont"]){
List(uid: "list", clocator: [tag: "ul"], separator:
"li"){
Container(uid:"details", clocator:[:]){
UrlLink(uid: "merchant", clocator: [tag: "a" ,
class:"merchant"])
UrlLink(uid: "title", clocator: [tag: "a" ,
class:"title"])
UrlLink(uid: "exp", clocator: [tag: "a" ,
class:"exp"])
}
}
}
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---