Id problem with boxes

Phalip Julien <[email protected]> Fri, 6 Aug 2004 02:13:41 +0200 (CEST)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
--0-212686156-1091751221=:1925
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi there !
 
If I specify an id for a box like that:
<hbox id="foo" ...>
 
then the corresponding JPanel doesn't have the name "foo" but a null value. Is that a bug ?
 
I looked into luxor classes, and this could be fixed by adding "setName(_panel);" in the BoxPeer constructor.
 
Right ? If so, will it be included in next releases of luxor ?
 
Cheers,
 
Julien


		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
--0-212686156-1091751221=:1925
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>
<DIV>Hi there !</DIV>
<DIV>&nbsp;</DIV>
<DIV>If I specify an id for a box like that:</DIV>
<DIV>&lt;hbox id="foo" ...&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>then the&nbsp;corresponding JPanel doesn't have the name "foo" but a null value. Is that a bug ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I looked into luxor classes, and this&nbsp;could be&nbsp;fixed by adding "setName(_panel);" in the BoxPeer constructor.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Right ? If so, will it be included in next releases of luxor ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Julien</DIV></DIV><p>
		<hr size=1>
Créez gratuitement votre Yahoo! Mail avec <font color="red"><b>100 Mo de stockage !</b></font>
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a><br><br>
<font color="red"><b>Le nouveau Yahoo! Messenger est arrivé !</b></font> Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.
<a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez GRATUITEMENT ici !</a>
--0-212686156-1091751221=:1925--


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com