-
1. Re: JBoss Portal and Laszlo
martingi Aug 3, 2005 7:30 PM (in response to mkural)Rendering vector graphics would definitely be an interesting feature for me concerning the portal.
From my knowlegde of laszlo, is that they are currently targetting the flash format - streaming out binary content from a servlet. I'm not sure, but wouldn't it be possible to wrap the stream with PortletContext.getNamedDispatcher and set the portlet's response type to swf? -
2. Re: JBoss Portal and Laszlo
mkural Aug 3, 2005 7:46 PM (in response to mkural)<<I'm not sure, but wouldn't it be possible to wrap the stream with PortletContext.getNamedDispatcher and set the portlet's response type to swf?>>
I think so. Well, it must be possible so that IBM and Liferay are able to make portlets that use Laszlo, hence Flash in them. Here is the screenshot of a HelloWorld Laszlo portlet running in Liferay Portal:
http://www.laszlosystems.com/developers/community/forums/attachment.php?s=cb9d97125b67b3fe848700de22c1f720&postid=5607
Beyond just the portlets themselves, Laszlo could even be used to build the actual portal interface also. This could be a second additional more powerful interface as an alternative to the HTML-based interface. Here is a Laszlo demo that demonstrate what a Laszlo-based portal might look like:
http://www.laszlosystems.com/lps/sample-apps/dashboard/dashboard.lzo?lzt=html
Today Lazslo emits SWF but I hope in the future this will evolve towards SVG. I think there is already some noise about that.
-Mete -
3. Re: JBoss Portal and Laszlo
roy.russo Aug 3, 2005 9:19 PM (in response to mkural)"mkural" wrote:
I think so. Well, it must be possible so that IBM and Liferay are able to make portlets that use Laszlo, hence Flash in them. Here is the screenshot of a HelloWorld Laszlo portlet running in Liferay Portal:
http://www.laszlosystems.com/developers/community/forums/attachment.php?s=cb9d97125b67b3fe848700de22c1f720&postid=5607
They're using an IFrame portlet to insert the content. This is possible *now* with JBoss Portal. You just need the IFrame portlet and you can call any cgi, laszlo widget, flash movie, coldfusion application, etc... -
4. Re: JBoss Portal and Laszlo
yxyang Aug 3, 2005 11:03 PM (in response to mkural)I implement a simple IFrame portlet in my own site which is based on jbp2.0 branch.
http://www.mobmeee.com/index.html?ctrl:id=window.default.IFramePortletWindow&ctrl:type=render&iframemessage=http://www.roamingsms.com
You can modify the value of iframemessage value to other URL to display other website.
e.g.
http://www.mobmeee.com/index.html?ctrl:id=window.default.IFramePortletWindow&ctrl:type=render&iframemessage=http://www.jboss.com
regards
yang -
5. Re: JBoss Portal and Laszlo
mkural Aug 3, 2005 11:30 PM (in response to mkural)Hello Roy,
<<They're using an IFrame portlet to insert the content. This is possible *now* with JBoss Portal. You just need the IFrame portlet and you can call any cgi, laszlo widget, flash movie, coldfusion application, etc...>>
Yeah I noticed that later. Well, that is just that screenshot though, which was posted by some Liferay user on the forum. Since it is IFrame it's not a significant screenshot. But Liferay's lead developer Brian Chan has been building real Laszlo-based portlets for Liferay Portal for half a year. Please check here:
http://forums.liferay.com/index.php?showtopic=840&st=0&#entry2640
Also IBM built Faces for Laszlo which enables you to put JSF components that emit Laszlo GUI components. You can read more about Faces for Laszlo here:
http://dl.alphaworks.ibm.com/technologies/faces4laszlo/faces4laszlo_whitepaper.pdf
Does JBoss Portal have any roadmap in terms of Laszlo?
Thanks,
Mete -
6. Re: JBoss Portal and Laszlo
julien1 Aug 4, 2005 12:05 AM (in response to mkural)Hello mkural,
the faces + laszlo integration seems powerfull.
we will migrate our portlets to JSF (except the forum which has a specific interface non based on widgets) so if the faces + JSF integration works I think it is a good idea to use it to provide a richer UI.
beside that for now, I don't see what JBoss Portal must implement specifically in order to enable laszlo portlets to run with it."mkural" wrote:
Hello Roy,
<<They're using an IFrame portlet to insert the content. This is possible *now* with JBoss Portal. You just need the IFrame portlet and you can call any cgi, laszlo widget, flash movie, coldfusion application, etc...>>
Yeah I noticed that later. Well, that is just that screenshot though, which was posted by some Liferay user on the forum. Since it is IFrame it's not a significant screenshot. But Liferay's lead developer Brian Chan has been building real Laszlo-based portlets for Liferay Portal for half a year. Please check here:
http://forums.liferay.com/index.php?showtopic=840&st=0&#entry2640
Also IBM built Faces for Laszlo which enables you to put JSF components that emit Laszlo GUI components. You can read more about Faces for Laszlo here:
http://dl.alphaworks.ibm.com/technologies/faces4laszlo/faces4laszlo_whitepaper.pdf
Does JBoss Portal have any roadmap in terms of Laszlo?
Thanks,
Mete -
7. Re: JBoss Portal and Laszlo
mkural Aug 4, 2005 2:44 AM (in response to mkural)Hi Julien,
I'd say download the IBM Faces for Laszlo alphaworks release:
http://www.alphaworks.ibm.com/tech/faces4laszlo/download
and try to use the JSF components inside a portlet in JBoss Portal. If I knew JBoss Portal well enough I would probably try it myself but I am pretty new at it.
-Mete