Re: componentRef tag

denis cardon <[email protected]>
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hi Sam,

thanks a lot, it works like a charm ! 

Cheers,

Denis


--- Sam Terrell <[email protected]> wrote:
> denis cardon wrote:
> 
> > Hi Gerald,
> > 
> > Could you please give me a hint on how I should
> get a
> > hold on the <componentref id=".."> component? In
> the
> > form object, I can create a xulinput with the id
> as
> > reference, but I have no clue on how to link my
> custom
> > swing component to the componentref object.
> > 
> > Do you have an advice or a little code snipplet to
> > give ma a hint?
> > 
> > Thanks
> > 
> > Denis
> > 
> 
> Well, the easy part you probably already have:
> <componentref id="stuff"/>
> 
> Then the other part:
> public class X extends XulForm {
> 	public void init() {
> 		JTable stuff=new JTable();
> 		//blah blah blah
> 
> 		addComponent("stuff",stuff);
> 	}
> }
> 
> That should get you where you are going if you
> already have and XUL Form 
> that is working :)
> 
> -Sam
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> luxor-xul-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/luxor-xul-user


=====
=========================
|Denis Cardon, Tranquil I.T. Systems 
|10 rue du Docteur Bouchard, 49400 Saumur
|Tel: +33(0)2.41.67.56.99
|Web: http://www.tranquil-it-systems.fr
=========================

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.