myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Kratz" <thomas.kr...@isb-ag.de>
Subject SelectOneMenu & immediate=true
Date Mon, 12 Feb 2007 09:55:07 GMT
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

 


Mime
View raw message