ZMObject
└─ZMController
└─ZMAjaxController
└─ZMAjaxCountryController
public class ZMAjaxCountryController
extends ZMAjaxController
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| void | getCountryListJSON(ZMRequest request) Generates a JSON list of all countries. |
| void | getZonesForCountryIdJSON(ZMRequest request) Generates a JSON list of all zones for the requested country id. |
| Methods inherited from org.zenmagick.mvc.controller.ZMAjaxController | |
|---|---|
| flattenObject, process, processGet, setJSONHeader, toJSON | |
| Methods inherited from org.zenmagick.mvc.controller.ZMController | |
|---|---|
| findView, getFormData, getId, getView, isFormSubmit, preProcess, process, processGet, processPost, setContentType, setId, setView, validate, validateFormData, validateSession | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMAjaxCountryController()
Create new instance.
public void getCountryListJSON(ZMRequest request)
Generates a JSON list of all countries.
public void getZonesForCountryIdJSON(ZMRequest request)
Generates a JSON list of all zones for the requested country id.
Request parameter (either or):
Ajax controller for JSON country data.