org.apache.myfaces.examples.ajaxchildcombobox
Class AjaxChildComboBoxBean

java.lang.Object
  extended byorg.apache.myfaces.examples.ajaxchildcombobox.AjaxChildComboBoxBean

public class AjaxChildComboBoxBean
extends java.lang.Object

Backing Bean for AjaxChildComboBox component example

Author:
Sharath

Constructor Summary
AjaxChildComboBoxBean()
           
 
Method Summary
 javax.faces.model.SelectItem[] getCities()
           
 javax.faces.model.SelectItem[] getCitiesOfSelectedCountry(java.lang.String country)
           
 javax.faces.model.SelectItem[] getCountries()
           
 java.lang.String getSelectedCity()
           
 java.lang.String getSelectedCountry()
           
 void setSelectedCity(java.lang.String selectedCity)
           
 void setSelectedCountry(java.lang.String selectedCountry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxChildComboBoxBean

public AjaxChildComboBoxBean()
Method Detail

getCountries

public javax.faces.model.SelectItem[] getCountries()

getCities

public javax.faces.model.SelectItem[] getCities()

getSelectedCountry

public java.lang.String getSelectedCountry()

setSelectedCountry

public void setSelectedCountry(java.lang.String selectedCountry)

getSelectedCity

public java.lang.String getSelectedCity()

setSelectedCity

public void setSelectedCity(java.lang.String selectedCity)

getCitiesOfSelectedCountry

public javax.faces.model.SelectItem[] getCitiesOfSelectedCountry(java.lang.String country)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.