|
From: Dmitriy K. <dko...@ru...> - 2004-05-03 18:38:42
|
Mike, everybody, I've posted the design discussion with Juergen to the JSR 168 space: http://opensource.atlassian.com/confluence/spring/display/JSR168/SpringPortlet+module+design+discussion Regards, Dmitriy. Mike Cannon-Brookes wrote: > Bill, > > Excellent work - this looks superb (I can't try it now but will do when > I get back to the office next week). The document below looks good, and > likely to get lost in the mailing list - is it stored somewhere else? > readme / wiki / docs? > > M > -- > ATLASSIAN - http://www.atlassian.com/ > > Confluence - the professional J2EE wiki - tried it yet? > http://www.atlassian.com/confluence/ > > On 02/05/2004, at 1:14 AM, William G. Thompson, Jr. wrote: > >> Folks, >> >> I have packaged up a Portlet Application that may be of interest. The >> war file is available at: >> http://www.tnt-web.com/springportlet/springportlet.war >> >> You should be able to download the war file and then deploy using the >> tools for whatever portlet container you are using. I'm running this >> with uPortal2.3 which embeds Pluto. >> >> >> There are two portlets defined in WEB-INF/portlet.xml >> >> 1) InspectPortlet - a "fat" portlet that displays various bits of info >> available through the Portlet API (built using only GenericPortlet) >> >> 2) ExampleSpringPortlet - proof-of-concept portlet built using Spring >> MVC layer adapted for the Portlet API. The portlet name maps to a >> DispatcherPortlet which bootstraps: >> a) applicationContext.xml - the root PortletApplicationContext >> b) ExampleSpringPortlet-portlet.xml - config for the named >> DispatcherPortlet (handler mappings, view resolvers, controllers, etc.) >> >> As configured, ExampleSpringPortlet simply maps PortletModes to view >> names and finally dispatches to JSPs: >> WEB-INF/jsp/portlet/view.jsp >> WEB-INF/jsp/portlet/edit.jsp >> WEB-INF/jsp/portlet/help.jsp >> >> The Portlet API defines a tag-lib as well and I use that to generate >> the RenderURLs you will see in the views. >> >> later. >> Bill >> >> ps. If you are using uPortal2.3 here are the deploy steps: >> 1) ant deployPortletApp -DportletApp=/path/to/springportlet.war >> 2) bounce tomcat >> 3) using the Channel Manager define two new Portlet Channels. The >> portlet Ids are: >> springportlet.InspectPortlet >> springportlet.ExampleSpringPortlet >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: Oracle 10g >> Get certified on the hottest thing ever to hit the market... Oracle >> 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. >> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |