- Deploy .war thru ant
ant deployPortletApp -DportletApp=%PATH_TO_PORTLET.WAR% - Go into uPortal and create a channel for the the portlet. Follow thru the guide. The only thing is the Portlet definition ID:
$NAME_OF_WAR/$PORTLET-NAME
i.e. Hello.war andHelloWorldPortlet
Hello.HelloWorldPortlet
or,
just create the ChanPub XML file manually and publish it
ant pubchan
- create a vaild web.xml
- implement javax.portlet.Portlet (or, extends GenericPortlet that is an implementation of javax.portlet.Portlet) -- jar file
- craete a portlet.xml
- pack three thing into .war filr
get your book -- Spring MVC and Web Flow
------
- http://www.ja-sig.org/wiki/display/JCON/Spring+Portlet+MVC+Workshop+Denver+2007
- http://opensource.atlassian.com/confluence/spring/display/JSR168/Home
No comments:
Post a Comment