@Override public PartialViewContext getPartialViewContext(FacesContext fc) { PartialViewContext parentContext = getWrapped().getPartialViewContext(fc); return new PrimePartialViewContext(parentContext); } }
@Override public void processPartial(PhaseId phaseId) { if (phaseId == PhaseId.RENDER_RESPONSE) { FacesContext context = FacesContext.getCurrentInstance(); resetValues(context); } getWrapped().processPartial(phaseId); }
@Override public void setPartialRequest(boolean value) { getWrapped().setPartialRequest(value); }
@Override public boolean isPartialRequest() { return getWrapped().isPartialRequest() || FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().containsKey("javax.faces.partial.execute"); }
@Override public void processPartial(PhaseId phaseId) { if (phaseId == PhaseId.RENDER_RESPONSE) { FacesContext context = FacesContext.getCurrentInstance(); resetValues(context); } getWrapped().processPartial(phaseId); }
@Override public boolean isAjaxRequest() { return getWrapped().isAjaxRequest() || FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().containsKey("javax.faces.partial.ajax"); }
@Override public PartialViewContext getPartialViewContext(FacesContext fc) { PartialViewContext parentContext = getWrapped().getPartialViewContext(fc); return new PrimePartialViewContext(parentContext); } }
@Override public PartialResponseWriter getPartialResponseWriter() { if (writer == null) { PartialResponseWriter parentWriter = getWrapped().getPartialResponseWriter(); writer = new PrimePartialResponseWriter(parentWriter); } return writer; }
@Override public void setPartialRequest(boolean value) { getWrapped().setPartialRequest(value); }
@Override public boolean isPartialRequest() { return getWrapped().isPartialRequest() || FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().containsKey("javax.faces.partial.execute"); }
@Override public boolean isAjaxRequest() { return getWrapped().isAjaxRequest() || FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().containsKey("javax.faces.partial.ajax"); }
@Override public PartialResponseWriter getPartialResponseWriter() { if (writer == null) { PartialResponseWriter parentWriter = getWrapped().getPartialResponseWriter(); writer = new PrimePartialResponseWriter(parentWriter); } return writer; }