ZenMagick 0.9.6


org.zenmagick.rp.ajax.controller.ZMAjaxCountryController

Class ZMAjaxCountryController

ZMObject
|
+--ZMController
|
+--ZMAjaxController
|
+--ZMAjaxCountryController

public class ZMAjaxCountryController
extends ZMAjaxController

Ajax controller for JSON country data.

Author:
DerManoMann
Version:
$Id: ZMAjaxCountryController.php 2153 2009-04-14 03:28:18Z dermanomann $

Constructor Summary

ZMAjaxCountryController()

Create new instance.

Method Summary
void

getCountryListJSON()

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

Constructor Detail

ZMAjaxCountryController

public ZMAjaxCountryController()

Create new instance. /


Method Detail

getCountryListJSON

public void getCountryListJSON()

Generates a JSON list of all countries.


getZonesForCountryIdJSON

public void getZonesForCountryIdJSON(int countryId)

Generates a JSON list of all zones for the requested country id.

Parameters:
countryId - The country id.

ZenMagick 0.9.6