Well, they are declared in xml as id's and used in code in get(...) so they are 
quite public.

I was able to go around this by reflection but it's ugly and they should really 
be exposed at the component level I think.

Patrick

-----Original Message-----
From: "Greg Brown" <[email protected]>
Sent: Monday, May 3, 2010 6:07pm
To: [email protected]
Subject: Re: How to retrieve wtkx:id?

No. WTKX IDs don't work like HTML IDs - they are more like variable names. Just 
as there is no way to retrieve a variable name from an object instantiated in 
Java, there is no way to retrieve an ID from an object declared in WTKX.

On May 3, 2010, at 10:20 AM, Patrick Shea wrote:

> Is there a way to get the wtkx:id of a given component?
> 
> Thanks
> Patrick
> 



Reply via email to