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=""/--> </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( at org.apache.myfaces.renderkit.RendererUtils.getConvertedStringValue( at org.apache.myfaces.renderkit.RendererUtils.internalSubmittedOrSelectedValuesAsSet( at org.apache.myfaces.renderkit.RendererUtils.getSubmittedValuesAsSet( at org.apache.myfaces.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet( at org.apache.myfaces.renderkit.html.HtmlRendererUtils.internalRenderSelect( at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderListbox( at org.apache.myfaces.renderkit.html.HtmlListboxRendererBase.encodeEnd( at org.apache.myfaces.renderkit.html.ext.HtmlListboxRenderer.encodeEnd( at javax.faces.component.UIComponentBase.encodeEnd( at org.apache.myfaces.renderkit.RendererUtils.renderChild( 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