Return-Path: Delivered-To: apmail-jakarta-jetspeed-dev-archive@www.apache.org Received: (qmail 75990 invoked from network); 20 Jan 2005 14:59:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 14:59:44 -0000 Received: (qmail 58691 invoked by uid 500); 20 Jan 2005 14:59:39 -0000 Delivered-To: apmail-jakarta-jetspeed-dev-archive@jakarta.apache.org Received: (qmail 58669 invoked by uid 500); 20 Jan 2005 14:59:39 -0000 Mailing-List: contact jetspeed-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jetspeed Developers List" Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@jakarta.apache.org Received: (qmail 58652 invoked by uid 99); 20 Jan 2005 14:59:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from heimdall.sdrc.com (HELO sdrc.com) (146.122.132.195) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 06:59:37 -0800 Received: from tyr.sdrc.com (mailhub-cvg.sdrc.com [146.122.142.31]) by sdrc.com (8.9.1/8.9.1) with ESMTP id JAA05602 for ; Thu, 20 Jan 2005 09:59:34 -0500 (EST) Received: from [146.122.200.52] (linux.net.plm.eds.com [146.122.200.52]) by tyr.sdrc.com (8.8.6 (PHNE_17190)/8.8.5) with ESMTP id JAA10954 for ; Thu, 20 Jan 2005 09:59:34 -0500 (EST) Message-ID: <41EFC752.2010606@binary-designs.net> Date: Thu, 20 Jan 2005 09:59:30 -0500 From: "Scott T. Weaver" User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Developers List Subject: Re: [J2] Major new version of the Struts Bridge: version 0.2 now available References: <41EF1C3C.9060600@douma.nu> In-Reply-To: <41EF1C3C.9060600@douma.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Awesome!!! Great job, Ate!!! Ate Douma wrote: > I'm happy to bring the news of a major upgrade of the Struts Bridge. > > A short summary of its new features: > - Based on the latest Struts-1.2.4 > > - Provides new struts-1.2.4-portlet-html.tld and > struts-1.2.4-portlet-html-el.tld, as > well as a new struts-portlet-el.tld. > The first two tld files are full replacements for the struts-html > and struts-html-el tlds. > By using these tlds instead of the struts-portlet and > struts-portlet-el tlds, migrating > existing Struts applications becomes much easier (just change the > taglib definition). > Furthermore, there is now full struts-el support Bridge for all the > tags (including the > new onces). > > - New Portlet supporting extended Struts tags ImgTag and ImageTag and > largely extended > LinkTag and RewriteTag. > These tags now support relative image src paths and href link > paths (including ../ elements). > > - Provides transparent (non-code based) definition of request > attribute values to be saved > during ActionRequest handling which will be restored in the > subsequent RenderRequest(s). > > - Provides transparent (non-code based) definition of url (prefixes) > which must be > rendered as Action or Render PortletURL. > This removes the need to specify the renderURL attribute for link > and rewrite tags (its > still supported though, and then will override). > > - xml based configuration of above two features loaded at Portlet > initialization. > Default configuration file name: WEB-INF/struts-portlet-config.xml, > but this is > configurable itself as well. > Example configuration (from the new JPetstore demo Portlet): > > > > > > > > > > > > > > > > > > > > > > - IMPORTANT: > Default PorletURL created by link and rewrite tag changed from > ActionURL to RenderURL. > > This change is made because in the most cases this turned out to be > RenderURLs. > > For migrating of existing Struts Bridge based Portlets to the new > version there is an > very simple configuration option to revert this to the old style: > > Define a WEB-INF/struts-portlet-config.xml containing (at least): > > > > > > That'll switch the default back to the old style. For the old Struts > MailReader Demo Portlet > also provided with Jetspeed-2, I've put in a configuration file just > like that. > > - New demo portlet application: JPetstore Portlet. > This very know example web application from iBatis (www.ibatis.com) > is now also available as > Portlet and is automatically deployed in Jetspeed-2 as demo portlet: > check it out. > > - Deploy as Portlet or as web application! > The Struts Bridge can now be used in a non-Portlet context, and then > will simply fall back to > the basic Struts functionality. > This allows the deployment of the same Portlet Application war as > web application and as portlet > application. You can thus also test the application in a web server > only (as long as you > don't use Portlet features specifically). > > Try out the JPetstore Portlet demo and access it as Portlet from > within Jetspeed-2 or > directly from the webserver (e.g. http://localhost:8080/jpetstore). > > - Abstracted the access to the ServletContextProvider with protected > methods in StrutsPortlet > allowing Portal Vendor specific extensions to be used (like VAP). > > - Still no real documentation ;-) > I'm working on it and plan to deliver real usage documentation, as > well as a tutorial and instructions > for migrating existing Struts applications, within a week. > > Regards, Ate Douma > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org > > > -- "Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover ******************************************* * Scott T. Weaver * * * * * * -------------------------------------- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEdit, Website Content Management * * * ******************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org