Thanks for the prompt response

There may still be a problem as I don't know the tbody IDs before
runtime, which may cause a problem. I'll download the new jar and try
it.

I'm in the UK so did not see your response before I tried treating the
multiple tbody elements as a list.
This is the code I'm using, which does work but is not ideal as I have
to lump all of the table elements in a single container.

List(uid:'tableAsList',clocator:[id:'%
%_Table',tag:'table'],separator:'tbody', group:'false'){
        Container(uid:'all',clocator:[tag:'tr']){
                Div(uid:'cancel',clocator:[id:'%%_cancel'])
                Div(uid:'selection',clocator:[class:'name bold', tag:'td'])
                InputBox(uid:'price',clocator:[id:'%%_price'])
                Div(uid:'priceUp',clocator:[id:'%%_price'])
                Div(uid:'priceDown',clocator:[id:'%%_price'])
                InputBox(uid:'size',clocator:[id:'%%_size'])
                Div(uid:'profit', clocator:[id:'%%profit', tag:'span'])
                Div(uid:'message', clocator:[class:'message', tag:'span'])
                Div(uid:'text', clocator:[tag:'strong'])
                
RadioButton(uid:'optNONE',clocator:[id:'%%_opt_NONE',type:'radio'])
                RadioButton(uid:'optIP',clocator:[id:'%%_opt_IP',type:'radio'])
                RadioButton(uid:'optSP',clocator:[id:'%%_opt_SP',type:'radio'])
                }
        }

The fact that I can use a List to define a troublesome Table shows the
real value of a flexible framework such as Tellurium. Thanks again for
all of your work.

One small thing though, I have to specify type:'radio' for my
RadioButton objects or it will generate an XPath with type as input,
presumably this is a bug?


--~--~---------~--~----~------------~-------~--~----~
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