Package org.joget.plugin.property.model

Examples of org.joget.plugin.property.model.PropertyEditable


            empty.put("value", "");
            empty.put("label", "");
            jsonArray.put(empty);

            for (Plugin p : elementList) {
                PropertyEditable element = (PropertyEditable) p;
                Map<String, String> option = new HashMap<String, String>();
                option.put("value", element.getClassName());
                option.put("label", element.getLabel());
                jsonArray.put(option);
            }
        } catch (Exception ex) {
            LogUtil.error(this.getClass().getName(), ex, "getElements Error!");
        }
View Full Code Here


    }

    @RequestMapping("/property/json/getPropertyOptions")
    public void getProperties(Writer writer, @RequestParam("value") String value) throws Exception {
        String json = "";
        PropertyEditable element = (PropertyEditable) pluginManager.getPlugin(value);
        if (element != null) {
            json = element.getPropertyOptions();
        }

        writer.write(json);
    }
View Full Code Here

        if (appId != null && !appId.trim().isEmpty()) {
            appService.getAppDefinition(appId, version);
        }

        String json = "";
        PropertyEditable element = (PropertyEditable) pluginManager.getPlugin(value);
        if (element != null) {
            json = element.getPropertyOptions();
        }

        writer.write(json);       
    }
View Full Code Here

TOP

Related Classes of org.joget.plugin.property.model.PropertyEditable

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.