Re: id attribute of buttongroup tag

[email protected] Thu, 26 May 2005 23:37:03 +0300
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Hello,

thanks for the answer but

>List for Users of Carlsbad Cubes' Technologies and Products 
><[email protected]> schrieb am 13.05.05 00:55:41:
>> 
>> Hello,
>> 
>> it seems that id attribute of buttongroup tag is not handled 
>> correctly.
>> more precisely created ButtonGroup component is not assigned to
>> correspondent field of client object.
>
>Vitali, just use 
>bgroupSex = (ButtonGroup) swingEngine.find("bgroupSex");
    
    sorry this code won't work. swingEngine.find returns     
    java.awt.Component while ButtonGroup is not a subclass of 
Component.

>I do not know of such a functionality to assign fields of the client 
>in respect to the ids of xml elements.

   maybe I was using the wrong terminology. if you look into my test 
case
   again, after execution of new 
SwingEngine(client).render("frame.xml");
   radioMale and radioFemale fields of client object reference 
   created RadioButton objects. While bgroupSex is null. 
   I expected the same behaviour for it.

   Regards,

   Vitali
   
   
---
FORD "Р›РБЕРТРМОТОРС" представляет Ford Fusion РїРѕ РЅРѕРІРѕР№ цене РѕС‚ $11 900
Великолепная маневренность. Высокая посадка водителя. Панорамная обзорность. 
Ford Fusion: СЃ РіРѕСЂРѕРґРѕРј РЅР° РўР«! "Р›РБЕРТРМОТОРС". Авторынок "Малиновка".
Тел. 201-79-15. http://www.fordmotor.by/