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 wrote:
> Component librarybut I can just copy the code as well s
Component librarybut 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 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 m
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
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 wrote:
> FYI I've just cleaned up the demo and added a bit of documentation
> http://tapestry-stitch.uklance.cloudbees.net/databasetreedemo
>
>
>
> On 20 Ju
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 wrote:
> Hm...Ok I see the benefit of your implementation I will definitely give it
> a try this weekend
>
> Thanks
>
> On Thu, J
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 wrote:
> Yes, that's exactly why I created the LazyTreeModel.
>
> The DefaultTreeModel works best when the entire model is loaded into memory
> and the
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 co
I will try it out, however my current implementation works for me. I guess
what I like about using encoder is that it allows me to easily override
findById (since it is using encoders) and then I can prevent loading of the
nodes that cant possible be the one a user clicked...
Cheer
On Wed, Jun 1
FYI I've just added a database backed demo of the LazyTreeModel to
tapestry-stitch
http://tapestry-stitch.uklance.cloudbees.net/lazytreedemo
Note: The documentation is lacking, the demo is ugly and the sample data is
very sparse... the code could probably do with a refactor too!!
I'll tidy it up w
Hi Willy, you seem to have hijacked a thread to start a new topic.
I think your problem is caused because you are trying to flatten a grid
with no rows. You'll need to render at least one row (even if it contains
blank values) for it to be flattened. This could be done by wrapping your
GridDataSou
}
}
*/
I just dont get it.
Will
De : Lance Java
À : Tapestry users
Envoyé le : Mardi 18 juin 2013 9h35
Objet : Re: DefaultTreeModel doesnt user encoder to get the node
Even if this functionality changes, I still think that DefaultTreeModel is
flawed.
DefaultTreeModel requires the root
Even if this functionality changes, I still think that DefaultTreeModel is
flawed.
DefaultTreeModel requires the roots to be instantiated for the model to
exist (it's part of the constructor). If you source your data from a
database and don't store the model in the session or as a singleton this
w
Well it is true that encoder cant return Node but the value inside it.
However that can easily be transformed into a node as I have done. So I
guess then there will be no plans to change this behaviour in the future?
On Mon, Jun 17, 2013 at 2:24 PM, Lance Java wrote:
> There is no connection to
There is no connection to tapestry-stitch. I might put together a demo in
the future if I get the time
Hi,
i am not sure how to connect this to the stitch-demo you wrote before...
veillez! car nul ne sait ni l'heure ni ne jour.
De : Lance Java
À : Tapestry users
Envoyé le : Lundi 17 juin 2013 11h49
Objet : Re: DefaultTreeModel doesnt user encoder to ge
FYI, I have always thought that the DefaultTreeModel makes it difficult to
efficiently load a TreeModel from the database. If you're not careful, you
will fire N+1 selects.
I have created an (untested) LazyTreeModel which IMO is much easier to
implement an efficient database lookup for tree nodes.
The encoder can't retrieve values of type TreeNode, it can only get
values of type T.
It seems that DefaultTreeModel is optimised for session persistence. If
you'd prefer to load on demand, you might want to override getById() to
lookup all node properties from the database
Hi all. I will try first to explain my use case as that might shad some
light on the problem that I encountered here.
I have a tree that always has 4 main nodes, 2 nodes under each main one and
the then rest of the nodes are created from the db. So something like
category1
subcategory11
s
18 matches
Mail list logo