@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context) + "_input"; }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context) + "_input"; }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
@Override protected String getSubmitParam(FacesContext context, UISelectMany selectMany) { return selectMany.getClientId(context); }
protected Converter getConverter(FacesContext facesContext, UISelectMany selectMany) { Converter converter; try { converter = RendererUtils.findUISelectManyConverter(facesContext, selectMany); } catch (FacesException e) { log.error("Error finding Converter for component with id " + selectMany.getClientId(facesContext)); converter = null; } return converter; }
@Override public void decode(final FacesContext facesContext, final UIComponent component) { if (ComponentUtils.isOutputOnly(component)) { return; } final UISelectMany select = (UISelectMany) component; String[] newValues = facesContext.getExternalContext().getRequestParameterValuesMap().get(select.getClientId(facesContext)); if (LOG.isDebugEnabled()) { LOG.debug("decode: key='" + component.getClientId(facesContext) + "' value='" + Arrays.toString(newValues) + "'"); LOG.debug("size ... '" + (newValues != null ? newValues.length : -1) + "'"); if (newValues != null) { for (final String newValue : newValues) { LOG.debug("newValues[i] = '" + newValue + "'"); } } } if (newValues == null) { newValues = ArrayUtils.EMPTY_STRING_ARRAY; // because no selection will not submitted by browsers } select.setSubmittedValue(newValues); RenderUtils.decodeClientBehaviors(facesContext, select); }
public void renderCheckboxList(FacesContext facesContext, UISelectMany selectMany) throws IOException { final String layout = getLayout(selectMany); if (layout != null) { Converter converter = getConverter(facesContext, selectMany); if (layout.equals(PAGE_DIRECTION)) { renderCheckboxListVertically(facesContext, selectMany, converter); } else if (layout.equals(LINE_DIRECTION)) { renderCheckboxListHorizontally(facesContext, selectMany, converter); } else { log.error("Wrong layout attribute for component " + selectMany.getClientId(facesContext) + ": " + layout); } } }
+ VALUE_TYPE_KEY + " of component " + component.getClientId(facesContext) + " does not evaluate to a " + "String, a Class object or a ValueExpression pointing "
+ VALUE_TYPE_KEY + " of component " + component.getClientId(facesContext) + " does not evaluate to a " + "String, a Class object or a ValueExpression pointing "
+ VALUE_TYPE_KEY + " of component " + component.getClientId(facesContext) + " does not evaluate to a " + "String, a Class object or a ValueExpression pointing "
+ VALUE_TYPE_KEY + " of component " + component.getClientId(facesContext) + " does not evaluate to a " + "String, a Class object or a ValueExpression pointing "
} else { log.error("Wrong layout attribute for component " + selectMany.getClientId(facesContext) + ": " + layout); } catch (FacesException e) { log.error("Error finding Converter for component with id " + selectMany.getClientId(facesContext)); converter = null;
} else { log.error("Wrong layout attribute for component " + selectMany.getClientId(facesContext) + ": " + layout); } catch (FacesException e) { log.error("Error finding Converter for component with id " + selectMany.getClientId(facesContext)); converter = null;
} else { log.severe("Wrong layout attribute for component " + selectMany.getClientId(facesContext) + ": " + layout);
if (facesMessage != null) context.addMessage(getClientId(context), facesMessage); } else