If you do not care about the other part of the table and only focus on
this section you listed here, you can
use a container object for it. Also, the name "{2}[{0}].bank.bankName"
that you mentioned here is not the same as
the UID in tellurium, Tellurium will use UIDs to refer to UI elements,
so you have not problem to define UI as
ui.Container(uid: "CCTemp", clocator: [tag: 'textarea', id:
'cc_template', trailer: 'tr'], group: "true"){
TextBox(uid: "ImageSpace", clocator: [tag: 'td', class:
'img_space'])
Container(uid: "BankInp", clocator: [tag: 'td', class: 'bankInp']){
InputBox(uid: "BankName", clocator: [name: '%%bank.bankName',
class: '%%bankComp', title: 'Enter bank name'])
}
}
Then you can use "CCTemp.BankInp.BankName" to refer to the input box.
Let me know if you have any further issues.
Thanks,
Jian
On Dec 11, 1:08 pm, [email protected] wrote:
> This question is from Sumathi:
>
> Could you tell me how to define ui for the below code :
>
> <textarea style="display:none" id="cc_template">
> <tr>
> <td class="img_space"></td>
> <td class="bankInp">
> <input type="text" name="{2}[{0}].bank.bankName" value=""
> id="eFrm_{2}_{0}__bank_bankName" class="requiredBankRel bankComp"
> title="Enter bank name"/>
> </td>
>
> </tr>
> </textarea>
>
> I have to use the name "{2}[{0}].bank.bankName".
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---