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)
- It’s a little unclear from this, and from the project description, just what the Ruby IDK is – unless of course you know what “all methods in com.plumtree.remote.portlet.*” are. Can you blog a few examples of what you can do with this?
- Here are a few examples of how one might use the Ruby IDK for portlet development. These snippets are utilized in your Ruby on Rails server’s View files (.rhtml files). The instance variables that they employ are declared and instantiated in your Application Controller(s).
<!-- 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.