The Artima Developer Community
Sponsored Link

Java Buzz Forum
Spring Portlet Support

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Nick Lothian

Posts: 397
Nickname: nicklothia
Registered: Jun, 2003

Nick Lothian is Java Developer & Team Leader
Spring Portlet Support Posted: Sep 8, 2004 4:23 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Nick Lothian.
Original Post: Spring Portlet Support
Feed Title: BadMagicNumber
Feed URL: http://feeds.feedburner.com/Badmagicnumber
Feed Description: Java, Development and Me
Latest Java Buzz Posts
Latest Java Buzz Posts by Nick Lothian
Latest Posts From BadMagicNumber

Advertisement

Since there were no promising responses to my previous request for portlet frameworks I decided to do something about it myself.

I've submitted a patch to Spring 1.1 to enhance the spring portlet support so it will allow the use of the Spring Tag Libraries. It isn't (yet) as extensible as the web framework, but it is a good starting point (I think).

There isn't much in the way of documentation for it yet, but I did port the MVC tutorial code to the portlet framework.

Some notes:

  • The portlet version of the application leverages the concept of view and edit portlet modes. The view mode allows the user to view the current prices, while the edit mode allows the user to increase the prices.
  • The code in the bus package is identical to the Web version.
  • This JSP pages are almost identical to the Web versions, with the following exceptions:
    • The Portlet tag library is included as a jsp page directive in the JSP pages. If the various Portals properly exposed the taglib themselves this would not be required.
    • The link from the view.jsp page to priceincrease is a portlet:renderURL tag
    • The form in priceincrease.jsp has to submit to the a URL defined by a portlet:actionURL tag
  • The code in the controller package is specific to the Portlet version.
The ultimate version of this would allow the reuse of JSP views in both the Portlet and Web frameworks.

I'm hopeful that it will incorporated into Spring and people will find it useful.

Read: Spring Portlet Support

Topic: Mailing list decorum Previous Topic   Next Topic Topic: C/C++ access to remote EJBs

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use