You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Boris Horvat <ho...@gmail.com> on 2013/07/13 20:56:01 UTC

Re: DefaultTreeModel doesnt user encoder to get the node

Hi Lance,

Is there a maven repository that I could used, or do I have to download it
manually?


On Sat, Jun 22, 2013 at 3:02 PM, Lance Java <la...@googlemail.com>wrote:

> FYI I've just cleaned up the demo and added a bit of documentation
> http://tapestry-stitch.uklance.cloudbees.net/databasetreedemo
>
>
>
> On 20 June 2013 18:16, Boris Horvat <ho...@gmail.com> wrote:
>
> > Hm...Ok I see the benefit of your implementation I will definitely give
> it
> > a try this weekend
> >
> > Thanks
> >
> > On Thu, Jun 20, 2013 at 3:16 AM, Lance Java <lance.java@googlemail.com
> > >wrote:
> >
> > > Yes, that's exactly why I created the LazyTreeModel.
> > >
> > > The DefaultTreeModel works best when the entire model is loaded into
> > memory
> > > and the model is stored between requests (in the session or as a
> > > singleton). The first time a node is expanded, it must be found by
> > > traversing from the root which has complexity O(N). Subsequent
> expansions
> > > of the same node have complexity O(1) since a hash lookup in a cache is
> > > done.
> > >
> > > In contrast, the LazyTreeModel has complexity of O(1) without needing
> to
> > be
> > > stored between requests. For this reason, I feel it is more scalable
> > since
> > > you never store the entire tree in memory.
> > >
> >
> >
> >
> > --
> > Sincerely
> > *Boris Horvat*
> >
>



-- 
Sincerely
*Boris Horvat*

Re: DefaultTreeModel doesnt user encoder to get the node

Posted by Jon Williams <wi...@gmail.com>.
how-to maven install the github stitch master zip...
http://www.java-forum.org/web-tier/151331-tapestry-einbinden-componentlibraries.html
auf Deutschland!http://translate.google.com


On Sun, Jul 14, 2013 at 6:33 AM, Boris Horvat <ho...@gmail.com>wrote:

> Component library....but I can just copy the code as well so no need to
> bother on my account.
>
> Thanks
>
>
> On Sun, Jul 14, 2013 at 2:32 PM, Lance Java <lance.java@googlemail.com
> >wrote:
>
> > Hi Boris,
> >
> > I've always considered tapestry-stitch as more of a "how to" rather than
> a
> > jar that you'd want on your classpath. I see the main benefit being the
> > live demo where you can see the examples running in a servlet container
> and
> > then the github repo where you can dig a bit deeper.
> >
> > I've never created an official release and the version has remained at
> > 0.0.1-SNAPSHOT. It's probably easiest to copy / paste the code from the
> > live demo or from github.
> >
> > I'm assuming you were referring to the component library (ie the jar). Or
> > did you want the demo war?
> >
> >
> > On 13 July 2013 19:56, Boris Horvat <ho...@gmail.com> wrote:
> >
> > > Hi Lance,
> > >
> > > Is there a maven repository that I could used, or do I have to download
> > it
> > > manually?
> > >
> >
>
>
>
> --
> Sincerely
> *Boris Horvat*
>

Re: DefaultTreeModel doesnt user encoder to get the node

Posted by Boris Horvat <ho...@gmail.com>.
Component library....but I can just copy the code as well so no need to
bother on my account.

Thanks


On Sun, Jul 14, 2013 at 2:32 PM, Lance Java <la...@googlemail.com>wrote:

> Hi Boris,
>
> I've always considered tapestry-stitch as more of a "how to" rather than a
> jar that you'd want on your classpath. I see the main benefit being the
> live demo where you can see the examples running in a servlet container and
> then the github repo where you can dig a bit deeper.
>
> I've never created an official release and the version has remained at
> 0.0.1-SNAPSHOT. It's probably easiest to copy / paste the code from the
> live demo or from github.
>
> I'm assuming you were referring to the component library (ie the jar). Or
> did you want the demo war?
>
>
> On 13 July 2013 19:56, Boris Horvat <ho...@gmail.com> wrote:
>
> > Hi Lance,
> >
> > Is there a maven repository that I could used, or do I have to download
> it
> > manually?
> >
>



-- 
Sincerely
*Boris Horvat*

Re: DefaultTreeModel doesnt user encoder to get the node

Posted by Lance Java <la...@googlemail.com>.
Hi Boris,

I've always considered tapestry-stitch as more of a "how to" rather than a
jar that you'd want on your classpath. I see the main benefit being the
live demo where you can see the examples running in a servlet container and
then the github repo where you can dig a bit deeper.

I've never created an official release and the version has remained at
0.0.1-SNAPSHOT. It's probably easiest to copy / paste the code from the
live demo or from github.

I'm assuming you were referring to the component library (ie the jar). Or
did you want the demo war?


On 13 July 2013 19:56, Boris Horvat <ho...@gmail.com> wrote:

> Hi Lance,
>
> Is there a maven repository that I could used, or do I have to download it
> manually?
>