Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Jul 2010 16:44:13 -0300, Adam Zimowski wrote: * Is there a better way to store file content (cache?). Not sure if reading it on each access is the right way to go. You should definetely use some form of cache (EHCache, etc). Never user an expansion (${}) when passing a value t

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Adam Zimowski
Tapestry never disappoints! Single page loading content from activation context is so simple and easy, it just feels like the right way to go! Here is what I've got which pretty much works. Static publishable content wrapped around a layout. Few questions regarding possible improvements: * Is the

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Michael Gentry
On Fri, Jul 23, 2010 at 12:51 PM, Thiago H. de Paula Figueiredo wrote: > Struts is a completely different beast when compared to Tapestry, so most of > the approaches used in one don't apply to the other. I think that's why we are here, Thiago. :-) mrg -

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Robert Zeigler
That's how I've done it in the past. With URL rewriting, this can be made even "nicer" in that you can map your more complicated url (with extra parameters/pathinfo) to a simpler url, and vice versa Robert On Jul 23, 2010, at 7/2311:45 AM , Adam Zimowski wrote: > I was thinking about that Thi

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Jul 2010 13:45:57 -0300, Adam Zimowski wrote: I was thinking about that Thiago :) In fact, that's about how we do it currently with Struts. I'm going to give this a try today. Struts is a completely different beast when compared to Tapestry, so most of the approaches used in on

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Adam Zimowski
I was thinking about that Thiago :) In fact, that's about how we do it currently with Struts. I'm going to give this a try today. Adam On Fri, Jul 23, 2010 at 11:37 AM, Thiago H. de Paula Figueiredo wrote: > On Fri, 23 Jul 2010 13:31:59 -0300, Adam Zimowski > wrote: > >> I guess worst case scen

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Jul 2010 13:31:59 -0300, Adam Zimowski wrote: I guess worst case scenario we can precompile these empty classes during our publishing process. Need to verify if that will work but that would be the work around. Why not having a single page class that loads the content to be rende

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Adam Zimowski
I guess worst case scenario we can precompile these empty classes during our publishing process. Need to verify if that will work but that would be the work around. On Fri, Jul 23, 2010 at 11:26 AM, Adam Zimowski wrote: > Okay having to try both suggestions I'm finding that requirement of a > co

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Jul 2010 13:26:03 -0300, Adam Zimowski wrote: So is there a way to make Tapestry process a template without a Java class? That's really, all I need. No. On the other hand, you can have a Tapestry page to render different output based on activaction context or query parameters.

Re: T5: CMS integration - multiple templates single controller?

2010-07-23 Thread Adam Zimowski
Okay having to try both suggestions I'm finding that requirement of a component class is what's making this simple requirement a difficult excercise. I was able to get templates to load from a different location on the filesystem, but that's not really my requirement. Here is a very simplified sce

Re: T5: CMS integration - multiple templates single controller?

2010-07-21 Thread Howard Lewis Ship
I've managed to get more of the docs working, including Javadoc, but not the component report yet. http://tapestry.formos.com/nightly/tapx/ On Wed, Jul 21, 2010 at 11:26 AM, Adam Zimowski wrote: > Thank you much Guys. This is definitely giving me ways to explore. I > will share our solution whe

Re: T5: CMS integration - multiple templates single controller?

2010-07-21 Thread Adam Zimowski
Thank you much Guys. This is definitely giving me ways to explore. I will share our solution when it's ready, but may post some questions first :) On Wed, Jul 21, 2010 at 11:35 AM, Thiago H. de Paula Figueiredo wrote: > Take a look at these past discussions: > > http://old.nabble.com/Tapestry-Tem

Re: T5: CMS integration - multiple templates single controller?

2010-07-21 Thread Thiago H. de Paula Figueiredo
Take a look at these past discussions: http://old.nabble.com/Tapestry-Templates-%2B-Scripting-Language-(CMS)-to27191065s302.html#a27191192 http://old.nabble.com/How-to-load-tml-files-from-the-filesystem-instead-of-classpath--tp28462363s302p28469434.html -- Thiago H. de Paula Figueiredo Independ

Re: T5: CMS integration - multiple templates single controller?

2010-07-21 Thread Howard Lewis Ship
The tapx library includes a dynamic templating component that is probably perfect for your needs. Unfortunately, the documentation for tapx isn't building lately, so it's a challenge to know about it. I'll try and work on that over the next couple of days. On Wed, Jul 21, 2010 at 8:00 AM, Adam Z

T5: CMS integration - multiple templates single controller?

