Re: [Wicket-user] tree model

2006-07-17 Thread Арву Оетук
Thank to all for replays.

Yes,Johan, this solve problem.
But too many methods in DefaultMutableTreeNode.
I think better way exist.
I create subclass that have loadAllChildren() method. Methods like children() 
or getChildCount() will call loadAllChildren()
Dmitry.


-Original Message-
From: "Johan Compagner" <[EMAIL PROTECTED]>
To: wicket-user@lists.sourceforge.net
Date: Fri, 14 Jul 2006 11:31:05 +0200
Subject: Re: [Wicket-user] tree model

> That looks strange to me.
> i have used my own implementations. Where does the class cast exactly come
> from?
> 
> But still you could use DefaultMutableTreeNode just fine for lazy loading.
> Just don't give him childeren yet. Do that only when ask for (override the
> right methods like
> children() or getChildCount())
> 
> johan
> 
> On 7/14/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> > It inherited that problem from Swing's Tree component. Don't ask me
> > why, but even though there is this TreeNode interface, Swing's Tree is
> > not really usuable with anything else than DefaultMutableTreeNode.
> > Unless I missed something.
> >
> > Eelco
> >
> >
> > On 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote:
> > > When I use class which implement TreeNode, I got ClassCastException.
> > Tree use only DefaultMutableTreeNode.
> > > Wich way I can use?
> > >
> > >
> > > -Original Message-
> > > From: Michael Welter <[EMAIL PROTECTED]>
> > > To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> > > Date: Thu, 13 Jul 2006 03:33:53 -0600
> > > Subject: Re: [Wicket-user] tree model
> > >
> > > >
> > > > Absolutely!  The ability to drill-down into a data structure without
> > > > having to instantiate the entire structure in memory.
> > > >
> > > > Арву Оетук wrote:
> > > > > Hi all.
> > > > > I want use big tree model.
> > > > > But I don't want load all tree in memory.
> > > > > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > > > > Or other way exists?
> > > > > Dmitry.
> > > > >
> > > > >
> > > > >
> > -
> > > > > Using Tomcat but need to do more? Need to support web services,
> > security?
> > > > > Get stuff done quickly with pre-integrated technology to make your
> > job easier
> > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > > > >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > > --
> > > > Michael Welter
> > > > Telecom Matters Corp.
> > > > Denver, Colorado US
> > > > +1.303.414.4980
> > > > [EMAIL PROTECTED]
> > > > www.TelecomMatters.net
> > > >
> > >
> > >
> > >
> > -
> > > Using Tomcat but need to do more? Need to support web services,
> > security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > htt

Re: [Wicket-user] tree model

2006-07-16 Thread Eelco Hillenius
Just looked into it a bit. The problem is that the TreeNode interfaces
really don't define enough behavior. Like getPreviousSibling,
getNextSibling, getPath, getLevel, preorderEnumeration and
getUserObject are all used in both Wicket's tree and Swing's Tree, and
they are only defined in DefaultMutableTreeNode.

Eelco

On 7/14/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> It inherited that problem from Swing's Tree component. Don't ask me
> why, but even though there is this TreeNode interface, Swing's Tree is
> not really usuable with anything else than DefaultMutableTreeNode.
> Unless I missed something.
>
> Eelco
>
>
> On 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote:
> > When I use class which implement TreeNode, I got ClassCastException. Tree 
> > use only DefaultMutableTreeNode.
> > Wich way I can use?
> >
> >
> > -Original Message-
> > From: Michael Welter <[EMAIL PROTECTED]>
> > To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> > Date: Thu, 13 Jul 2006 03:33:53 -0600
> > Subject: Re: [Wicket-user] tree model
> >
> > >
> > > Absolutely!  The ability to drill-down into a data structure without
> > > having to instantiate the entire structure in memory.
> > >
> > > Арву Оетук wrote:
> > > > Hi all.
> > > > I want use big tree model.
> > > > But I don't want load all tree in memory.
> > > > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > > > Or other way exists?
> > > > Dmitry.
> > > >
> > > >
> > > > -
> > > > Using Tomcat but need to do more? Need to support web services, 
> > > > security?
> > > > Get stuff done quickly with pre-integrated technology to make your job 
> > > > easier
> > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> > > > Geronimo
> > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > > --
> > > Michael Welter
> > > Telecom Matters Corp.
> > > Denver, Colorado US
> > > +1.303.414.4980
> > > [EMAIL PROTECTED]
> > > www.TelecomMatters.net
> > >
> >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] tree model

