Com to john benito jbbenitocom cc stdcxx

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Id="com.ps.cardservices.NullValidator"/--> </h:selectOneMenu> Then i thought because of my custom converter so i try to specify the NullValidator just do nothing, still it keeps saying 'ValidatorError' One more thing i love to report, on my converter method: public String getAsString(FacesContext context, UIComponent component, Object object) throws ConverterException; While some tim i get the object as java.lang.String instead of my object type? Regards, hovan. Exception while using SelectManyListbox, SelectManyCheckbox or SelectOneRadio with a Converter. Exception while using SelectManyListbox or SelectManyCheckbox SelectOneRadio with a Converter. If you have a SelectManyListbox with a Converter, and you click on a CommandNavigation that expand the menu. So only the Navigation should be open, and the same side should by shown, but than you get a Exception from the Converter! at de.xy.converter.XYConverter.getAsString(XYConverter.java:62) at org.apache.myfaces.renderkit.RendererUtils.getConvertedStringValue(RendererUtils.java:551) at org.apache.myfaces.renderkit.RendererUtils.internalSubmittedOrSelectedValuesAsSet(RendererUtils.java:586) at org.apache.myfaces.renderkit.RendererUtils.getSubmittedValuesAsSet(RendererUtils.java:510) at org.apache.myfaces.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(HtmlRendererUtils.java:304) at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:290) at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderListbox(HtmlRendererUtils.java:241) at org.apache.myfaces.renderkit.html.HtmlListboxRendererBase.encodeEnd(HtmlListboxRendererBase.java:56) at org.apache.myfaces.renderkit.html.ext.HtmlListboxRenderer.encodeEnd(HtmlListboxRenderer.java:55) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:450) The submittedValues in RendererUtils.getSubmittedValuesAsSet are already a StringArray. But in the Method "internalSubmittedOrSelectedValuesAsSet" the Converter will be ask for the StringValue, so you get an Exception. If you enter the side with a SelectManyListbox and a Converter, or leave the side with a real Button, all is fine. SelectOneRadio and SelectManyCheckbox have the same error. Default domain not added to object names ObjectNames using a default domain (e.g. :name=foo...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online