Thanks Jian, I must say the dot was not in mind at all :(. Cheers,
Zsolt 2009/10/27 Jian Fang <[email protected]> > *Seems "Minicart.foot[2][1]"* should be * "Minicart.foot[2].[1]"* If > I remember correctly because foot is only one dimession. Also, you don't > need to use List since you only got two UrlLinks. Container would be better > since List usually is used for dynamic number of UI elements. > > Thanks, > > Jian > > > On Tue, Oct 27, 2009 at 4:08 PM, Zsolt Kovacs <[email protected]> wrote: > >> Hello, >> >> I have a problem accessing links in the footer of this table : >> >> <table summary="Cart Summary"> >> <tbody> >> .... >> </body> >> <tfoot> >> <tr> >> <td class="rcorner-blue-foot-left"> </td> >> <td colspan="3"> >> <div class="toolbar"> >> <a href="/view/showcart" class="button"><span>View >> basket</span></a> >> <a href="/showcart" >> class="button"><span>Checkout</span></a> >> </div> >> </td> >> <td class="rcorner-blue-foot-right"> </td> >> </tr> >> </tfoot> >> >> As I need to click on those links, I have defined this ui module: >> >> ui.StandardTable(uid: "Minicart", clocator: [summary: "Cart Summary"]) { >> TextBox(uid: "tbody: row: *, column: *", clocator: [:]) >> List(uid: "foot: all", clocator: [:], separator: "a") { >> UrlLink(uid: "all", clocator: [:]) >> } >> } >> >> >> I tried to *click "Minicart.foot[2][1]"* on the first link but it gives >> me this error: java.lang.NumberFormatException: For input string: "2_1" >> >> I can acces this footer in a separate UI module like bellow, but I would >> like to use standard table so I would appreciate if you could help me out >> with this issue. >> >> ui.List(uid:"MinicartFoot", clocator: [tag: "table", summary: "Cart >> Summary", trailer: "/tfoot/tr/td[2]/div"], separator: "a") { >> UrlLink(uid: "all", clocator: [:]) >> } >> >> >> Best Regards, >> >> Zsolt >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
