BT

InfoQ Homepage News Article: Developing Portlets using JSF, Ajax, and Seam (Part 3 of 3)

Article: Developing Portlets using JSF, Ajax, and Seam (Part 3 of 3)

Bookmarks

This article, the last in a three-part series by Wesley Hales, expands upon the previous articles by introducing Seam. It covers integrating Seam into the previous sample application, deploying a Seam portlet, Bridgelets, Single-sign on between Seam and JBoss Portal, and several new features and capabilities of JBoss Portlet Bridge.

From the article:

[...] The portlet bridge community has already started contributing patches and other help to the project in its early beta stages. Although the core of the project is the JSR-301 specification, there is limitless potential to integrating Seam, Richfaces, and Portal with Bridgelets and other supporting enhancements. There are several developers contributing to the project and we extend a special thanks to all of the people who have already contributed patches, enahncements, and helped answer questions on the forums.

In the end, this is a community based project, and the more developers that offer help and feedback, the faster we will get new releases out with better code and enhancements. The GA release is expected in early '09.

Read the full article here.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • SSO In booking portlet throws exception after clicking search

    by David Paterson /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    So I've got the SSO bridgelet B6 working with the booking demo. The SSO piece seems to be working. As soon as I click search in the search form I get the following exception, appears related to AJAX call perhaps. Do you have the same problem when you deploy the Booking portlet? Perhaps I've got something configured incorrectly? Seems like some kind of infinite loop is happening:


    12:59:33,046 INFO [STDOUT] 2009-01-28 12:59:33,046 INFO [org.jboss.portletbridge.bridge] - Finish rendering portletbridge for namespace jbpns_2fdefault_2fSeamB
    ooking_2fseamBookingPortletWindowsnpbj
    12:59:38,000 WARN [lifecycle] phase(RESTORE_VIEW 1,org.jboss.portletbridge.context.FacesContextImpl@17627b7) threw exception: java.lang.StackOverflowError null
    java.lang.ThreadLocal.getMap(ThreadLocal.java:177)
    java.lang.ThreadLocal.get(ThreadLocal.java:125)
    javax.faces.context.FacesContext.getCurrentInstance(FacesContext.java:392)
    org.jboss.portletbridge.extension.seam.PortalIdentity.getPrincipal(PortalIdentity.java:113)
    org.jboss.seam.web.IdentityRequestWrapper.getUserPrincipal(IdentityRequestWrapper.java:33)
    org.jboss.portletbridge.context.ServletExternalContextImpl.getUserPrincipal(ServletExternalContextImpl.java:387)
    org.jboss.portletbridge.extension.seam.PortalIdentity.getPrincipal(PortalIdentity.java:113)
    org.jboss.seam.web.IdentityRequestWrapper.getUserPrincipal(IdentityRequestWrapper.java:33)
    org.jboss.portletbridge.context.ServletExternalContextImpl.getUserPrincipal(ServletExternalContextImpl.java:387)
    org.jboss.portletbridge.extension.seam.PortalIdentity.getPrincipal(PortalIdentity.java:113)
    ....

  • Re: SSO In booking portlet throws exception after clicking search

    by Wesley Hales /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    There is a new identity model in Seam 2.1.x and this bridgelet is for the pre 2.1 versions of Seam. It is a known issue and we should have it working in the next bridge release.

  • Seam Booking Demo not working

    by Philip Puthenvila /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hi
    I am trying t run the seam booking demo. I changed the url to to point to the demo source. repeated all other steps for seamproject, at the end I got the same seamproject portlet. I want to develop an application ,So i decide to go with seam and jsf . what I have to do get the seam hotel booking to run.Please help
    Regards
    Philip

  • Re: Seam Booking Demo not working

    by Mahesh Lavannis /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hi Philip,
    FYI - Here is how I got it to work:
    I downloaded the Booking example from labs.jboss.com/portletbridge/downloads/ - it is part of the src download for JBoss Portlet Bridge. I ran mvn install in the 'booking' directory, copied the SeamEAR.ear into the server/default/deploy of the JBoss portal server and it works.

    Hope this helps,
    Mahesh

  • Re: Seam Booking Demo not working

    by Mahesh Lavannis /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    You can also get a maven setup archetype for Seam Portlet here:

    www.jboss.org/files/portletbridge/docs/1.0.0.CR...

    But I haven't tried it out myself yet.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.