|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.util.servlet.IlvPopupMenuServletSupport
ilog.views.servlet.IlvManagerPopupServletSupport
ilog.views.faces.dhtml.servlet.IlvFacesManagerPopupSupport
public class IlvFacesManagerPopupSupport
This class defines the popup servlet support for the JSF Graphics Framework.
| Field Summary |
|---|
| Fields inherited from class ilog.views.util.servlet.IlvPopupMenuServletSupport |
|---|
MENU_SESSION_KEY, REQUEST_TYPE, SERVLET_ACTION_NAME |
| Constructor Summary | |
|---|---|
IlvFacesManagerPopupSupport(IlvManagerServletSupport support)
Creates a popup support for JSF Framework components. |
|
| Method Summary | |
|---|---|
protected ServerActionListener |
createListener()
Returns a new instance of IlvFacesPopupMenuActionListener which can handle popup menu actions. |
protected IlvPopupMenuEncoder |
getMenuEncoder(javax.servlet.http.HttpServletRequest request)
Returns the menu encoder responsible for encoding the root IlvMenu
into a code comprehensible for the client. |
protected IlvMenu |
getPopupMenuFromSession(javax.servlet.http.HttpServletRequest request)
Retrieve menu model stored in the session with the MENU_SESSION_KEY key.
Overridden to use the faces context to access the session. |
protected Object |
getSelectedObject(javax.servlet.http.HttpServletRequest request,
int x,
int y)
Returns the IlvGraphic instance selected by the user when he
triggered the popup menu. |
protected Object |
invokeFinder(IlvObjectSelectedFinder baseFinder,
IlvManagerView view,
String[] params)
Invokes the specified finder with the parameters extracted from the action. |
protected void |
savePopupMenuModelInSession(javax.servlet.http.HttpServletRequest request,
IlvMenu root)
Saves the generated menu in session using the MENU_SESSION_KEY key.
Overridden to use the faces context to access the session. |
| Methods inherited from class ilog.views.servlet.IlvManagerPopupServletSupport |
|---|
getGraphicComponent, getMenuModelId, getSupport, installListeners, prepareComponent, removeListeners |
| Methods inherited from class ilog.views.util.servlet.IlvPopupMenuServletSupport |
|---|
createMenu, createMenu, getMenuFactory, getServletContext, handleRequest, setMenuFactory, setServletContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesManagerPopupSupport(IlvManagerServletSupport support)
support - The image generating servlet support.| Method Detail |
|---|
protected Object getSelectedObject(javax.servlet.http.HttpServletRequest request,
int x,
int y)
throws javax.servlet.ServletException
IlvGraphic instance selected by the user when he
triggered the popup menu.
getSelectedObject in class IlvManagerPopupServletSupportrequest - The Http requestx - x coordinate in image view coordinate system.y - y coordinate in image view coordinate system.
IlvGraphic instance.
javax.servlet.ServletExceptionIlvPopupMenuServletSupport.getGraphicComponent(HttpServletRequest)
protected Object invokeFinder(IlvObjectSelectedFinder baseFinder,
IlvManagerView view,
String[] params)
baseFinder - The finder to invoke.view - The view component.params - The action parameters.
protected IlvPopupMenuEncoder getMenuEncoder(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
IlvMenu
into a code comprehensible for the client.IlvPopupMenuEncoder instance.
getMenuEncoder in class IlvPopupMenuServletSupportrequest - The Http request.
javax.servlet.ServletExceptionprotected ServerActionListener createListener()
IlvFacesPopupMenuActionListener which can handle popup menu actions.
createListener in class IlvManagerPopupServletSupport
protected void savePopupMenuModelInSession(javax.servlet.http.HttpServletRequest request,
IlvMenu root)
MENU_SESSION_KEY key.
Overridden to use the faces context to access the session.
savePopupMenuModelInSession in class IlvPopupMenuServletSupportrequest - The Http request.root - The root menu of the menu model.protected IlvMenu getPopupMenuFromSession(javax.servlet.http.HttpServletRequest request)
MENU_SESSION_KEY key.
Overridden to use the faces context to access the session.
getPopupMenuFromSession in class IlvPopupMenuServletSupportrequest - The Http request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||