Hi group,
i solved my issue respectively i figured out why :
1. has nothing to do with panelGrid or selection-components :-)
2. there was a validator, which marks some input as invalid, this seems
to avoid remaining action (pushing back the values of the
selection-components to the backing-bean) [of course, it is not the
'final' submit ...]
regards
Ronald
R. Müller wrote:
Hi Group,
in one of pages, i'm using several nested Select...-tags and panelGrids.
So far it worked well, but it seems that some selector-components don't
return their value to the backing-bean, if the form is submitted.
In the following example the value of selector 'selector1' isn't returned.
As a workaround i've implemented an appropriate ValueChangeListener,
this worked for me.
Any hints, ideas ?
regards
Ronald
<t:selectOneRadio id="selector1"
valueChangeListener="#{foo.selector1Changed}"
value="#{foo.selector1Value}" layout="spread"
onclick="this.form.submit()" >
<f:selectItem itemValue="foo0" itemLabel="#{bundle['foo.fooLabel0']}"/>
[... more select items ...]
</t:selectOneRadio>
<h:panelGrid>
[... some stuff ...]
<t:selectManyCheckbox onchange="this.form.submit()"
id="selector2" layout="spread" value="#{foo.selector2Value}">
<f:selectItems value="#{foo.selector2SelectItems}" />
</t:selectManyCheckbox>
<h:panelGrid>
<f:facet name="header">
<t:radio for="selector1" index="0"/>
</f:facet>
<h:panelGrid>
<t:checkbox for="selector2" index="0" />
[... repeats to the last ...]
</h:panelGrid>
</h:panelGrid>
[... some stuff ... ]
</h:panelGrid>