Keel/Sitemesh integration
Shash Chatterjee <[email protected]> Mon, 14 Mar 2005 20:49:12 -0600
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <42364D28.3030508__44758.6910952397$1110854981$gmane$org@badfw.org> |
This is a multi-part message in MIME format. --------------070906040108000301000707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit app-sitemesh 1.0 is now checked in, Mavenized. There is no code in this to "integrate" anything, this just declares the dependencies needed so you can simply define a dependency on app-sitemesh in your Keel project's project.xml, do a "maven keel:maven" and away you go. The instructions, also included in app-sitemesh/project.xml: *This is the integration to include Sitemesh with Keel Webapps. To use this integration, copy the four web-* files from app-sitemesh/conf/client/webapp, and put these files in one of your application modules' conf/client/webapp directory, and uncomment the content. This will define the servlet configuration for sitemesh in the assembled web.xml. Create a src/webapp/WEB-INF directory in your Keel project (not the app-*, svc-* etc. modules, but the project). In it you need to put your sitemesh-decorator.tld and sitemesh-page.tld (in app-sitemesh/conf/client/webapp) files, as well as your sitemesh.xml and decorators.xml. Finally, create the decorators directory (or, whatever directory you choose for your decorators, as specified in your decorators.xml file) in your project's src/webapp directory, and put the JSPs defining your Sitemesh decorators in there. The Sitemesh examples are in app-sitemesh/conf/client/webapp/sitemesh-examples. That's it! Enjoy. * Shash --------------070906040108000301000707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#6600cc"> app-sitemesh 1.0 is now checked in, Mavenized.<br> <br> There is no code in this to "integrate" anything, this just declares the dependencies needed so you can simply define a<br> dependency on app-sitemesh in your Keel project's project.xml, do a "maven keel:maven" and away you go.<br> <br> The instructions, also included in app-sitemesh/project.xml:<br> <br> <b><font color="#3333ff">This is the integration to include Sitemesh with Keel Webapps.<br> To use this integration, copy the four web-* files from app-sitemesh/conf/client/webapp,<br> and put these files in one of your application modules' conf/client/webapp directory,<br> and uncomment the content. This will define the servlet configuration for sitemesh in<br> the assembled web.xml.<br> <br> Create a src/webapp/WEB-INF directory in your Keel project (not the app-*, svc-* etc. modules,<br> but the project). In it you need to put your sitemesh-decorator.tld and <br> sitemesh-page.tld (in app-sitemesh/conf/client/webapp) files, as well as your sitemesh.xml and<br> decorators.xml.<br> <br> Finally, create the decorators directory (or, whatever directory you choose for your decorators, <br> as specified in your decorators.xml file) in your project's src/webapp directory, <br> and put the JSPs defining your Sitemesh decorators in there.<br> <br> The Sitemesh examples are in app-sitemesh/conf/client/webapp/sitemesh-examples.<br> <br> That's it! Enjoy. </font><br> <br> </b><br> Shash<br> </body> </html> --------------070906040108000301000707--