File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Apache Portlet Bridge Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Apache Portlet Bridge" Watch "Apache Portlet Bridge" New topic

Apache Portlet Bridge

Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

This one can go in either the JSF or Portlet side, but it seemed Portlet was better.

I've been building my portlets in Liferay 6 using ICEFaces and PortletFaces bridge. All was well, but there's a particular component in Apache Trinidad that I can't seem to find anywhere else. Apparently Trinidad chart won't work with ICEFaces so I don't think PortletFaces bridge will be my solution.

So I'm looking into trying it with Apache MyFaces Bridge. I see they're still in Alpha for the JSF 2.0 compatible stuff, so I may be stuck doing this in JSF 1.2 if it isn't stable enough. Has anyone here tried it? Any horror stories or advice?
Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

So more details... can someone offer some advice on this?


I’m working on a portlet using MyFaces and Trinidad. I have successfully created a working hello world portlet using:

MyFaces 2.0
PortletBridge 3.0
Trinidad 2.0

The environment is

Liferay 6.0.6 running on Tomcat 6.0.29

The portlet installs and runs fine, displaying a simple outputText control, but the Trinidad Chart control doesn’t display. The value is set to a backing bean that is being instantiated (debug statement in the constructor outputs) but no graphical display.

My faces-config.xml:

My Trinidad-config.xml

My view.xhtml:

My web.xml:

I’m getting no errors of any kind, yet all I see in the portlet view is the value of the h: outputText, and the debug statement in my backing bean outputs, so at least I know everything else is working.

Any ideas? It works fine as a stand alone app.

I agree. Here's the link:
subject: Apache Portlet Bridge
It's not a secret anymore!