Re: T5: CMS integration - multiple templates single controller?
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 scenario that would totally solve my problem: * Basically all our CMS pages are static, so the controller class would have been an empty Java class: public class Page1 {} public class Page2 {} etc etc We are totally fine with WAR based package structure our.app.pages.cms where all static pages go to cms package. So to simplify my problem, all I really need is a way for Tapestry to load all my pages in the cms package, without a Java class with a safe assumption that it would have been empty one. So is there a way to make Tapestry process a template without a Java class? That's really, all I need. Adam On Wed, Jul 21, 2010 at 5:19 PM, Howard Lewis Ship hls...@gmail.com wrote: 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 zimowsk...@gmail.com wrote: 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 thiag...@gmail.com wrote: 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 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
On Fri, 23 Jul 2010 13:26:03 -0300, Adam Zimowski zimowsk...@gmail.com 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. If I had to implement a CMS, I would use a template engine like Freemarker, a WYSOWYG HTML editor like FCKeditor or even some wiki-like language to let users edit what they want and Tapestry for the rest. Tapestry templates were designed to be used by developers, not end users. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 zimowsk...@gmail.com wrote: 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 scenario that would totally solve my problem: * Basically all our CMS pages are static, so the controller class would have been an empty Java class: public class Page1 {} public class Page2 {} etc etc We are totally fine with WAR based package structure our.app.pages.cms where all static pages go to cms package. So to simplify my problem, all I really need is a way for Tapestry to load all my pages in the cms package, without a Java class with a safe assumption that it would have been empty one. So is there a way to make Tapestry process a template without a Java class? That's really, all I need. Adam On Wed, Jul 21, 2010 at 5:19 PM, Howard Lewis Ship hls...@gmail.com wrote: 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 zimowsk...@gmail.com wrote: 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 thiag...@gmail.com wrote: 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 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
On Fri, 23 Jul 2010 13:31:59 -0300, Adam Zimowski zimowsk...@gmail.com 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 rendered according to activation context or query parameters? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
On Fri, 23 Jul 2010 13:45:57 -0300, Adam Zimowski zimowsk...@gmail.com 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 one don't apply to the other. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 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 thiag...@gmail.com wrote: On Fri, 23 Jul 2010 13:31:59 -0300, Adam Zimowski zimowsk...@gmail.com 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 rendered according to activation context or query parameters? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
On Fri, Jul 23, 2010 at 12:51 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com 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 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 there anything fundamentally wrong with what I have (I haven't coded Tapestry in years)? * Is there a better way to store file content (cache?). Not sure if reading it on each access is the right way to go. * I supposed I need to look for the right file name myself based on the locale? page1.html page1_fr.html etc etc. We do that currently, so no problem if not, but checking if there is any helpful utility resolver out there? my.app.tapestry.components public class Cms { @Parameter(required = true, defaultPrefix = BindingConstants.LITERAL) private String target; @Inject private Locale locale; @Inject private Logger log; @BeginRender void renderMessage(MarkupWriter writer) { log.debug(locale.toString()); File f = new File(cms/ + target + .html); try { String s = FileUtils.readFileToString(f); writer.writeRaw(s); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); writer.writeRaw(bERROR/b reading file); } } } my.app.tapestry.pages public class Info { @SuppressWarnings(unused) @Property(write=false) private String target; void onActivate(String aParam) { target = aParam; } } Info.tml t:layout xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; t:cms t:target=${target}/ /t:layout projectRoot/cms/ - page1.html Requesting 127.0.0.1/info/page1.html works like a charm :) Adam On Fri, Jul 23, 2010 at 12:51 PM, Michael Gentry mgen...@masslight.net wrote: On Fri, Jul 23, 2010 at 12:51 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com 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 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T5: CMS integration - multiple templates single controller?
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 (along with some Tiles magic). We also do some high-level URL rewriting to pretty-up page query parameter. In Tapestry, I was relating this to having a single page controller and multiple TML files. Is this possible? A big thing for us is that we need our CMS pages to contain a layout component with all the dynamic stuff, yet everything else on those pages is static, managed through CMS studio tool by entirely different (non-technical, business) team. These pages are to be published to a running deployment, of course with whatever frequency. So my questions are: * Specifically, is it possible and if so, how, to have single controller, multiple templates. * Any examples of existing CMS-Tapestry integration? We are likely to stay on RedDot with this project, but maybe there are some good ideas out there. Thank You Adam - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 Zimowski zimowsk...@gmail.com wrote: 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 (along with some Tiles magic). We also do some high-level URL rewriting to pretty-up page query parameter. In Tapestry, I was relating this to having a single page controller and multiple TML files. Is this possible? A big thing for us is that we need our CMS pages to contain a layout component with all the dynamic stuff, yet everything else on those pages is static, managed through CMS studio tool by entirely different (non-technical, business) team. These pages are to be published to a running deployment, of course with whatever frequency. So my questions are: * Specifically, is it possible and if so, how, to have single controller, multiple templates. * Any examples of existing CMS-Tapestry integration? We are likely to stay on RedDot with this project, but maybe there are some good ideas out there. Thank You Adam - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 thiag...@gmail.com wrote: 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 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS integration - multiple templates single controller?
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 zimowsk...@gmail.com wrote: 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 thiag...@gmail.com wrote: 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 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5: CMS Integration
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 information are all part of a tapestry application. All the pages in the Information and Service areas are maintained by the customer using the Magnolia CMS. The site is somewhat beta, so please be forgiving if you notice any glitches. What I was thinking was using Magnolia or another CMS as an editor then accessing the CMS's JCR data store (such as Jack Rabbit) directly. Then when the component tries to load its template it fetches it directly form the JCR. [...] My problem is I am not really sure if this is possible using Tapestries IOC. I realise I could make changes to the tapestry code I think the approach you describe is very well possible and would not even involve any low-level changes or overriding services using tapestry-ioc. One would have to implement a number of Tapestry components that mirror the functionality given in the Magnolia JSP tag library. Actually, I wanted to start an effort to do just that a long time ago: http://sourceforge.net/projects/tapestry-jcr/;. I haven't found the time yet, though. However, the approach has the drawback that you will have to maintain two versions of your templates - a JSP-based one for Magnolia, and the Tapestry ones. Basically, you'd have every page twice. That's why we chose a different approach. We use Magnolias output as the input for Tapestry. That is, the rendered Magnolia page is actually a Tapestry template. Since Magnolia uses JSP, these to approaches don't interfere. You can easily add t:ids and such to your Magnolia templates. You can use Tapestry's template location mechanism to get the pages from Magnolia, and put any pre-generation and/or caching in between. Hth, Lutz Hühnken http://www.altocon.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: CMS Integration
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 features so I can't us a conventional CMS like Magnolia. Has any one else had any success with this sort of integration. What I was thinking was using Magnolia or another CMS as an editor then accessing the CMS's JCR data store (such as Jack Rabbit) directly. Then when the component tries to load its template it fetches it directly form the JCR. That way Tapestry's page caching could be used to as normal and would reduce access to the JCR. It would be nice to let it reload the template in the same way that a normal components template file changes get reloaded. Is this the best way to integrate a CMS or is there something I am missing? My problem is I am not really sure if this is possible using Tapestries IOC. I realise I could make changes to the tapestry code base directly but I am keen to keep my project compatible with the official Tapestry Jars. I have used the IOC to make a security service which responds to various annotations on a page's methods so I do have some experience with it, but parts of it are still a bit of a mystery to me. Any advise would be greatly appreciated. Charlie M - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
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 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 please share some info on your solutions? Regards, Borut 2006/9/5, soir [EMAIL PROTECTED]: 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.html#a6148924 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
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 please share some info on your solutions? Regards, Borut 2006/9/5, soir [EMAIL PROTECTED]: 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.html#a6148924 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
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.html#a6148924 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
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, such as jackrabbit? Is it available for download anywhere? Apparently, there is a handful of people interested in JCR access through Tapestry, so I think we should set something up. If it wasn't for you mail, I would have created a tapestry-jcr sourceforge project and would have started working on the functionality your code apparently provides. I have little time to spare for it, though, so to start of with already working code would give it quite a boost. But I don't want to steal your project from you - maybe you want to turn it into a sourceforge project yourself? I'm sure people will use those components and you'll get a lot of credit for it. Well, if you don't, let me know. In that case I'll be happy to start a project based on your implementation. Regards, Lutz On 7/10/06, Simeon Koptelov [EMAIL PROTECTED] wrote: 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 Magnolia... afaik, Magnolia uses a JSR 170 compliant content repository, such as Apache Jackrabbit (http://jackrabbit.apache.org/;), to store the content. It provides a number of JSP tags to access that content from within your page templates (http://magnolia.sourceforge.net/30/taglib/intro.html;). It seems getting content out of Jackrabbit is not all that hard. So here's my idea: Why don't we start a project to build some Tapestry components to access content repositories that conform with JSR 170? A possible approach could be to re-implement the Magnolia JSP taglib, or parts of it, as Tapestry components. Or maybe Stitches could be used as a starting point. This way, I would think, you could use any JSR 170 compliant CMS to manage your content, and could integrate the content in a Tapestry based site using this new component library. What do people think? Is that realistic? Would it work? Would such a component library be of interest to anyone? Lutz On 7/1/06, Mike Grundvig [EMAIL PROTECTED] wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: CMS Integration
a common CMS component library would be a very nice 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 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 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/;), to store the content. It provides a number of JSP tags to access that content from within your page templates (http://magnolia.sourceforge.net/30/taglib/intro.html;). It seems getting content out of Jackrabbit is not all that hard. So here's my idea: Why don't we start a project to build some Tapestry components to access content repositories that conform with JSR 170? A possible approach could be to re-implement the Magnolia JSP taglib, or parts of it, as Tapestry components. Or maybe Stitches could be used as a starting point. This way, I would think, you could use any JSR 170 compliant CMS to manage your content, and could integrate the content in a Tapestry based site using this new component library. What do people think? Is that realistic? Would it work? Would such a component library be of interest to anyone? Lutz On 7/1/06, Mike Grundvig [EMAIL PROTECTED] wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
I think a CMS component library is a very good idea. I'm searching something like it. I'm trying Stitches, but I'm having some problems building and deploying examples. 2006/7/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: a common CMS component library would be a very nice 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 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 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/;), to store the content. It provides a number of JSP tags to access that content from within your page templates (http://magnolia.sourceforge.net/30/taglib/intro.html;). It seems getting content out of Jackrabbit is not all that hard. So here's my idea: Why don't we start a project to build some Tapestry components to access content repositories that conform with JSR 170? A possible approach could be to re-implement the Magnolia JSP taglib, or parts of it, as Tapestry components. Or maybe Stitches could be used as a starting point. This way, I would think, you could use any JSR 170 compliant CMS to manage your content, and could integrate the content in a Tapestry based site using this new component library. What do people think? Is that realistic? Would it work? Would such a component library be of interest to anyone? Lutz On 7/1/06, Mike Grundvig [EMAIL PROTECTED] wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
Julio C. Rivera wrote: I think a CMS component library is a very good idea. I'm searching something like it. I'm trying Stitches, but I'm having some problems building and deploying examples. 2006/7/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: a common CMS component library would be a very nice 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 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 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/;), to store the content. It provides a number of JSP tags to access that content from within your page templates (http://magnolia.sourceforge.net/30/taglib/intro.html;). It seems getting content out of Jackrabbit is not all that hard. So here's my idea: Why don't we start a project to build some Tapestry components to access content repositories that conform with JSR 170? A possible approach could be to re-implement the Magnolia JSP taglib, or parts of it, as Tapestry components. Or maybe Stitches could be used as a starting point. This way, I would think, you could use any JSR 170 compliant CMS to manage your content, and could integrate the content in a Tapestry based site using this new component library. What do people think? Is that realistic? Would it work? Would such a component library be of interest to anyone? Lutz On 7/1/06, Mike Grundvig [EMAIL PROTECTED] wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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/;), to store the content. It provides a number of JSP tags to access that content from within your page templates (http://magnolia.sourceforge.net/30/taglib/intro.html;). It seems getting content out of Jackrabbit is not all that hard. So here's my idea: Why don't we start a project to build some Tapestry components to access content repositories that conform with JSR 170? A possible approach could be to re-implement the Magnolia JSP taglib, or parts of it, as Tapestry components. Or maybe Stitches could be used as a starting point. This way, I would think, you could use any JSR 170 compliant CMS to manage your content, and could integrate the content in a Tapestry based site using this new component library. What do people think? Is that realistic? Would it work? Would such a component library be of interest to anyone? Lutz On 7/1/06, Mike Grundvig [EMAIL PROTECTED] wrote: 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
I left this vague to allow any sort of response. Basically, the closer it gets to something like Magnolia the better but anything someone else has done would be a start. Michael Grundvig Electrotank, Inc http://www.electrotank.com - Original Message - From: Phillip Rhodes [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org 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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CMS Integration
Michael, The tapestry library that I developed (called stitches) has some cms functionality. It is a suite of tapestry components that provide creation,modify, search (using lucene) of a repository. The idea when I started stitches was to make it so stitches could work with jackrabbit,alfresco, etc. using the java cms api. However, as projects go, I found it quicker to just write the content out to the filesystem finish the project. Since all access to the repository is through an interface, and I have a prevayler and hibernate based implementation, it would not be too difficult to implement one for jackrabbit or some other cms api. The basic problem that I was trying to solve with my library is that there are different business objects (e.g. products, categories) that need to have content associated to them (could be a pdf, html). This library gave me a reusable means by which to associate these content items to the business objects. For example, one application that I have allows users to upload and share images. The images get uploaded to the stitch repo and everyone can search the repo and use the images to build flash galleries or associated the images with biz objects (their businesses, or roadtrips, etc). Let me know if there is anything would you find useful. I may be willing to do some coding around implementing a jackrabbit (or other) cms to stitches if I had someone to help out. Thanks Phillip I left this vague to allow any sort of response. Basically, the closer it gets to something like Magnolia the better but anything someone else has done would be a start. Michael Grundvig Electrotank, Inc http://www.electrotank.com - Original Message - From: Phillip Rhodes [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org 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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]