public abstract class FacesApplicationView
extends no.esito.jvine.view.AbstractApplicationView
| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_AVAILABLE_PREFIX
The menu title prefix used for applications which are not available in a partitioned application.
|
| Constructor and Description |
|---|
FacesApplicationView(ApplicationController applicationController)
Create a new application view for the given application controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMenu(Menu menu)
Add the given menu to the application menu.
|
void |
addMenus(List<Menu> menus)
Add the given menus to the application menu.
|
FacesMenuItem |
asFacesMenuItem(MenuItem item)
Create a FacesMenuItem from the given menu item.
|
org.icefaces.ace.component.menuseparator.MenuSeparator |
asFacesMenuSeparator(Separator separator)
Create a MenuSeparator from the given separator.
|
FacesSubmenu |
asFacesSubmenu(Menu menu)
Create a FacesSubmenu from the given menu.
|
javax.faces.event.ActionListener |
createActionListener(String actionExpression)
Create a new action listener for the action expression given.
|
void |
forward(SystemMessage message) |
static List<Menu> |
getAllStaticApplicationMenus(String setupUrl,
DialogConstant dialog)
Get a list containing all static application menus for the applications
given in the applicationUrls map.
|
FacesApplicationBean |
getApplicationBean()
Get the referenced application bean.
|
List<org.icefaces.ace.component.submenu.Submenu> |
getApplicationMenu()
Get the dynamic list of menus for the application window.
|
org.icefaces.ace.model.MenuModel |
getApplicationMenuModel()
Get the dynamic menu model for the application window.
|
String |
getFacesMessage(String bundleName,
String key)
Load a string from the JSF message bundle.
|
void |
handleMessageReply(no.g9.message.MessageReplyType reply)
Set the reply string before calling the default implementation.
|
void |
openResource(String resourceId,
boolean purge) |
protected void |
setApplicationBean(FacesApplicationBean applicationBean)
Set the referenced application bean.
|
clearObject, close, createDialogView, getApplicationController, getCurrentDialog, getCurrentDialogInstanceName, getDialogController, getDialogController, getDialogInstanceName, getDialogName, getDialogTitle, getDialogView, getDialogView, getDispatcherContext, getDispatcherContext, getEmptyDialogName, getFirstDialog, getMessage, getMessageCallback, getMessageDispatcher, getMessageDispatcher, getOpenDialogBoxes, getOpenDialogs, getOutputMessages, getShowMessage, getViewModel, getViewModel, guiInvoke, hasDirtyDialogs, hasOpenDialogView, hide, isOpen, isShown, open, open, performAction, performAction, performAction, removeInstance, sendElevateMessage, sendPopMessage, sendPushMessage, setApplicationController, setDialogTitle, setMessage, setMessageCallback, show, show, triggerShownHiddenEventpublic static final String NOT_AVAILABLE_PREFIX
public FacesApplicationView(ApplicationController applicationController)
applicationController - the application controller to reference.public FacesApplicationBean getApplicationBean()
protected void setApplicationBean(FacesApplicationBean applicationBean)
applicationBean - the new application bean.public void addMenu(Menu menu)
menu - - the menu to addpublic void addMenus(List<Menu> menus)
menus - - the menus to addpublic org.icefaces.ace.model.MenuModel getApplicationMenuModel()
public List<org.icefaces.ace.component.submenu.Submenu> getApplicationMenu()
public FacesMenuItem asFacesMenuItem(MenuItem item)
item - the menu item to convertpublic org.icefaces.ace.component.menuseparator.MenuSeparator asFacesMenuSeparator(Separator separator)
separator - the separator to convertpublic FacesSubmenu asFacesSubmenu(Menu menu)
menu - the menu to convertpublic void handleMessageReply(no.g9.message.MessageReplyType reply)
handleMessageReply in class no.esito.jvine.view.AbstractApplicationViewpublic String getFacesMessage(String bundleName, String key)
bundleName - - the JSF message file name, null if default bundle.key - - the lookup key.public javax.faces.event.ActionListener createActionListener(String actionExpression)
actionExpression - - the string representing the action expression.public void openResource(String resourceId, boolean purge)
public void forward(SystemMessage message)
public static List<Menu> getAllStaticApplicationMenus(String setupUrl, DialogConstant dialog)
setupUrl - the URL where the setup JSON is founddialog - the owning dialog for created menusCopyright © 2006–2020 Esito AS. All rights reserved.