/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
/** * <p class="changed_added_2_2">Associate this instance with a {@link ClientWindow}.</p> * * @param window the window with which this instance is associated. * * @since 2.2 */ public void setClientWindow(ClientWindow window) { if (defaultExternalContext != null) { defaultExternalContext.setClientWindow(window); } else { throw new UnsupportedOperationException(); } }
@Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
protected void restoreClientWindow(ExternalContext externalContext) { ClientWindow clientWindow = (ClientWindow) getAttribute(BRIDGE_REQ_SCOPE_ATTR_CLIENT_WINDOW); externalContext.setClientWindow(clientWindow); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
protected void restoreClientWindow(ExternalContext externalContext) { ClientWindow clientWindow = (ClientWindow) getAttribute(BRIDGE_REQ_SCOPE_ATTR_CLIENT_WINDOW); externalContext.setClientWindow(clientWindow); }
/** * <p class="changed_added_2_2">The default behavior of this method is to * call {@link ExternalContext#setClientWindow} * on the wrapped {@link ExternalContext} object.</p> * * @since 2.2 * * @param window the window associated with this request. */ @Override public void setClientWindow(ClientWindow window) { getWrapped().setClientWindow(window); }
@Override public void attachWindow(FacesContext facesContext) { ClientWindow clientWindow = facesContext.getExternalContext().getClientWindow(); if (clientWindow == null) { clientWindow = getClientWindowFactory().getClientWindow(facesContext); } if (clientWindow != null) { clientWindow.decode(facesContext); facesContext.getExternalContext().setClientWindow(clientWindow); } }