protected void setProperties(UIComponent component) { if (!(component instanceof javax.faces.component.UIColumn)) { throw new IllegalArgumentException("Component "+ component.getClass().getName() +" is no javax.faces.component.UIColumn"); } javax.faces.component.UIColumn comp = (javax.faces.component.UIColumn) component; super.setProperties(component); FacesContext context = getFacesContext(); }
/** * @see org.apache.myfaces.taglib.html.HtmlFormTagBase#setProperties(javax.faces.component.UIComponent) */ protected void setProperties(UIComponent component) { super.setProperties(component); UIComponentTagUtils.setStringProperty(getFacesContext(), component, "for", _for); }
protected void setProperties(final UIComponent component) { super.setProperties(component); final String localeStr = getLocale(); final FacesContext context = FacesContext.getCurrentInstance(); Locale locale = (Locale) ValueBindingUtil.getValue(context, localeStr); if (locale == null && localeStr != null) { locale = LocaleUtil.getLocale(localeStr); } if (locale != null) { ((UIViewRoot) component).setLocale(locale); } Config.set(pageContext.getRequest(), Config.FMT_LOCALE, locale); }
protected void setProperties(UIComponent component) { super.setProperties(component); setBooleanProperty(component, JSFAttr.FORCE_ID_ATTR, _forceId); setBooleanProperty(component, org.apache.myfaces.shared_tomahawk.renderkit.JSFAttr.FORCE_ID_INDEX_ATTR, _forceIdIndex); //rendererType already handled by UIComponentTag setValueProperty(component, _value); setConverterProperty(component, _converter); }
protected void setProperties(UIComponent component) { super.setProperties(component); setBooleanProperty(component, JSFAttr.FORCE_ID_ATTR, _forceId); setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.FORCE_ID_INDEX_ATTR, _forceIdIndex); //rendererType already handled by UIComponentTag setValueProperty(component, _value); setConverterProperty(component, _converter); }
protected void setProperties(UIComponent component) { super.setProperties(component); setBooleanProperty(component, JSFAttr.FORCE_ID_ATTR, _forceId); setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.FORCE_ID_INDEX_ATTR, _forceIdIndex); //rendererType already handled by UIComponentTag setValueProperty(component, _value); setConverterProperty(component, _converter); }
protected void setProperties(UIComponent component) { super.setProperties(component); setBooleanProperty(component, JSFAttr.FORCE_ID_ATTR, _forceId); setBooleanProperty(component, org.apache.myfaces.shared_orchestra.renderkit.JSFAttr.FORCE_ID_INDEX_ATTR, _forceIdIndex); //rendererType already handled by UIComponentTag setValueProperty(component, _value); setConverterProperty(component, _converter); }
protected void setProperties(UIComponent component) { super.setProperties(component); setBooleanProperty(component, JSFAttr.FORCE_ID_ATTR, _forceId); setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.FORCE_ID_INDEX_ATTR, _forceIdIndex); //rendererType already handled by UIComponentTag setValueProperty(component, _value); setConverterProperty(component, _converter); }
super.setProperties(component);
protected void setProperties(UIComponent component) { super.setProperties(component); final String escapeStr = getEscape(); if (escapeStr != null) { if (BindingUtil.isValueReference(escapeStr)) { BindingUtil.setValueBinding(component, JsfConstants.ESCAPE_ATTR, escapeStr); } else { boolean escape = ConverterUtil.convertToBoolean(escapeStr); component.getAttributes().put(JsfConstants.ESCAPE_ATTR, escape ? Boolean.TRUE : Boolean.FALSE); } } else { component.getAttributes().put(JsfConstants.ESCAPE_ATTR, Boolean.FALSE); } component.setTransient(true); }
super.setProperties(component);
super.setProperties(component);
super.setProperties(component);
protected void setProperties(UIComponent component) super.setProperties(component); HtmlPopupFrame command = null; try