Hi,

You should model the cell as a Container and specify the Input boxes as 
children of that container. Something like the following

Container(uid: 'extras', clocator: [id:'out']) {
  Table(uid: 'extras', clocator: [:]) {
    Container(uid: '{row: all, column: 4}', clocator: [:]) {
      InputBox(uid: 'box1', clocator: [position: '1'])
      InputBox(uid: 'box2', clocator: [position: '2'])
      InputBox(uid: 'box3', clocator: [position: '3'])
      InputBox(uid: 'box4', clocator: [position: '4'])
    }
    TextBox(uid: '{row: all, column: all}', clocator: [:])
  }
}

Then you can use

type "extras.extras[${row}][4].box1", "SomeText"

Regards,

Jonathan

On Jan 25, 2011, at 10:18 AM, Espen wrote:

> Hi, I have 4 inputboxes in a td in a table. They all have the same
> name, and id (not up to me), and all I have to find them is the order
> of them.
> I know I can use the "position"
> 
> 
>      Container(uid: 'extras', clocator: [id: 'out']) {
>                Table(uid: 'extras', clocator: [:]) {
>                    InputBox(uid: '{row: all, column: 4}', clocator:
> [type:'text', position:'1'])
>                    InputBox(uid: '{row: all, column: 4}', clocator:
> [type:'text', position:'2'])
>                    InputBox(uid: '{row: all, column: 4}', clocator:
> [type:'text', position:'3'])
>                    InputBox(uid: '{row: all, column: 4}', clocator:
> [type:'text', position:'4'])
>                    TextBox(uid: '{row: all, column: all}', clocator:
> [:])
>                }
>              }
> 
> now my problem is using them in some manner. when write
> 
> type "extras[${row}][4]" it always writes to position 4 (naturally).
> how can I mark them, so that I can type into the positions
> individually?
> 
> -- 
> 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.
> 

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