public void init(AWApplication application, String requestHandlerKey) { super.init(application, requestHandlerKey); SharedInstance = this; AWDirectActionUrl.setup( adaptorPrefix(), application.name(), applicationNameSuffix(), alternateSecurePort()); _defaultRequestFilter = ListUtil.list(); }
public List toList(Object receiver) { OrderedList orderedList = OrderedList.get(receiver); int count = orderedList.size(receiver); List result = ListUtil.list(count); for (int i = 0; i < count; i++) { result.add(orderedList.elementAt(receiver, i)); } return result; }