LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.portlet
Class LyTablePortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by leon.view.web.portlet.LyActionPortlet
          extended by leon.view.web.portlet.LyTablePortlet
All Implemented Interfaces:
javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet

public class LyTablePortlet
extends LyActionPortlet


Field Summary
static java.lang.String DIV_TABLE_FILTER
           
static java.lang.String DIV_TABLE_MESSAGE
           
static java.lang.String DIV_TABLE_TOOLBAR
           
 
Fields inherited from class leon.view.web.portlet.LyActionPortlet
DIV_LEONARDI_VIEW, KEY_ACTION_PORTLET_CONFIG, KEY_CURRENT_CONTROLLER, KEY_CURRENT_POPUP_VIEW_CONTROLLER, LOCK_SESSION, PARAM_LEONARDI_ACTION, PARAM_LEONARDI_SELECTION
 
Constructor Summary
LyTablePortlet()
           
 
Method Summary
 java.lang.String getSortAction(LyStrutsTable table, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
          Gets the sort action and writes associated javascript function for this table.
 java.lang.String getTableSelectionAction(LyStrutsTable table, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
          Gets the sort action and writes associated javascript function for this table.
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
          Handle actions from the form
 
Methods inherited from class leon.view.web.portlet.LyActionPortlet
destroy, getApplication, getParameter, getSession, getSession, init, initActionURLs
 
Methods inherited from class javax.portlet.GenericPortlet
getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, processEvent, render, serveResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIV_TABLE_MESSAGE

public static final java.lang.String DIV_TABLE_MESSAGE
See Also:
Constant Field Values

DIV_TABLE_TOOLBAR

public static final java.lang.String DIV_TABLE_TOOLBAR
See Also:
Constant Field Values

DIV_TABLE_FILTER

public static final java.lang.String DIV_TABLE_FILTER
See Also:
Constant Field Values
Constructor Detail

LyTablePortlet

public LyTablePortlet()
Method Detail

getSortAction

public java.lang.String getSortAction(LyStrutsTable table,
                                      javax.portlet.RenderRequest request,
                                      javax.portlet.RenderResponse response)
Gets the sort action and writes associated javascript function for this table.

Parameters:
pw - the page writer
Returns:
the sort action javascript tag

getTableSelectionAction

public java.lang.String getTableSelectionAction(LyStrutsTable table,
                                                javax.portlet.RenderRequest request,
                                                javax.portlet.RenderResponse response)
Gets the sort action and writes associated javascript function for this table.

Parameters:
pw - the page writer
Returns:
the sort action javascript tag

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Handle actions from the form

Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class LyActionPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com