Package org.joget.apps.datalist.model

Examples of org.joget.apps.datalist.model.DataList


                }
                filter.setType(type);
            }
        }

        model.addAttribute("template", filter.getType().getTemplate(new DataList(), filter.getName(), filter.getLabel()));
        return "dbuilder/filterTmplate";
    }
View Full Code Here


    @RequestMapping("/app/(*:appId)/(~:appVersion)/datalist/embed")
    public String embedDatalist(ModelMap model, HttpServletResponse response, @RequestParam("appId") String appId, @RequestParam(value = "version", required = false) String version, HttpServletRequest request, @RequestParam("_submitButtonLabel") String buttonLabel, @RequestParam("_callback") String callback, @RequestParam("_setting") String callbackSetting, @RequestParam(required = false) String id, @RequestParam(value = "_listId", required = false) String listId, @RequestParam(value = "_type", required = false) String selectionType) throws JSONException {
        AppDefinition appDef = appService.getAppDefinition(appId, version);
        DatalistDefinition datalistDefinition = datalistDefinitionDao.loadById(listId, appDef);
        String json = datalistDefinition.getJson();
        DataList dataList = dataListService.fromJson(json);
        dataList.setSelectionType(selectionType);
       
        model.addAttribute("id", id);
        model.addAttribute("json", json);
        model.addAttribute("buttonLabel", buttonLabel);
        model.addAttribute("dataList", dataList);
View Full Code Here

TOP

Related Classes of org.joget.apps.datalist.model.DataList

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.