StringBuffer results = new StringBuffer();
HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();
ServletContext servletContext = pageContext.getServletContext();
ModuleConfig config =
ModuleUtils.getInstance().getModuleConfig(request, servletContext);
ValidatorResources resources =
(ValidatorResources) pageContext.getAttribute(
ValidatorPlugIn.VALIDATOR_KEY + config.getPrefix(),
PageContext.APPLICATION_SCOPE);
Locale locale = TagUtils.getInstance().getUserLocale(pageContext, null);
Form form = resources.getForm(locale, formName);
if (form != null) {
if ("true".equalsIgnoreCase(dynamicJavascript)) {
MessageResources messages =
(MessageResources) pageContext.getAttribute(
bundle + config.getPrefix(),
PageContext.APPLICATION_SCOPE);
List lActions = new ArrayList();
List lActionMethods = new ArrayList();