You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Thomas Kratz <th...@isb-ag.de> on 2007/02/12 10:55:07 UTC
SelectOneMenu & immediate=true
First I´m using a SNAPSHOT from last Thursday. Don't know if sths broken
there. MAybe this is just stupid but I hope someone can show me out. I have a
selectOne menu declared like:
<h:selectOneMenu id="${_id}" value="#{entity[field]}" required="${required}"
converter="EntityConverter"
onchange="#{onchange}" styleClass="editable" immediate="${immediate}">
which I use in a facelets Tag named selectFieldEntity. I use this tag with
<a:selectFieldEntity readonly="false" label="#{messages.oetyp}"
required="true" entity="${dienststelle}" field="oeTyp"
onchange="this.form.submit()"
valueChangeListener="#{action.oetypSelectionChanged}" immediate="true"
selectItems="${action.OETypen}" itemlabel="#{element.langBezeichnung}" />
but the immediate seems to be ignored as validation occurs on other fields in
the form (which is not wanted when the selction changes)
I saw this in many examples and I have no idea what the heck Im doing wrong ?
Thanks for your advice