Anyway, I will add the support to Tellurium core so that you can
specify the tbody attribute like

Table(uid, "table", clocator: [id: "id1", tbody: [id: "tid1", class:
"tcl"]])

The multiple tbody part can still be handled by the logical container.

Mikhail, could you please add his example to your tellurium test page.
The issue I created for this is 117.


Thanks,

Jian

On Feb 24, 2:05 pm, John <[email protected]> wrote:
> Wow, never saw this before. How about trying the following
>
> Container(uid: "logical", clocator:[:]){
>   Table(uid: "first", locator: "/tab...@id="someId" and tbody
> [...@id="tbody1_Id"]]){
>
>   }
>   Table(uid: "second", locator: "tab...@id="someId" and tbody
> [...@id="tbody2_Id"]]{
>
>   }
>
>   ...
>
> }
>
> That is to say, you can treat the html as
>
> <table id="someId">
> <tbody id="tbody1_Id>
> <tr><td></td></tr>
> <tr><td></td></tr>
>
> <table id="someId">
> <tbody id="tbody2_Id>
> <tr><td></td></tr>
> <tr><td></td></tr>
>
> <table id="someId">
> <tbody id="tbody3_Id>
> <tr><td></td></tr>
> <tr><td></td></tr>
>
> by using the logical Container. You have to use the base locator to
> include the tbody attribute.
>
> Please let me know if this works, if not, we need to add support for
> multiple tbody in Tellurium core.
>
> Thanks,
>
> Jian
>
> On Feb 24, 1:14 pm, dominicm <[email protected]> wrote:
>
> > Hi Jain,
>
> > What would be the correct way to code a table with multiple tbody
> > elements?
>
> > HTML code is something like:
>
> > <table id="someId">
> > <tbody id="tbody1_Id>
> > <tr><td></td></tr>
> > <tr><td></td></tr>
> > <tbody id="tbody2_Id>
> > <tr><td></td></tr>
> > <tr><td></td></tr>
> > <tbody id="tbody3_Id>
> > <tr><td></td></tr>
> > <tr><td></td></tr>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to