Bruno,
I tried the hack. It seems to produce the old behavior. Its not retaining the values of the conditionally rendered fields.

            <h:outputText value="#{Message.hardware_type}" />
            <h:selectOneRadio value="#{ServiceBean.hardwareType}" valueChangeListener="#{ServiceBean.hardwareTypeChanged}"
               
                immediate="true">
                <f:selectItems value="#{ServiceBean.HWTypes}"/>
            </h:selectOneRadio>

<t:commandButton id="hiddenButton" style="visibility:hidden" immediate="true" action=""/>

I am also checking out the subForm. Will post once I am done with that.

Thanks,
Hemanth
Bruno Aranda <[EMAIL PROTECTED]> wrote:
I have two choices in my mind now. One is more elegant than the other,
which is a hack actually. The more elegant is to use the sandbox
s:subForm component [1]. I haven't used it myself so I cannot be or
more help. The hack is to click with _javascript_ an invisible button
with the immediate that sends the form, something like this:



immediate="true"
valueChangeListener="#{ServiceBean.hardwareTypeChanged}">

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to