ZMObject
|
+--ZMController
|
+--ZMAjaxController
|
+--ZMAjaxCountryController
public class ZMAjaxCountryController
extends ZMAjaxController
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| void | Generates a JSON list of all countries. |
| void | getZonesForCountryIdJSON(int countryId) Generates a JSON list of all zones for the requested country id. |
| Methods inherited from org.zenmagick.rp.ajax.ZMAjaxController | |
|---|---|
| flattenObject, process, processGet, setJSONHeader, toJSON | |
| Methods inherited from org.zenmagick.rp.ZMController | |
|---|---|
| exportGlobal, findView, getFormBean, getGlobal, getGlobals, getId, getView, handleRequest, isFormSubmit, process, processGet, processPost, setContentType, setId, setView, validate, validateFormBean | |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMAjaxCountryController()
Create new instance. /
public void getCountryListJSON()
Generates a JSON list of all countries.
public void getZonesForCountryIdJSON(int countryId)
Generates a JSON list of all zones for the requested country id.
Ajax controller for JSON country data.