ilog.views.faces.dhtml.servlet
Class IlvFacesPopupMenuActionListener

java.lang.Object
  extended by ilog.views.faces.dhtml.servlet.IlvFacesPopupMenuActionListener
All Implemented Interfaces:
ServerActionListener, EventListener
Direct Known Subclasses:
IlvFacesDiagrammerPopupListener

public class IlvFacesPopupMenuActionListener
extends Object
implements ServerActionListener

This class defines an action listener triggered by a menu in IMAGE_SERVLET_CONTEXT.

Since:
JViews 7.5

Field Summary
static String ACTION_NAME
          The action name handled by this server action.
 
Constructor Summary
IlvFacesPopupMenuActionListener()
          Creates a new IlvFacesPopupMenuActionListener instance.
 
Method Summary
 void actionPerformed(ServerActionEvent event)
          Performs the action requested from the client side.
protected  Object getGraphicComponent(ServerActionEvent event)
          Returns the graphic component displayed by the image.
protected  IlvMenu getMenuFromSession(javax.servlet.http.HttpServletRequest request)
          Returns the menu model from the session,
protected  Object invokeFinder(IlvObjectSelectedFinder baseFinder, IlvManagerView view, String[] params)
          Invokes the specified finder with the parameters extracted from the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NAME

public static final String ACTION_NAME
The action name handled by this server action.

See Also:
Constant Field Values
Constructor Detail

IlvFacesPopupMenuActionListener

public IlvFacesPopupMenuActionListener()
Creates a new IlvFacesPopupMenuActionListener instance.

Method Detail

actionPerformed

public void actionPerformed(ServerActionEvent event)
                     throws javax.servlet.ServletException
Performs the action requested from the client side.

Specified by:
actionPerformed in interface ServerActionListener
Parameters:
event - The server action event.
Throws:
javax.servlet.ServletException

invokeFinder

protected Object invokeFinder(IlvObjectSelectedFinder baseFinder,
                              IlvManagerView view,
                              String[] params)
Invokes the specified finder with the parameters extracted from the action.

Parameters:
baseFinder - The finder to invoke.
view - The view component.
params - The action parameters.
Returns:
The object found by the finder.

getMenuFromSession

protected IlvMenu getMenuFromSession(javax.servlet.http.HttpServletRequest request)
Returns the menu model from the session,

Parameters:
request - The HTTP request.
Returns:
The root menu of the menu model.

getGraphicComponent

protected Object getGraphicComponent(ServerActionEvent event)
Returns the graphic component displayed by the image.

Parameters:
event - The event.
Returns:
The graphic component.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.