Hi Claus,
I have created an issue: https://www.canoo.com/jira/browse/UBA-7315
For now you can use one of the following:
1. the solution proposed by Ilja
2. you can extend ULCTableTree and on the client side define a setName
method that sets on basic tabletree table and tabletree tree:
public void setName(String s) {
getBasicTableTree().getBasicTable().setName(s);
getBasicTableTree().getBasicTree().setName(s);
}
Thanks and regards,
Janak
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, October 26, 2007 4:47 PM
To: [EMAIL PROTECTED]
Subject: [ULC-developer] Name Property on UI of ULCTableTree
Hi all,
we encountered a problem with the user interface of ULCTableTree. Our
automated testing tool (Tosca, http://www.tricentis.com/) needs to find the
name property of a client side ULC Component in order to be able to navigate
on it and to do input and read output. With a ULCTable everything works
fine, the name property is readable. The hierarchy of the component seems to
be:
com.ulcjava.base.client.UITable$UIJTable
javax.swing.JTable
javax.swing.JComponent
.....
with ULCTableTree, the hierarchy seems to be:
com.ulcjava.base.client.UITableTree$UIJTableTree$a_
com.ulcjava.base.client.tabletree.TableTreeTable
javax.swing.JTable
....
and there is no name property that can be read. Is there a way to get around
this problem and to set a name property on the top level component ? From
the ULC development runners view I can see that the name of the ULCTableTree
Component is sent to the client.
We are using ULC 6.0.4, Java 1.5.0_11 and Windows XP as the client side
operating system.
Best regards,
Claus
Mit freundlichem Gruß
C.J.Seitter
MÜNCHENER VEREIN http://www.muenchener-verein.de
Versicherungsgruppe [EMAIL PROTECTED]
Pettenkoferstraße 19
D-80336 München Tel.: 089/5152-1073
Fax 089/5152-3073
MÜNCHENER VEREIN Krankenversicherung a.G. (Sitz München, HRB 764, AG
München)
MÜNCHENER VEREIN Lebensversicherung a.G. (Sitz München, HRB 350, AG München)
MÜNCHENER VEREIN Allgemeine Versicherungs-AG (Sitz München, HRB 42132, AG
München)
Direktion
Pettenkoferstraße 19, 80336 München
Tel. 089/51 52-1000, Fax 089/51 52-1501
[EMAIL PROTECTED]
www.muenchener-verein.de
Vorsitzender der Aufsichtsräte: Heinrich Traublinger, MdL
Vorstände: Dr. Rainer Reitzler (Vorsitzender) - Hartmut Krause -
Karl-Bernd Telger - Andrea Wozniak (stv.)
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer