RE: best way to integrate a page or component to keep modular

2013-05-25 Thread Ken in Nashua
Well it looks like... if I get to it... I will write a MyShineyNewComponent to do the job. right now I have some jar file hidden deep in my build somehow dragging in an early version of hibernate and taking me out cold.

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 May 2013 20:16:39 -0300, George Ludwig wrote: I should probably look at more Tapestry source :) I've learned a lot from reading it. Very, very well architected and well written. -- Thiago H. de Paula Figueiredo

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread George Ludwig
I should probably look at more Tapestry source :) On Tue, May 21, 2013 at 4:02 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 21 May 2013 19:33:02 -0300, George Ludwig > wrote: > > Dmitry, >> >> Thanks for that, I didn't realize you could delegate to blocks from other

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 May 2013 19:33:02 -0300, George Ludwig wrote: Dmitry, Thanks for that, I didn't realize you could delegate to blocks from other pages! The BeanModel-based components (Grid, BeanEditor, etc) are based on exactly that. -- Thiago H. de Paula Figueiredo

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread George Ludwig
Dmitry, Thanks for that, I didn't realize you could delegate to blocks from other pages! -George On Mon, May 20, 2013 at 11:30 PM, Dmitry Gusev wrote: > > But, if implement my pages with blocks, like: > > Page1.tml: > > > >Page1 > > > > Page2.tml > > > >

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Geoff Callender
??? Here some tabs. There's nothing to it. http://jumpstart.doublenegative.com.au/jumpstart/together/withlayout/helloworld Here are some more tabs. Again, nothing to it. http://tapestry-stitch.uklance.cloudbees.net/tabgroupdemo I hope this helps. Geoff On 22/05/2013, at 3:43

RE: best way to integrate a page or component to keep modular

2013-05-21 Thread Ken in Nashua
Thanks Dimitri, Exactly... you hit the nail right on the head. I dont think i should have to write a component for every tab on a tab control just to reduce code bloat. Does anyone disagree with Dimitri ? If so i would like to hear it. There is no religion here... just common sense. : )

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Taha Hafeez Siddiqi
Hi Ken Tapestry is a wonderful tool. I keep reading your questions and wondering why would somebody do that.. My humble suggestion would be to go through Igor's book and jumpstart examples and once you are done with them, checkout the tests in tapestry-core and tapestry-ioc source. I have seen

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 May 2013 01:31:54 -0300, Ken in Nashua wrote: cant I use the ? Why do you keep trying to do things in Tapestry in a very non-Tapestry way? In Tapestry, pages are not meant for reuse, components are, so write components and be a happy camper. Don't expect us to help you in doi

Re: best way to integrate a page or component to keep modular

2013-05-20 Thread Dmitry Gusev
On Tue, May 21, 2013 at 7:29 AM, Ken in Nashua wrote: > ok good answers guys... thanks... > > I cant say I am happy about it. > > I have to write a component just to embed a page ? > > No, you don't have to. You can use HTML or to embed pages. > Shouldn't there be a generic tapestry component

RE: best way to integrate a page or component to keep modular

2013-05-20 Thread Ken in Nashua
cant I use the ?

RE: best way to integrate a page or component to keep modular

2013-05-20 Thread Ken in Nashua
ok good answers guys... thanks... I cant say I am happy about it. I have to write a component just to embed a page ? Shouldn't there be a generic tapestry component to already do this ? ░▒█▓░ ░░░▓██▒░░ ░▒

Re: best way to integrate a page or component to keep modular

2013-05-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 May 2013 17:56:28 -0300, Cezary Biernacki wrote: You can't render a page in another page. And you probably should not. I'd say "You should *not* render pages in other pages. Period. Write a component instead.". But you can move reusable part of one page to a component and use

Re: best way to integrate a page or component to keep modular

2013-05-20 Thread Cezary Biernacki
You can't render a page in another page. And you probably should not. But you can move reusable part of one page to a component and use this new component on as many pages as you want just by writing . It is the main feature of Tapestry - components as a way to reuse template and code. On Mon,

RE: best way to integrate a page or component to keep modular

2013-05-20 Thread Ken in Nashua
you might be thinking I am inside my layout.tml... or my home.tml... almost... the case... My block is within my home.tml... which is already being laid thru to layout.tml and is used in layout.tml my issue is just a surrogate tab block inside my home.tml all I want to do is embed the renderi

Re: best way to integrate a page or component to keep modular

2013-05-20 Thread Ken in Nashua
Guys, I stillk dont get it though... if I have a block like How do I get a page rendered inside this block? I mean I have a page called RosterQuery.tml RosterQuery.java there is How do i put this together... I still dont know how to reference my page into the above block so it will em

Re: best way to integrate a page or component to keep modular

2013-05-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 May 2013 10:47:06 -0300, Ben Titmarsh wrote: Sounds like what you want is a layout component which uses t:body. Just a reminder that any component can use and that a Layout component is something like a design patter in Tapestry, as all components are treated in the exact sa

RE: best way to integrate a page or component to keep modular

2013-05-20 Thread Ben Titmarsh
://tapestry.apache.org/layout-component.html > From: kcola...@live.com > To: users@tapestry.apache.org > Subject: RE: best way to integrate a page or component to keep modular > Date: Sun, 19 May 2013 21:02:54 -0400 > > For instance... given this block of code.. > >

RE: best way to integrate a page or component to keep modular

2013-05-19 Thread Ken in Nashua
For instance... given this block of code.. add INFORMATION description here ROSTERS please select a team