ZMObject
|
+--ZMController
|
+--ZMAjaxController
|
+--ZMAjaxCatalogController
public class ZMAjaxCatalogController
extends ZMAjaxController
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| void | getProductForIdJSON(int productd) Get product information for the given product id. |
| void | getProductsForCategoryIdJSON(int categoryId, boolean active) Get products for the given category 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 ZMAjaxCatalogController()
Create new instance. /
public void getProductForIdJSON(int productd)
Get product information for the given product id.
public void getProductsForCategoryIdJSON(int categoryId, boolean active)
Get products for the given category id.
Ajax controller for JSON catalog data.