Package org.joget.apps.form.model

Examples of org.joget.apps.form.model.FormRow.keySet()


                String profile = DynamicDataSourceManager.getCurrentProfile();
                String cacheKey = profile + ";" + entityName + ";" + tableName;
                if (rowSet != null) {
                    for (Iterator<FormRow> i=rowSet.iterator(); i.hasNext();) {
                        FormRow row = i.next();
                        cacheKey += ";" + row.keySet();
                        break;
                    }
                }
                net.sf.ehcache.Element element = formHibernateTemplateCache.get(cacheKey);
                if (element != null) {
View Full Code Here


                    FormRow row = rowSet.get(0);
                    boolean useSubMap = !flatten && !(e instanceof Form);
                    if (useSubMap) {
                        // it's data from a different form, so put data into submap
                        Map<String, Object> subMap = new HashMap<String, Object>();
                        for (Iterator i=row.keySet().iterator(); i.hasNext();) {
                            String key = (String)i.next();
                            Object value = row.get(key);
                            subMap.put(key, value.toString());
                        }
                        String elementKey = e.getPropertyString(FormUtil.PROPERTY_ID);
View Full Code Here

                        String elementKey = e.getPropertyString(FormUtil.PROPERTY_ID);
                        data.put(elementKey, subMap);
                        result = subMap;
                    } else {
                        // it's the same as the original form, so put data into original map
                        for (Iterator i=row.keySet().iterator(); i.hasNext();) {
                            String key = (String)i.next();
                            Object value = row.get(key);
                            data.put(key, value.toString());
                        }
                    }
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.