PDA

View Full Version : refering an instance of the class


mallesh
01-16-2004, 06:18 AM
Hi Antun,

I am facing the problem in refering an instance of a class in another part of the file. By using the "id" attribute of the view, we can refer that view anywhere in the application. But it is not possible to use the id attribute for the class. so how do i achieve this ?

Thanks
Mallesh.

antun
01-16-2004, 09:54 AM
There might have been some confusion here. You can give an instance of a class an id:


<class name="myclass">
....
</class>

<myclass id="foo" />


-Antun