@Override protected InternetResource[] getStyles() { return super.getStyles(); }
@Override public void encodeEnd(FacesContext context, UIComponent component) throws IOException { if(component instanceof UIScrollableDataTable){ if(!onlyPartialUpdateNeeded(component)){ super.encodeEnd(context, component); } } }
protected InternetResource[] getScripts() { synchronized (this) { if (scriptsAll == null) { InternetResource[] rsrcs = super.getScripts(); boolean ignoreSuper = rsrcs == null || rsrcs.length == 0; boolean ignoreThis = scripts == null || scripts.length == 0;
@Override protected void doDecode(FacesContext context, UIComponent component) { super.doDecode(context, component);
@Override public void encodeBegin(FacesContext context, UIComponent component) throws IOException { if(component instanceof UIScrollableDataTable){ UIScrollableDataTable grid = (UIScrollableDataTable)component; setUpState(context, grid); } if(!onlyPartialUpdateNeeded(component)){ super.encodeBegin(context, component); } }
@Override public void encodeChildren(FacesContext context, UIComponent component ) throws IOException { if(onlyPartialUpdateNeeded(component)){ renderAjaxChildren(context, component); }else{ super.encodeChildren(context, component); } }
public void decode(FacesContext context, UIComponent component) { super.decode(context,component); Map requestParameterMap = context.getExternalContext().getRequestParameterMap(); String value = (String)requestParameterMap.get(component.getClientId(context)); if (value != null) { new SwitchablePanelSwitchEvent(component, value, null).queue(); } /* Object property=context.getExternalContext().getRequestParameterMap().get(component.getClientId(context)); if (property!=null){ component.getAttributes().put(EXPANDED_ATTR,property); }*/ }
protected void preEncodeBegin(FacesContext context, UIComponent component) throws IOException { super.preEncodeBegin(context, component); if(component instanceof UITabPanel){ UITabPanel tabPanel = (UITabPanel)component; ComponentVariables componentVariables = ComponentsVariableResolver.getVariables(this, tabPanel); componentVariables.setVariable("tabPanel", getTabPanelInfoCollector().collectTabPanelInfo(context, (UITabPanel)component)); } }
protected void doDecode(FacesContext context, UIComponent component) { super.doDecode(context, component);
if(stylesAll == null){ InternetResource[] rsrcs = super.getStyles(); boolean ignoreSuper = rsrcs == null || rsrcs.length == 0; boolean ignoreThis = styles == null || styles.length == 0;
protected InternetResource[] getStyles() { synchronized (this) { if (stylesAll == null) { InternetResource[] rsrcs = super.getStyles(); boolean ignoreSuper = rsrcs == null || rsrcs.length == 0; boolean ignoreThis = styles == null || styles.length == 0;
protected InternetResource[] getStyles() { synchronized (this) { if (stylesAll == null) { InternetResource[] rsrcs = super.getStyles(); boolean ignoreSuper = rsrcs == null || rsrcs.length == 0; boolean ignoreThis = styles == null || styles.length == 0;