Package net.javalib.util.vl

Examples of net.javalib.util.vl.ValueListInfo


  protected void getModel(Map model, HttpServletRequest request,
      Object command) throws Exception {
    super.getModel(model, request, command);
   
    if (WebUtils.hasSubmitParameter(request, "filterSubmit")) {
      ValueListInfo vl = new ValueListInfo();
      setValueListInfo(vl, request, command);
      List elements = OADomainLiteUtil.getAllLite(getListClass(), vl);
      model.put("_elements", elements);
      model.put("_elements_size", new Integer(elements.size()));
    }
View Full Code Here


            throws Exception {
        super.getModel(model, request, command);
       
        ExtrasImpExpData data = (ExtrasImpExpData)command;
       
        ValueListInfo vl = new ValueListInfo();
        vl.addFilterNamedParam("name","like", "Walca SA%");
        vl.setLimit(1);
        List saList = OADomainUtil.getAll(PartyAddress.class, vl);
        if (saList.size() > 0)
          data.setPoPlacedBy((PartyAddress)saList.get(0));

        vl = new ValueListInfo();
        vl.addFilterNamedParam("name","like", "Walca FE%");
        vl.setLimit(1);
        List feList = OADomainUtil.getAll(PartyAddress.class, vl);
        if (feList.size() > 0)
          data.setPoTakenBy((PartyAddress)feList.get(0));
       
        model.put("_internalOrgAddressList", PartyAddressUtil.getOrgInternalAddresses())
View Full Code Here

TOP

Related Classes of net.javalib.util.vl.ValueListInfo

Copyright © 2018 www.massapicom. 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.