Ajax with Jsf 1.1 implementation
- by Rohan Ved
I am using JSF1.1 in that, have this code_
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://www.azureworlds.org" prefix="azure"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%>
<%@ taglib uri="http://www.asifqamar.com/jsf/asif" prefix="a"%>
...
<x:selectOneMenu value="#{hotelBean.state}">
<f:selectItem itemLabel="Select One" itemValue="" />
<f:selectItem value="#{hotelBean.mapStates }" />
<x:ajax update="city" listener="#{hotelBean.handleCityChange}" />
</x:selectOneMenu>
<h:outputText value="City* " />
<x:selectOneMenu id="city" value="#{hotelBean.city}">
<f:selectItem itemLabel="Select One" itemValue="" />
<f:selectItem value="#{hotelBean.mapCities }" />
</x:selectOneMenu>
line x:ajax update="city" listener="#{hotelBean.handleCityChange}"
is not working , i searched but got JSF1.1 not support for Ajax.
then what can i do for this? and i have less knowledge of JS.
Thanx