Hi,
you should be able to achieve this usecase with ppr from sandbox. See
the link for further details:
http://example.irian.at/example-sandbox-20070428/pprPanelGroupOnChange.jsf
This is the more generic way to do this. The ajaxChildComboBox will be
deprecated and not supported in the near future. Also the latest
nightly gives some errors when using this component within IE.
cheers,
Gerald
On 4/28/07, Dave <[EMAIL PROTECTED]> wrote:
Can <s:ajaxChildComboBox> be used for 3 level relationship, for example,
country, state and city? I have not tried this, but I doubt it. I am
wondering if this component should be extended to 3 levels which is very
common. Thanks!
<h:selectOneMenu
value="#{ajaxChildComboBoxBean.selectedCountry}"
id="countryCombo">
<f:selectItems value="#{ajaxChildComboBoxBean.countries}"/>
</h:selectOneMenu>
<s:ajaxChildComboBox
value="#{ajaxChildComboBoxBean.selectedState}"
parentComboBox="countryCombo" id="stateCombo"
ajaxSelectItemsMethod="#{ajaxChildComboBoxBean.getStatesOfSelectedCountry}">
<f:selectItems value="#{ajaxChildComboBoxBean.states}"/>
</s:ajaxChildComboBox>
<s:ajaxChildComboBox
value="#{ajaxChildComboBoxBean.selectedCity}"
parentComboBox="stateCombo"
ajaxSelectItemsMethod="#{ajaxChildComboBoxBean.getCitiesOfSelectedState}">
<f:selectItems value="#{ajaxChildComboBoxBean.cities}"/>
</s:ajaxChildComboBox>
________________________________
Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces