final String message = "Cannot locate the spring WebApplicationContext. Is it configured in your web.xml?";
LOGGER.error(message);
throw new JspException(message);
}
ValueListHandler vlh = (ValueListHandler) context.getBean(ValueListHandler.DEFAULT_SERVICE_NAME, ValueListHandler.class);
if (vlh == null)
{
final String message = "Cannot locate the ValueListHanlder in the WebApplicationContext, under the name: \""
+ ValueListHandler.DEFAULT_SERVICE_NAME + "\"";
LOGGER.error(message);
throw new JspException(message);
}
info.setFocusValue(focusValue);
info.setFocusProperty(focusProperty);
if (LOGGER.isDebugEnabled())
{
LOGGER.debug("Focus settings was setted up. Focus property '" + focusProperty + "', focus value '" + focusValue + "'");
}
ValueList list = vlh.getValueList(valueListName, info);
pageContext.getRequest().setAttribute(rootTag.getTableInfo().getName(), list);
rootTag.setValueList(list);
if (LOGGER.isDebugEnabled())
{