protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } else { return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); } }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } else { return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); } }
protected String getLayout(UISelectMany selectMany) { if (selectMany instanceof HtmlSelectManyCheckbox) { return ((HtmlSelectManyCheckbox) selectMany).getLayout(); } return (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_ATTR); }
/** * Gets the layout width. * Returns the default layout width of 1 if the layout width * is not set or is less than 1. * @param selectMany the component * @return the layout width */ protected int getLayoutWidth(UISelectMany selectMany) { String layoutWidthString = null; if (selectMany instanceof HtmlSelectManyCheckbox) { layoutWidthString = ((HtmlSelectManyCheckbox) selectMany).getLayoutWidth(); } else { layoutWidthString = (String) selectMany.getAttributes().get(JSFAttr.LAYOUT_WIDTH_ATTR); } final int defaultLayoutWidth = 1; int layoutWidth = defaultLayoutWidth; try { if (layoutWidthString != null && layoutWidthString.trim().length() > 0) { layoutWidth = Integer.parseInt(layoutWidthString); } if (layoutWidth < 1) { layoutWidth = defaultLayoutWidth; } } catch (Exception e) { layoutWidth = defaultLayoutWidth; } return layoutWidth; }
protected void renderLabelClassIfNecessary(FacesContext facesContext, UISelectMany selectMany, boolean disabled) throws IOException { String labelClass = null; boolean componentDisabled = isDisabled(facesContext, selectMany); if (componentDisabled || disabled) { labelClass = (String) selectMany.getAttributes().get( JSFAttr.DISABLED_CLASS_ATTR); } else { labelClass = (String) selectMany.getAttributes().get( JSFAttr.ENABLED_CLASS_ATTR); } if (labelClass != null) { ResponseWriter writer = facesContext.getResponseWriter(); writer.writeAttribute("class", labelClass, "labelClass"); } }
Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null)
Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null)
Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null)
Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null)
Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null)
Converter converter = null; final Object valueTypeAttr = component.getAttributes().get(VALUE_TYPE_KEY); if (valueTypeAttr != null) {
Object collectionTypeHint = uiSelectMany.getAttributes().get("collectionType"); if (collectionTypeHint != null) { targetCollection = createCollectionFromHint(collectionTypeHint);
input, PassThruAttributeRenderer.EMPTY_STRING_ARRAY) ; input.setAttribute("onkeypress", combinedPassThru((String) selectMany.getAttributes().get("onkeypress"), "Ice.util.radioCheckboxEnter(form,this,event);")); rootNode.appendChild(input);
Object collectionTypeHint = uiSelectMany.getAttributes().get("collectionType"); if (collectionTypeHint != null) { collection = createCollectionFromHint(collectionTypeHint);
labelClass = (String) selectMany.getAttributes().get(JSFAttr.DISABLED_CLASS_ATTR); } else { labelClass = (String) selectMany.getAttributes().get(org.apache.myfaces.shared_orchestra.renderkit.JSFAttr.ENABLED_CLASS_ATTR);
labelClass = (String) selectMany.getAttributes().get(JSFAttr.DISABLED_CLASS_ATTR); } else { labelClass = (String) selectMany.getAttributes().get(org.apache.myfaces.shared_tomahawk.renderkit.JSFAttr.ENABLED_CLASS_ATTR);