Hi all,
I´m using <h:selectOneMenu> with <s:selectItems> and <s:convertEntity>, them, when I ssubmmit the page, an exception occurs, because convertEntity tries to convert org.jboss.seam.ui.NoSelectionConverter.noSelectionValue to a Integer value in EntityIdentifierStore:
public Identifier get(String key)
{
try
{
return store.get(new Integer(key));
}
catch (IndexOutOfBoundsException e)
{
return null;
}
}Probably is an stupid code made by me. Can someone help me please?
My xhtml code:
<h:selectOneMenu value="#{pad.fluxoTrabalho}" id="fluxoTrabalho" styleClass="medio">
<s:selectItems var="item" value="#{fluxosTrabalhoAtivos}" label="#{item.nome}" noSelectionLabel="-- Selecione --"/>
<s:convertEntity/>
</h:selectOneMenu>It's 1.5 years later, so I don't know whether this reply will ever be read, but I experienced the same problem, and found it was caused by a missing NoSelectionConverter: