Hi Matthew I have been using Java Studio Enterprise 8(it is free), to make my struts, worked fined for me, I have also began to take a look at the NetBeans 5.5 IDE, which so far is even better, because already has the option to choose the framework you want (JSF or Struts) when making a new project. Both IDE's are free the JSE8 can be downloaded at the Sun Developer Network, and the Netbeans in netbeans.org
Best Regards Ruben Fragoso -----Original Message----- From: Matthew Ryan [mailto:[EMAIL PROTECTED] Sent: domingo, 11 de Junho de 2006 13:47 To: Jetspeed Users List Subject: Re: Sample Portlet using Web Application Framework Hi all, I downloaded WebWork 2.2.2 from http://www.opensymphony.com/webwork/ I did the following: 1) Ran the build in the source-root-directory. 2) Ran the build under the '<source-root-directory>/webapps' directory. command :- 'ant build-portlet' That built 'webwork-portlet.war' under the '<source-root-directory>/webapps/dist' directory. Small problem was that the build didn't add WebWork-2.2.2.jar to the /WEB-INF/lib. I noticed that when Jetspeed gave me a ClassNotFound exception in the console. 3) Added 'WebWork-2.2.2.jar' to '/WEB-INF/lib' manually. 4) Copied the 'webwork-portlet.war' to the '<jetspeed2-server-directory>/jetspeed/WEB-INF/deploy' directory. 5) Added the following to 'default-page.psml' under the '<jetspeed2-server-directory>/webapps/jetspeed/WEB-INF/pages' directory <fragment id="dp-8" type="portlet" name="webwork-portlet::WebWorkPortlet"> <property layout="TwoColumns" name="row" value="1" /> <property layout="TwoColumns" name="column" value="0" /> </fragment> (of course not conflicting with any used fragment id or anything that might be using the same row or column) 6) A couple refreshes on the page and the Portlet showed up nicely. Regards, Matt Matthew Ryan wrote: > Hello all, > > Does anyone have a link to a 'ready-to-Jetspeed2-deploy' sample > portlet using a Web Application Framework, be it Struts 1 or WebWork 2? > > There used to be a Struts MailReader (for Jetspeed 2 deployment) > Portlet example around a while ago but couldn't find it online. > > Regards, > > Matt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
