Check it out at https://rubyidk.projects.dev2dev.bea.com.
Let's have a virtual round of applause for Andrew Bays, bdg's hotshot developer responsible for the latest innovation to come from our open source factory, the Ruby IDK.
Comments are listed in date ascending order (oldest first)
Posted by: jonmountjoy on October 13, 2006 at 2:15 AM
<!-- This example sets the portlet's title bar -->
<% @portletResponse.setTitle("My Awesome Portlet") %><!-- This example greets the user -->
Hello, <%= @portletUser.getUserName() %>!<!-- This example redirects the browser to the portal home page -->
<% @portletResponse.returnToPortal() %><!-- This example creates a link back to the portal home page -->
<a href=">%= @portletRequest.getReturnURI() %>">%= @portletRequest.getReturnURI() %>"</a>!-- This example shows how to force a portlet displayed outside of a portal page to use the ALUI header and footer -->
<% @portletResponse.setHostedDisplayMode(HostedDisplayMode.Hosted) %>
I hope you find this useful and at least somewhat informative. I would stress that you examine the sample portlets provided in CodeShare's rubyidk.zip for a more thorough presentation of the IDK's potential.
Regards,
Andrew Bays | bdg | 607 316 3090
andrew.bays@bdg-online.com | http://www.bdg-online.com
Posted by: andrew.bays on October 20, 2006 at 11:50 AM