The uid "2" specifies the row of the list, you need to use "subcategory[2]"
to refer it.

However, we do think of refactoring this piece to add some alias name, for
example,
one way might be,

InputBox(uid: "2", alias: "search", clocator: [title: "Google Search"])

Then you can use 'subcategory["search"]' to refer to the InputBox. But this
feature
has not been implemented yet. I am working on it since I need to refactor
the table
object for the same purpose.

Thanks,

Jian

On Fri, Sep 4, 2009 at 8:53 AM, yca <[email protected]> wrote:

>
> Hello,
>
> In the following code:
>
> ----
> List(uid: "subcategory", locator: "", separator: "p"){
>    InputBox(uid: "2", clocator: [title: "Google Search"])
>    UrlLink(uid: "all", clocator: [:])
> }
> ---
>
> Is there a possibility to rename the "2" in a more meaningful uid? We
> found unfortunate that we have the possibility to rename the uid for
> all the other elements (which is great), except for specific elements
> in a list (NumberFormatException).
>
> Do we really need to use a number as an uid for a specific (statically
> defined) element in a list? We don't want to use "2" in our tests,
> only in the UIModel definition...
>
> What do you think?
>
> Thank you,
>
> Yves.
> >
>

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