2010-07-21 Thread Adam Zimowski
One of the big features of our current Struts-based app (we are porting to T5), is the integration with content management system (we use RedDot). What we do currently, is we have a single Struts action, which inspects query parameter for CMS page, and dynamically streams the markup for that page (

Re: T5: CMS Integration

2008-09-30 Thread Lutz Hühnken
Dear Mr. Mason, > Tapestry features so I can't us a conventional CMS like Magnolia. Has > any one else had any success with this sort of integration. yes, we had. If you look for example at "www.go7seas-kreuzfahrten.de", you will see a "hybrid". The cruises, the booking process, ship and journey

T5: CMS Integration

2008-09-13 Thread Charles Mason
Hi All, I was wondering if anyone has had any experience integrating a CMS in to a Tapestry 5 App. I really like the T5 templating system and so I am keen to keep using it. However sometimes I need to be able to allow the user to edit a pages content, however other parts of the site need Tapestry

Re: CMS Integration

2006-12-18 Thread Igor Bljahhin
Hi! Can we talk on Gtalk or something? Actually, I don't have much code, just one-two classes... Igor On 12/14/06, Borut Bolčina <[EMAIL PROTECTED]> wrote: Hi Igor, I am planning to integrate Tapestry with some portal and CMS solutions available commercially or in open source form. Accessing

Re: CMS Integration

2006-12-14 Thread Borut Bolčina
Hi Igor, I am planning to integrate Tapestry with some portal and CMS solutions available commercially or in open source form. Accessing content repository like Apache Jackrabbit via Tapestry components (and/or portlets) seems a goal to pursue. I am very interested in your work so far. Can you pl

Re: CMS Integration

2006-09-05 Thread soir
Hello, I work on the integration of Jackrabbit repository with Tapestry. So far, I have implemented the loading of localized assets from CMS and now I am working on the loading of message files from CMS. Igor -- View this message in context: http://www.nabble.com/OT%3A-Tacos-issues-tf1875199.h

Re: CMS Integration

2006-07-12 Thread Lutz Hühnken
Simeon, it would of course be great if you'd provide your code. I wasn't aware you had already done some work in the area, only today by means of google I read your posting from november 05. What is the status of your code? Is it currently in use with alfresco? Have you tried it with other JCRs,

Re: CMS Integration

2006-07-10 Thread spamsucks
andag 10 juli 2006 7:30 To: Tapestry users Subject: Re: CMS Integration Oh, if you're interested in it, I can give my code for JCR integration as a base :) 2006/7/9, Lutz Hühnken <[EMAIL PROTECTED]>: > > Hi, > > I haven't really looked at it, but I was wondering... as fa

Re: CMS Integration

2006-07-10 Thread Julio C. Rivera
feature/add-on: - not re-invent the wheel - growing market need - Tapestry will 'sell' more/better - ... I'm interested in contributing/developing on this topic! greetz -Original Message- From: Simeon Koptelov [mailto: [EMAIL PROTECTED] Sent: maandag 10 juli 2006 7:30

RE: CMS Integration

2006-07-10 Thread wouter.cleuren
[mailto:[EMAIL PROTECTED] Sent: maandag 10 juli 2006 7:30 To: Tapestry users Subject: Re: CMS Integration Oh, if you're interested in it, I can give my code for JCR integration as a base :) 2006/7/9, Lutz Hühnken <[EMAIL PROTECTED]>: > > Hi, > > I haven't really looke

Re: CMS Integration

2006-07-09 Thread Simeon Koptelov
Oh, if you're interested in it, I can give my code for JCR integration as a base :) 2006/7/9, Lutz Hühnken <[EMAIL PROTECTED]>: Hi, I haven't really looked at it, but I was wondering... as far as I understand, you'd like to integrate CMS-managed content into a Tapestry-based site. You mention

Re: CMS Integration

2006-07-09 Thread Lutz Hühnken
Hi, I haven't really looked at it, but I was wondering... as far as I understand, you'd like to integrate CMS-managed content into a Tapestry-based site. You mention Magnolia... afaik, Magnolia uses a JSR 170 compliant content repository, such as Apache Jackrabbit ("http://jackrabbit.apache.org/

Re: CMS Integration

2006-07-06 Thread Phillip Rhodes
AIL PROTECTED]> > To: "Tapestry users" > Sent: Wednesday, July 05, 2006 10:59 AM > Subject: Re: CMS Integration > > >> What are the basic requirements? CMS is a many-faceted beast. >> >> >> >>> Has anyone integrated any sort of CMS tool wi

Re: CMS Integration

2006-07-06 Thread Mike Grundvig
t; <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, July 05, 2006 10:59 AM Subject: Re: CMS Integration What are the basic requirements? CMS is a many-faceted beast. Has anyone integrated any sort of CMS tool with Tapestry? I've looked into Magnolia and

Re: CMS Integration

2006-07-05 Thread Phillip Rhodes
What are the basic requirements? CMS is a many-faceted beast. > Has anyone integrated any sort of CMS tool with Tapestry? I've looked into > Magnolia and several others, but all seem to require an uphill battle if > they are to be tied into Tapestry and I was wondering if someone else has > alre

CMS Integration

2006-07-01 Thread Mike Grundvig
Has anyone integrated any sort of CMS tool with Tapestry? I've looked into Magnolia and several others, but all seem to require an uphill battle if they are to be tied into Tapestry and I was wondering if someone else has already done this. Thanks! Michael Grundvig -