jsFormName = formName;
if(jsFormName.charAt(0) == '/') {
String mappingName = StrutsUtils.getActionMappingName(jsFormName);
ModuleConfig mconfig = ModuleUtils.getInstance().getModuleConfig(request, app);
ActionConfig mapping = (ActionConfig) mconfig.findActionConfig(mappingName);
if (mapping == null) {
throw new NullPointerException("Cannot retrieve mapping for action " + mappingName);
}
jsFormName = mapping.getAttribute();
}
results.append(getJavascriptBegin(methods));
for (Iterator i = actions.iterator(); i.hasNext();)