No, you should not put ui. before all inner elements. When use the dump
method, you can call the uppermost element and all its descendants will be
shown.

Here is my code,

    CustomUIExample cue = new CustomUIExample();
    cue.defineUi();
    cue.dump("caseRecordPopUp");


Thanks,

Jian

On Sun, May 31, 2009 at 12:05 AM, Harihara Vinayakaram <[email protected]>wrote:

> Well I expected the dump should show all the information under the
> ui.Container. Actually it works if I append an ui. to each of the
> subelements as in
> ui.Container( uid:"caseRecordPopUp", clocator:[id:"CaseRecordsPopUp",
> tag:"div"],namespace:"xhtml",group:"true") {
>
>      ui.Container(uid:"date",clocator:[id:"caseRecordPopUpDate",
> tag:"input"], namespace:"xforms")
> ....
> }
> I was under the impression that the inner elements do not need a ui. prefix
> to wor
>
> Regards
> Hari
>
>
> On Sun, May 31, 2009 at 7:13 AM, John <[email protected]> wrote:
>
>>
>> Do you mean the group locating is not working? I will take a look.
>>
>> Thanks,
>>
>> Jian
>>
>> On May 30, 4:15 pm, Harihara Vinayakaram <[email protected]> wrote:
>> > Hi
>> >   I have the following code
>> >   ui.Container(uid:"caseRecordPopUp", clocator:[id:"CaseRecordsPopUp",
>> > tag:"div"],namespace:"xhtml",group:"true") {
>> >       Container(uid:"date",clocator:[id:"caseRecordPopUpDate",
>> tag:"input"],
>> > namespace:"xforms")
>> >
>> Container(uid:"complaints",clocator:[id:"caseRecordPopUpComplaints",
>> > tag:"input"], namespace:"xforms")
>> >       Container(uid:"weight",clocator:[id:"caseRecordPopUpWeight",
>> > tag:"input"], namespace:"xforms")
>> >       Container(uid:"bp",clocator:[id:"caseRecordPopUpBP", tag:"input"],
>> > namespace:"xforms")
>> >       Container(uid:"fh",clocator:[id:"caseRecordPopUpFH", tag:"input"],
>> > namespace:"xforms")
>> >       Container(uid:"fhr",clocator:[id:"caseRecordPopUpFHR",
>> tag:"input"],
>> > namespace:"xforms")
>> >       Container(uid:"po",clocator:[id:"caseRecordPopUpPO",
>> tag:"textarea"],
>> > namespace:"xforms")
>> >       Container(uid:"pv",clocator:[id:"caseRecordPopUpPV",
>> tag:"textarea"],
>> > namespace:"xforms")
>> >       Container(uid:"remarks",clocator:[id:"caseRecordPopUpRemarks",
>> > tag:"textarea"], namespace:"xforms")
>> >
>> >     }
>> > but the dump shows
>> > Dump locator information for caseRecordPopUp
>> >    [testng] -------------------------------------------------------
>> >    [testng] caseRecordPopUp:
>> > //descendant-or-self::xhtml:d...@id="CaseRecordsPopUp"]
>> >    [testng] -------------------------------------------------------
>> >    [testng]
>> >
>> > I had the same problem some time back and it just disappeared . What
>> exactly
>> > is the solution for this
>> >
>> > Regards
>> > Hari
>>
>>
>
> >
>

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