JPublish 2.0b2 Released

Anthony Eden <[email protected]> Fri, 14 Mar 2003 23:24:11 -0500
Newsgroups gmane.comp.java.jpublish.announce,gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
Version 2.0b2 of the JPublish web application framework is now available 
at http://www.jpublish.org/ .

JPublish is a powerful web publishing system designed to ensure a clean 
separation of developer roles.  JPublish includes support for multiple 
templating engines, including Jakarta Apache's Velocity, FreeMarker and 
WebMacro.  JPublish supports numerous scripting languages including 
Python, BeanShell, and JavaScript.  JPublish is modular and provides for 
easy extensibility.

This release includes the following changes: View interface changed to 
include path to template.  All template implementations now support 
named templates via the path parameter.  FreeMarkerViewRenderer is now 
Locale-sensitive.  Page now uses system Locale as default.  Template can 
now have actions which are associated through a template configuration 
file with the same name as the template but with .xml as its suffix 
[note that if a template needs to end with .xml then this will be a 
problem].  Added missing StringWriter instantiation to 
ExtendedFileSystemRepository (Submitted by Andy Zeneski).  Added 
getContent() to SiteContext.  Content interface is now used to provide 
content to view engines which can be cached.  This also helps support 
include directives in template engines.  Added RepositoryContent class.  
Added TemplateContent class. Added InternalURI classes for parsing 
internal JPublish URIs. Updated to current FreeMarker build.  Added 
lastModified property to Template.  Reworked the FreeMarkerViewRenderer 
to take advantage of FreeMarker's built in cache for parsed templates. 
Reworked the VelocityViewRenderer to take advantage of Velocity's built 
in cache for parsed templates. PathUtilities protocol names are now 
public constants. Page.setProperty() methods are now public.  Calling 
PageDefinition.loadConfiguration() now clears the internal PageInstance 
cache. Added getLastModified(String path) to StaticResourceManager. 
Static resources now set the HTTP Last-Modified header (Thanks to 
Florian for the suggestion).  Template includes now work properly with 
absolute and relative paths.



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en