Thanks Jian, its working fine.
On Dec 12, 11:08 pm, [email protected] wrote:
> As we chatted last night, the problem caused by the fact that you
> looked at the static html source, not the runtime html source.
>
> For the following runtime html source you sent to me,
> <table class="pl loans" style="clear: both; width: 100%; border-
> collapse: separate; border-spacing: 2pt;"
> cellpadding="1">
> <tbody>
> <tr class="">
> <td class="img_space"></td>
> <td class="bankInp">
> <input autocomplete="off" name="form.ploans
> [0].bank.bankName" value=""
> id="eFrm_form.ploans_0__bank_bankName"
> class="requiredBankRel bankComp ac_input"
> title="Enter bank name" type="text"/>
> </td>
> <td class="" style="text-align: left;"> Loan
> tenure
> <select name="form.ploans[0].tenureInYears"
> id="eFrm_form.ploans_0__tenureInYears"
> class="requiredBankRel">
> <option value="" class="gray_header">Yrs</option>
> <option value="1">1</option>
> <option value="2">2</option>
> <option value="3">3</option>
> <option value="4">4</option>
> <option value="5">5</option>
> <option value="6">6</option>
> <option value="7">7</option>
> <option value="8">8</option>
> </select>
> </td>
> <td class="" style="text-align: left;">
> <input name="form.ploans[0].emi" maxlength="8"
> value="" id="eFrm_form.ploans_0__emi"
> class="requiredBankRel normal number blur"
> title="EMI(Rs.)" type="text"/>
> </td>
> <td class="" style="padding: 2px;text-align: left;">Start
> date
> <select name="form.ploans[0].startDate.month"
> id="eFrm_form.ploans_0__startDate_month"
> class="requiredBankRel">
> <option value="" class="gray_header">MMM</option>
> <option value="1">Jan</option>
> <option value="2">Feb</option>
> <option value="3">Mar</option>
> <option value="4">Apr</option>
> <option value="5">May</option>
> <option value="6">Jun</option>
> <option value="7">Jul</option>
> <option value="8">Aug</option>
> <option value="9">Sep</option>
> <option value="10">Oct</option>
> <option value="11">Nov</option>
> <option value="12">Dec</option>
> </select>
> <select name="form.ploans[0].startDate.year"
> id="eFrm_form.ploans_0__startDate_year"
> class="requiredBankRel">
> <option value="" class="gray_header">YYYY</option>
> <option value="2008">2008</option>
> <option value="2007">2007</option>
> <option value="2006">2006</option>
> <option value="2005">2005</option>
> <option value="2004">2004</option>
> <option value="2003">2003</option>
> <option value="2002">2002</option>
> <option value="2001">2001</option>
> <option value="2000">2000</option>
> <option value="1999">1999</option>
> <option value="1998">1998</option>
> <option value="1997">1997</option>
> <option value="1996">1996</option>
> <option value="1995">1995</option>
> <option value="1994">1994</option>
> <option value="1993">1993</option>
> <option value="1992">1992</option>
> <option value="1991">1991</option>
> <option value="1990">1990</option>
> <option value="1989">1989</option>
> </select>
> </td>
> <td class="">
> <span class="font_small">
> <a href="#loansSection" class="brel"
> onclick="deletereln(this, 'pl');">Delete</a>
> <span class="addRel">|
> <a class="bankrel brel" href="#loansSection"
> onclick="add('pl');">Add another</a>
> </span>
> </span>
> </td>
> </tr>
> </tbody>
> </table>
>
> You can use the following container object to describe them. The
> reason is that you only have one column and couple elements inside,
> thus, you do not need the Table object, which is more useful for
> dynamic UI and UI that you can use templates.
>
> ui.Container(uid: "PlLoans", clocator: [tag: 'table', class: '%
> %loans', trailer: '/tbody/tr'], group: "true"){
> TextBox(uid: "ImgSpace", clocator: [tag: 'td', class: 'img_space'])
> InputBox(uid: "BankName", clocator: [name: '%%bank.bankName',
> title: '%%Enter bank name', header: "/t...@class='bankInp'"])
> Selector(uid: "LoanTenure", clocator: [name: '%%tenureInYears',
> class: 'requiredBankRel', header: '/td']
> InputBox(uid: "Emi", clocator: [name: '%%emi', title: '%%EMI',
> header: '/td']
> Container(uid: "StartDate", clocator: [tag: 'td']){
> Selector(uid: "Month", clocator: [name: '%%startDate.month',
> class: 'requiredBankRel']
> Selector(uid: 'Year', clocator: [name: '%%startDate.year',
> class: 'requiredBankRel']
> }
> Container(uid: "Operation", clocator: [tag: 'td', trailer: '/span'])
> {
> UrlLink(uid: "Delete", clocator: [text: 'Delete'])
> UrlLink(uid: "Add", clocator: [text: 'Add another')
> }
>
> }
>
> Let me know if you have any problems with the above UI module. Also,
> you can try to remove all the header attributes from the UI module
> to see if it still works (I guess it still works, but cannot test for
> you web). Please me know about the result.
>
> Thanks,
>
> Jian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---