com.knowgate.http.portlets
Class HelloWorld

java.lang.Object
  extended by GenericPortlet
      extended by com.knowgate.http.portlets.HelloWorld

public class HelloWorld
extends GenericPortlet

Hello World Portlet Example This is a portlet designed for the home page of hipergate. It displays the current user name and surname.


Constructor Summary
HelloWorld()
           
HelloWorld(HipergatePortletConfig oConfig)
           
 
Method Summary
 void render(RenderRequest req, RenderResponse res)
           
 java.lang.String render(RenderRequest req, java.lang.String sEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorld

public HelloWorld()

HelloWorld

public HelloWorld(HipergatePortletConfig oConfig)
           throws javax.portlet.PortletException
Throws:
javax.portlet.PortletException
Method Detail

render

public java.lang.String render(RenderRequest req,
                               java.lang.String sEncoding)
                        throws PortletException,
                               java.io.IOException,
                               java.lang.IllegalStateException
Throws:
PortletException
java.io.IOException
java.lang.IllegalStateException

render

public void render(RenderRequest req,
                   RenderResponse res)
            throws PortletException,
                   java.io.IOException,
                   java.lang.IllegalStateException
Throws:
PortletException
java.io.IOException
java.lang.IllegalStateException