Hi Anton,

Please make the following change:


        public ULCButtonAdapter(ULCButton button){
                this.button = button;
                upload();
>>>>>>      markUncollectable();
                addListener(UlcEventCategories.ACTION_EVENT_CATEGORY, new
ActionHandler());
        }


You have to mark a proxy that has no refernces (such as containment is a
parent widget like window) to be uncollactable by the garbage collector.

Please see section 3.2.1 of ULC Extension Guide.

Thanks and regards,

Janak


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anton Levcik
Sent: Tuesday, October 17, 2006 11:39 PM
To: '[EMAIL PROTECTED] Com'
Subject: [ULC-developer] Problem with writting non visual extension


Hi,

I have problem with writing non visual extension.
I would like to call server service in ULC server half class from client
half class.
I was trying  use invokeULC and fire action event, but code in ULC half
object
did not executing. When I was  trying call not exisitnig method in ULC
object,
through invokeULC, ULC did not generate any error.

I attached small classes, that demonstrate described behaviour.
After starting application, click on button. After click is calling code
in ButtonAdapter, when it calls three methodes from UIAdapter.
These methodes call code in ULCButtonAdapter, but none means works.
No error is reported even if methode in ULC object does not exist.

Please, could you tell me, what I do wrong?
I use ULC 6.1.1. (6.1.0)  java 1.5.0_08, OS Windows XP.
Thanks you for advice.

            Levcik  Anton,  CIS Bratislava, Slovakia


_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to