Class ObserverPopup
java.lang.Object
org.eclnt.jsfserver.defaultscreens.ObserverPopup
- All Implemented Interfaces:
Serializable
Modal popup that is opened for long running server activities.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Object that is passed back to the application - the application can add messages from its long running processing. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Duration in ms in which the last messages are shown to the user before closing the popup.getImage()
boolean
boolean
getText()
void
onLongPollingAction
(javax.faces.event.ActionEvent event) void
void
void
setDurationShowFinalMessages
(int durationShowFinalMessages) void
setHeadline
(String value) void
-
Field Details
-
POPUP_WIDTH
public static int POPUP_WIDTH -
POPUP_HEIGHT
public static int POPUP_HEIGHT
-
-
Constructor Details
-
ObserverPopup
public ObserverPopup()
-
-
Method Details
-
getAvailableImage
public boolean getAvailableImage() -
getRenderedHttpPolling
public boolean getRenderedHttpPolling() -
getRenderedWebSocketPolling
public boolean getRenderedWebSocketPolling() -
getImage
-
getDurationShowFinalMessages
public int getDurationShowFinalMessages()Duration in ms in which the last messages are shown to the user before closing the popup. Default is "0" - the popup is immediately closed after processing the long operation. -
setDurationShowFinalMessages
public void setDurationShowFinalMessages(int durationShowFinalMessages) -
onLongPollingAction
public void onLongPollingAction(javax.faces.event.ActionEvent event) -
prepare
-
prepare
-
run
-
run
-
getText
-
setText
-
setHeadline
-
getHeadline
-
getLongPollingURL
-