Hi All,


I have a form which has a subForm for partial submits and validation.

This sub form has a drop down, following is the code:

x-------  Cut -----------x

<s:subForm id="test">

.

.

.



<t:selectOneMenu id="selSites" onchange="submit()"


valueChangeListener="#{appointmentSchedulingWizardBean.detailsChanged}"


value="#{appointmentSchedulingWizardBean.wizard.schedulingDetailsCapture
State.site}"   required="true">

<f:selectItem itemLabel="-Select-" itemValue="" />

            <f:selectItems
value="#{appointmentSchedulingWizardBean.wizard.siteList}" />

</t:selectOneMenu>

.

.

.

</s:subForm>

x-------  Cut -----------x



Problem:

Value Change listener for the drop down does not get called. There is a
slight flicker on the page which suggests that the form is submitted but
I guess none of the values in the subForm are submitted due to which the
value change listener is also not called.



However if we take this piece of code for the drop down and put it out
of a sub form then it will call the value change listener for the
component.



How do you invoke the value change listener in case of a component
inside a subForm?



Rgds,

Madhav



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to