Jonathan,

On Fri, 2 Jan 2009, Jonathan Barker wrote:

Search the list for the Jumpstart application. It has been kept right up to date with the latest release of T5. I think you will find it has many good examples. (Also, search the Wiki for titles with "Tapestry5". It's not all up to date, but there's some great stuff.)

It looks like there's plenty there to keep me busy for a while. It doesn't seem to have any ManyToMany relation examples. The following in the Jumpstart root directory:

# find . -name "*.java" -exec grep ManyToMany {} \;

returns nothing. But, it does have a few OneToMany relations, which should be close enough to get me started.

Searching the wiki for ManyToMany also turned up next to nothing. It turned up a couple of pages, but they just mentioned OneToMany, ManyToMany, etc., in passing without any actual code examples of the annotations. I was sure I saw a few examples in the tapestry5 doc section. Is the main Tapestry site indexed by Google? A Google search for:

    site:tapestry.apache.org/tapestry5 ManyToMany

got no hits at all.

I'm not sure you really want a grid for what you have displayed, but rather
Loops generating the tables on your own.  Because you have both column and
row groupings (COLSPAN,ROWSPAN) on the pages you listed, I'm not sure how
you would do things like apply sorting.

I suspected that might be the case. The grid component is impressive enough as it is. If it could "magically" handle multi-level hierarchical data I might not know how to act. :-) With Django I'm currently generating those pages with nested loops. Before Django I gave ASP.NET(via Mono on a FreeBSD box) a try and was generating those pages by dumping the data to XML and using XSLT.

Hibernate has a learning curve all its own, so if you're not familiar with it, take some time to learn it on its own. At least be prepared for some hair-pulling if you try to learn both Tapestry and Hibernate at the same time.

I'm a relative newbie to Tapestry, Hibernate, and Java. It might be a good thing that I have very little hair. I figure if I'm going to go bald some day I might as well beat nature to it. I alternate between clipping it as short as clippers will clip it, and shaving my head. I've let it grow out a bit for winter. Maybe I should shave it before Hibernate drives me to trying to pull what little I have left out. :-)



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to