|
Hi, I asked this question a few months ago but I didn’t
get an answer. So I try it again because I have to solve this now. I have a selectOneMenu and a link beside it. When the
user clicks the link I need the selected value in my BackingBean without form
validation. The target of the link is an iframe and I don't want that the same
page with error messages is rendered in this iframe. Therefore the immediate
attribute of the link is set true. I can't use a ValueChangeListener because this is not
called with immediate submits, right? Can I use an updateActionListener and set the selected
value via _javascript_ (see snippet and the '???') Or is the usage of a component binding for the
selectOneMenu the only working alternative? Snippet: <t:selectOneMenu id="documentTypeId"
forceId="true" value="#{MyBean.document.attributes['documentTypeId']}"> <f:selectItems
value="#{MyBean.scoredCategories['documentType']}"/> </t:selectOneMenu> <h:commandLink
action="" immediate="true"
target="zone1"> <t:updateActionListener
property="#{MyBean.selectedDocumentTypeId }"
value="????"/> ... </h:commandLink> Thanks in advance, Michael |
- selected value and immediate submits Michael Heinen
- Re: selected value and immediate submits Cosma Colanicchia
- Re: selected value and immediate submits Jeff Bischoff
- RE: selected value and immediate submits Michael Heinen
- Re: selected value and immediate submits Jeff Bischoff
- RE: selected value and immediate submits Michael Heinen

