Examples of ValueListHandler


Examples of net.mlw.vlh.ValueListHandler

         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())
      {
View Full Code Here

Examples of net.mlw.vlh.ValueListHandler

  {
    String name = (String) componentContext.getAttribute(VALUE_LIST_NAME);
    String requestName = (String) componentContext.getAttribute(VALUE_LIST_REQUEST_NAME);

    WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(servletContext);
    ValueListHandler vlh = (ValueListHandler) context.getBean("valueListHandler", ValueListHandler.class);

    ValueListInfo info = ValueListRequestUtil.buildValueListInfo(request);
    ValueList valueList = vlh.getValueList(name, info);

    request.setAttribute(requestName, valueList);
  }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            !(item.o instanceof GenericValueContainer) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            !(item.o instanceof GenericValueContainer) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            (item.o instanceof Collection == false) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            !(item.o instanceof GenericValueContainer) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            (item.o instanceof Collection == false) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class<?> cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            (item.o instanceof Collection == false) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class<?> cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            (item.o instanceof Collection == false) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here

Examples of org.jboss.xb.binding.group.ValueListHandler

            (item.o instanceof Collection == false) &&
            term.getAddMethodMetaData() == null &&
            term.getMapEntryMetaData() == null &&
            term.getPutMethodMetaData() == null)
      {
         ValueListHandler handler = ValueListHandler.FACTORY.lazy(item.o);
         Class cls = item.o.getClass();
         item.repeatableParticleValue = new ValueListInitializer().newValueList(handler, cls);
      }
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.