2006-07-14 Thread Johan Compagner
That looks strange to me.i have used my own implementations. Where does the class cast exactly come from?But still you could use DefaultMutableTreeNode just fine for lazy loading.Just don't give him childeren yet. Do that only when ask for (override the right methods like
children() or getChildCount())johanOn 7/14/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:It inherited that problem from Swing's Tree component. Don't ask mewhy, but even though there is this TreeNode interface, Swing's Tree is
not really usuable with anything else than DefaultMutableTreeNode.Unless I missed something.EelcoOn 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote:
> When I use class which implement TreeNode, I got ClassCastException. Tree use only DefaultMutableTreeNode.> Wich way I can use?>>> -Original Message-> From: Michael Welter <
[EMAIL PROTECTED]>> To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> Date: Thu, 13 Jul 2006 03:33:53 -0600> Subject: Re: [Wicket-user] tree model>> >> > Absolutely!  The ability to drill-down into a data structure without> > having to instantiate the entire structure in memory.
> >> > Арву Оетук wrote:> > > Hi all.> > > I want use big tree model.> > > But I don't want load all tree in memory.> > > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > > Or other way exists?> > > Dmitry.> > >> > >> > > -> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job easier> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > > 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > ___> > > Wicket-user mailing list> > > 
Wicket-user@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wicket-user> > >> > >
> >> > --> > Michael Welter> > Telecom Matters Corp.> > Denver, Colorado US> > +1.303.414.4980> > [EMAIL PROTECTED]
> > www.TelecomMatters.net> >>>> -> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] tree model

2006-07-13 Thread Eelco Hillenius
It inherited that problem from Swing's Tree component. Don't ask me
why, but even though there is this TreeNode interface, Swing's Tree is
not really usuable with anything else than DefaultMutableTreeNode.
Unless I missed something.

Eelco


On 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote:
> When I use class which implement TreeNode, I got ClassCastException. Tree use 
> only DefaultMutableTreeNode.
> Wich way I can use?
>
>
> -Original Message-
> From: Michael Welter <[EMAIL PROTECTED]>
> To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
> Date: Thu, 13 Jul 2006 03:33:53 -0600
> Subject: Re: [Wicket-user] tree model
>
> >
> > Absolutely!  The ability to drill-down into a data structure without
> > having to instantiate the entire structure in memory.
> >
> > Арву Оетук wrote:
> > > Hi all.
> > > I want use big tree model.
> > > But I don't want load all tree in memory.
> > > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > > Or other way exists?
> > > Dmitry.
> > >
> > >
> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> > --
> > Michael Welter
> > Telecom Matters Corp.
> > Denver, Colorado US
> > +1.303.414.4980
> > [EMAIL PROTECTED]
> > www.TelecomMatters.net
> >
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] tree model

2006-07-13 Thread David Leangen

Can you send more information?


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Арв?EОе
> тук
> Sent: 13 July 2006 20:59
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] tree model
>
>
> When I use class which implement TreeNode, I got
> ClassCastException. Tree use only DefaultMutableTreeNode.
> Wich way I can use?
>
>
> -Original Message-
> From: Michael Welter <[EMAIL PROTECTED]>
> To: Арву Оетук <[EMAIL PROTECTED]>,
> wicket-user@lists.sourceforge.net
> Date: Thu, 13 Jul 2006 03:33:53 -0600
> Subject: Re: [Wicket-user] tree model
>
> >
> > Absolutely!  The ability to drill-down into a data structure without
> > having to instantiate the entire structure in memory.
> >
> > Арву Оетук wrote:
> > > Hi all.
> > > I want use big tree model.
> > > But I don't want load all tree in memory.
> > > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > > Or other way exists?
> > > Dmitry.
> > >
> > >
> > >
> -
> > > Using Tomcat but need to do more? Need to support web
> services, security?
> > > Get stuff done quickly with pre-integrated technology to make
> your job easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> > >
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> Michael Welter
> Telecom Matters Corp.
> Denver, Colorado US
> +1.303.414.4980
> [EMAIL PROTECTED]
> www.TelecomMatters.net
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] tree model

2006-07-13 Thread Арву Оетук
When I use class which implement TreeNode, I got ClassCastException. Tree use 
only DefaultMutableTreeNode.
Wich way I can use?


-Original Message-
From: Michael Welter <[EMAIL PROTECTED]>
To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net
Date: Thu, 13 Jul 2006 03:33:53 -0600
Subject: Re: [Wicket-user] tree model

> 
> Absolutely!  The ability to drill-down into a data structure without 
> having to instantiate the entire structure in memory.
> 
> Арву Оетук wrote:
> > Hi all.
> > I want use big tree model.
> > But I don't want load all tree in memory.
> > Is it possible use TreeNode instead DefaultMutableTreeNode?
> > Or other way exists?
> > Dmitry.
> > 
> > 
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > 
> > 
> 
> -- 
> Michael Welter
> Telecom Matters Corp.
> Denver, Colorado US
> +1.303.414.4980
> [EMAIL PROTECTED]
> www.TelecomMatters.net
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] tree model

2006-07-13 Thread Michael Welter
Absolutely!  The ability to drill-down into a data structure without 
having to instantiate the entire structure in memory.

Арву Оетук wrote:
> Hi all.
> I want use big tree model.
> But I don't want load all tree in memory.
> Is it possible use TreeNode instead DefaultMutableTreeNode?
> Or other way exists?
> Dmitry.
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
Michael Welter
Telecom Matters Corp.
Denver, Colorado US
+1.303.414.4980
[EMAIL PROTECTED]
www.TelecomMatters.net


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] tree model

2006-07-13 Thread Арву Оетук
Hi all.
I want use big tree model.
But I don't want load all tree in memory.
Is it possible use TreeNode instead DefaultMutableTreeNode?
Or other way exists?
Dmitry.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user