how to get value of "clay:dropdown-menu" in action

Scarletake Bwi, modified 2 Years ago. Expert Posts: 327 Join Date: 12/20/10 Recent Posts

hi 

i am using liferay 7.4, and this is my first time in clay.

i try with artical https://help.liferay.com/hc/en-us/articles/360018167451-Clay-Dropdown-Menus-and-Action-Menus

little bit diferent in 7.4, but i works anyway.

now my problem is, i do not know how to get the value in action. i tried

		String[] storageLocationCheckedArray = ParamUtil.getParameterValues(actionRequest, Constant.WSM_QUERY_RECEIPT_STORAGE_LOCATION);
		for (String storageLocationId : storageLocationCheckedArray) {
			LOGGER.info("storageLocationId:" + storageLocationId);
			storageLocationList.add(Integer.valueOf(storageLocationId));
		}

and 

		String[] storageLocationCheckedArray2 = ParamUtil.getStringValues(actionRequest, Constant.WSM_QUERY_RECEIPT_STORAGE_LOCATION);
		for (String storageLocationId : storageLocationCheckedArray2) {
			LOGGER.info("storageLocationId:" + storageLocationId);
		}

both get nothing.

please help me, thanks in advance.