Pebble 1.6-beta1 available
After some tidying up, Pebble 1.6-beta1 is available to download from here. It includes a fair number of enhancements, but the key ones are as follows.
- Better logging with the combined log file format.
- The addition of a simple plugin API for decorating blog entries.
- Improved look and feel without so many popups.
- Early versions of deskblog and moblog.
- New Ant tasks.
I've updated lots of the documentation but I still need to update the docs for weblog to reflect the new features and UI. However, there is a page that briefly explains how to write and deploy a decorator if you want to have a play around.
As always, feedback is welcomed. I'll be writing some more blog entries in the next few days about the new release and some of the other new features.
Re: Pebble 1.6-beta1 available
Has this been tested with Jetty 5? Some stuff seems to work under jetty 5, but when I post to the blog, I get this erro:
Request URL = http://localhost:8080/pebble/common/jsp/template.jsp Request URI = /pebble/common/jsp/template.jsp Query string = content=/common/jsp/error.jsp&content=blogEntries.jsp Parameters : content = /common/jsp/error.jsp org.apache.jasper.JasperException: String index out of range: -1 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472) at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:237) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:149) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at org.apache.jsp.themes.default_.jsp.template_jsp._jspService(template_jsp.java:267) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicatio [snip]
Is Pebble incompatible with the version of Jasper in Jetty 5?
thanks for any tips,
joe
Re: Pebble 1.6-beta1 available
Re: Pebble 1.6-beta1 available
Re: Pebble 1.6-beta1 available
Simon,
I tried to deploy Pebble on Sun Java Application server, and after fighting with security for quite a while, I finally reached this error:
[#|2004-10-15T17:00:05.390+0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=11;|ApplicationDispatcher[/blog] Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /common/jsp/header.jspf(18,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
I'm obviously doing something wrong here, but I can't seem to figure out what it is. Is pebble compatible with Sun Java server?
Thanks for any tips.
Eugene
Re: Pebble 1.6-beta1 available
---------------------------
ApplicationDispatcher[/blog] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "items" with value "${blog.recentBlogEntries}": Unable to find a value for "recentBlogEntries" in object of class "pebble.blog.SimpleBlog" using operator "." (null)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:146)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:166)
at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
at org.apache.jsp.themes.default_.jsp.rightnav_jsp._jspx_meth_c_forEach_0(rightnav_jsp.java:163)
at org.apache.jsp.themes.default_.jsp.rightnav_jsp._jspService(rightnav_jsp.java:100)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
....
....
---------------------------
Simon is a hands-on software architect and a senior consultant at 

