AJAX Select Dependency (1)

JavaScript is not enabled in your browser. Please enable JavaScript for this page to work properly.
In this example, Source and Make are independent of each other, but Model depends on Make AND Source combined.
Note that there are no models in Local Honda or Imported Holden combinations.

Car Source

Car Make

Car Model

Keywords

(optional)

The tricky part of this is that AJAX Select requests pass only one context value, ie. the value of the Select;
so when you change Source how can you also send the chosen Make, and when you change Make how can you also send the chosen Source?
We solve it by persisting chosenCarSource and chosenCarMake in the generated URLs by using @ActivationRequestParameter.