Results 1 to 2 of 2

Thread: What makes phonebook work as a portlet over birthdate?

  1. #1
    Join Date
    Dec 2004
    Location
    London
    Posts
    51

    Default What makes phonebook work as a portlet over birthdate?

    I have manged to get both birthdate and phonebook samples to work, although trying to get the birthdate sample working in a portlet environment proved futile.

    What makes the phonebook sample work in a portlet environment over the birthdate (struts integration) sample?

    I had some trouble porting the birthdate sample into a portlet environment - resolving the view name involved a requestDispatcher.forward (to a struts global forward) which is illegal due to the lifecycle in Portlets.('response has been commited' error msg).

    Jim

  2. #2
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    I take it you're using PR3 with Spring 1.2.1 since the PR5 release of SWF (which builds on Spring 1.2.3) temporarily dropped the portlet support. The reason being that there is still no official code base for Spring PortletMVC. This will change with Spring 1.3 so from that moment on SWF (probably version RC1) will reintroduce the Portlet support.

    Anyway, I suggest you take a look at http://opensource.atlassian.com/conf...et+Integration for more information.

    Furthermore, the birthdate sample uses Struts, and I'm not sure if or how Struts can be used in a Portlet environment. The phonebook sample uses a specialized Portlet flow controller based on PortletMVC iso Spring Web MVC when operating as a portlet.

    Erwin

Similar Threads

  1. Trouble deploying PhoneBook portlet example
    By belaran in forum Web Flow
    Replies: 1
    Last Post: Aug 2nd, 2005, 10:52 AM
  2. Replies: 4
    Last Post: Apr 13th, 2005, 05:52 AM
  3. Portlet Form Controllers
    By johnalewis in forum Web
    Replies: 4
    Last Post: Mar 11th, 2005, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •