修正しました。次のリリースでは、修正されているはずかと。
既に PAL では beta-5 にパッチを当てたものを使っているので、ついでにパッチ物をhttp://www.marevol.com/maven/org.seasar.teeda/jars/teeda-core-1.0-beta-5.3.jar に置いておきました。.3 ということで、3つの修正が入っています。
--- teeda-core/src/main/java.orig/org/seasar/teeda/core/application/ViewHandlerImpl.java 2006-06-27 14:54:42.000000000 +0900 +++ teeda-core/src/main/java/org/seasar/teeda/core/application/ViewHandlerImpl.java 2006-09-05 13:02:55.000000000 +0900 @@ -276,12 +276,12 @@ protected String convertViewIdIfNeed(FacesContext context) { WebappConfig webappConfig = getWebappConfig(context); ExternalContext externalContext = context.getExternalContext(); - String urlPattern = getUrlPattern(webappConfig, context); String viewId = context.getViewRoot().getViewId(); // PortletSupport if (PortletUtil.isPortlet(context)) { return viewId; } + String urlPattern = getUrlPattern(webappConfig, context); if (urlPattern != null && isExtensionMapping(urlPattern)) { String defaultSuffix = externalContext .getInitParameter(ViewHandler.DEFAULT_SUFFIX_PARAM_NAME); @@ -324,9 +324,9 @@ protected void storeResponseCharacterEncoding( ExternalContext externalContext) { // Portlet: RenderRequest does not have getCharacterEncoding() - if (externalContext.getRequest() instanceof ServletRequest) { - ServletRequest req = (ServletRequest) externalContext.getRequest(); - if (ServletExternalContextUtil.isHttpServletRequest(req)) { + if (externalContext.getResponse() instanceof ServletResponse) { + ServletResponse res = (ServletResponse) externalContext.getResponse(); + if (ServletExternalContextUtil.isHttpServletResponse(res)) { HttpServletResponse httpRes = ServletExternalContextUtil .getResponse(externalContext); HttpSession session = (HttpSession) externalContext --- teeda-core/src/main/java.orig/org/seasar/teeda/core/context/portlet/PortletExternalContextImpl.java 2006-06-29 13:42:08.000000000 +0900 +++ teeda-core/src/main/java/org/seasar/teeda/core/context/portlet/PortletExternalContextImpl.java 2006-09-05 13:01:29.000000000 +0900 @@ -189,6 +189,9 @@ public String encodeResourceURL(String url) { AssertionUtil.assertNotNull("url is null.", url); + if (url.indexOf("://") == -1 && !url.startsWith("/")) { + return url; + } return portletResponse.encodeURL(url); }