Package easyJ.system.data

Examples of easyJ.system.data.UserPropertyRight


        Object primaryKeyValue = BeanUtil.getFieldValue(object,
                primaryKey);

        int propertySize = displayProperties.size();
        for (int j = 0; j < propertySize; j++) {
            UserPropertyRight property = (UserPropertyRight) displayProperties
                    .get(j);
            buffer.append("<td abbr=\"asdf\" onclick=\"Data.edit('"
                    + primaryKey + "'" + ",'" + primaryKeyValue
                    + "')\">\n");
            String propertyName = property.getPropertyName();
            if (GenericValidator.isBlankOrNull(property
                    .getShowProperty())) {
                buffer.append(Format.formatDisplay(BeanUtil
                        .getFieldValue(object, propertyName)));
                /* 下面在属性propertyName要加上Value是从数据字典中取出数据时显示用的。在创建试图的时候的规定 */
            } else {
                buffer.append(Format.formatDisplay(BeanUtil
                        .getFieldValue(object, property
                                .getShowProperty())));
            }
            buffer.append("</td>\n");
        }

View Full Code Here


        ArrayList displayProperties, ValidateErrors errors, int i,
        boolean isComposite) throws EasyJException{
      StringBuffer buffer = new StringBuffer();
      int propertySize = displayProperties.size();
      for (int k = 0; k < propertySize; k++) {
            UserPropertyRight property = (UserPropertyRight) displayProperties
                    .get(k);
            Integer width = property.getShowWidth();
            if (width != null)
                buffer.append("<td class=\"trContent\" width='"
                        + width + "%'nowrap>\n");
            else
                buffer.append("<td class=\"trContent\" nowrap>\n");
            String propertyName = property.getPropertyName();
            /* 如果不是从数据字典表或者其他表中选取,则显示输入框 */
            if (GenericValidator.isBlankOrNull(property
                    .getPropertyValueTable())) {
                if ("textarea".equals(property.getType())) {
                    buffer.append("<textarea width=\"100%\" name=\""
                           + property.getPropertyName() );
                    //如果不是主子表,则对名称加上主键号,否则在查询的时候会有问题。
                    if(!isComposite)
                      buffer.append(i);
                    buffer.append("\" id=\""
                           + property.getPropertyName() + i
                           + "\" onblur=\"" + Format.format(Validate
                                .getClientValidate(object.getClass().getName()
                                                            + propertyName))
                                    + "\">"
                                    + Format.format(BeanUtil
                                            .getFieldValue(object,
                                                    propertyName))
                                    + "</textarea>\n");
                }else {
                  if ("webAddress".equals(property.getShowType())) {
                    Object fieldValue = Format.format(BeanUtil.getFieldValue(
                                object, propertyName));
                    buffer.append("<a href = \"http://"+fieldValue+
                        "\" target=\"_blank\"\">" +
                        fieldValue + "</a>");
                  }else {
                 
                      buffer.append("<input type=\"text\" name=\""
                              + property.getPropertyName());
                    if(!isComposite)
                      buffer.append(i);
                    buffer.append("\" id=\""
                              + property.getPropertyName()
                              + i
                              + "\" value=\""
                              + Format.format(BeanUtil.getFieldValue(
                                      object, propertyName))
                              + "\" onblur=\""
                              + Format.format(Validate
                                      .getClientValidate(object
                                              .getClass().getName()
                                              + propertyName))
                              + "\" style=\"width:95%\"/>\n");
                  }
                }
                if (errors != null
                        && errors.getErrorMsg(propertyName) != null) {
                    buffer.append(errors.getErrorMsg(propertyName));
                }
            } else {
                /* 如果是从数据字典表或者其他表中选取,则显示下拉列表或者弹出框 */
                String propertyValueTable = property
                        .getPropertyValueTable();
                if (property.getFromDictionary() != null) {
                 if ("checkboxs".equals(property.getType())) {
                     StringBuffer cheboxBuffer = null;
                     if (!property.getFromDictionary()) {
                       cheboxBuffer = getCheckboxs(property
                               .getPropertyValueTable(), property.getPropertyName(),
                               BeanUtil.getFieldValue(object, property.getPropertyName()), i);
                     } else {
                       cheboxBuffer = getCheckBoxsFromDic(property
                               .getPropertyValueTable(), property.getPropertyName(),
                               BeanUtil.getFieldValue(object, property.getPropertyName()), i);
                     }
                     buffer.append(cheboxBuffer);
                   } else if ("radio".equals(property.getType())) {
                       StringBuffer radioBuffer = null;
                       if (!property.getFromDictionary()) {
                         radioBuffer = getRadios(property
                                 .getPropertyValueTable(), property.getPropertyName(),
                                 BeanUtil.getFieldValue(object, property.getPropertyName()), i);
                       } else {
                         radioBuffer = getRadiosFromDic(property
                                 .getPropertyValueTable(), property.getPropertyName(),
                                 BeanUtil.getFieldValue(object, property.getPropertyName()), i);
                       }
                       buffer.append(radioBuffer);
                   } else {
                     if (property.getFromDictionary().booleanValue()) {
                 
                        String selectName = propertyName ;
                        if (!isComposite)
                          selectName += i;
                          StringBuffer selectBuffer = DictionaryProxy
                                  .getHtmlSelect(selectName, propertyValueTable,
                                          BeanUtil.getFieldValue(
                                                  object,
                                                  propertyName),
                                          BeanUtil.getFieldValue(
                                                  object,
                                                  property.getShowProperty()));
                          buffer.append(selectBuffer.toString());
                      } else {
                          Object propertyValue = BeanUtil
                                  .getFieldValue(object, propertyName);
                          String diplayName = property
                                  .getShowProperty();
                          Object displayValue = BeanUtil
                                  .getFieldValue(object, diplayName);
                          StringBuffer selectBuffer = HtmlClientComponentService
                                  .getDataSelect(propertyValueTable,
View Full Code Here

                StringBuffer properties = new StringBuffer();
                StringBuffer classes = new StringBuffer();
                StringBuffer propertyTypes = new StringBuffer();
                /* 下面输入用来浏览的数据字段 */
                for (int i = 0; i < propertySize; i++) {
                    UserPropertyRight property = (UserPropertyRight) displayProperties
                            .get(i);
                    Integer width = property.getShowWidth();
                    if (width != null)
                        buffer.append("<td nowrap class=\"trTitle\" width='"
                                + width +"%'align=\"center\">\n");
                    else
                        buffer.append("<td nowrap class=\"trTitle\" align=\"center\">\n");
                   
                    buffer.append(property.getPropertyChiName() + "\n");
                    buffer.append("</td>\n");
                    properties.append(property.getPropertyName()).append(",");
                    propertyTypes.append(property.getType()).append(",");
                    if (GenericValidator.isBlankOrNull(property
                            .getPropertyValueTable())) {
                        classes.append(",");
                    } else {
                        classes.append(property.getPropertyValueTable())
                                .append(",");
                        /* 将需要显示的字段放到id字段的后面 */
                        properties.append(property.getShowProperty()).append(
                                ",");
                        propertyTypes.append(property.getType()).append(",");
                    }
                }
                buffer.append("</tr>\n");

                ArrayList dataList = (ArrayList) BeanUtil.getFieldValue(obj,
View Full Code Here

            tdWidth = 70 / sizePerLine;
        else
            tdWidth = 90 / sizePerLine;

        for (int i = start; i < size; i++) {
            UserPropertyRight property = (UserPropertyRight) editProperties
                    .get(i);
            if (j % sizePerLine == 0) {
                buffer.append("<tr>\n");
            }
            String propertyName = property.getPropertyName();
            /* 因为如果是textarea的话,就会放到下面显示,所以这些只有当不是textarea的时候才显示 */
            String displayChineseName = "<td width=\"15%\" align=\"left\" style="
                        +"'text-align:justify;text-justify:distribute-all-lines'>"
                    + property.getPropertyChiName()
                    + ": </td> <td align=\"left\" width=\"" + tdWidth + "%\">";
            if ("checkboxs".equals(property.getType())) {
                checkboxsProperties.add(property);
                continue;
            }
            if ("textarea".equals(property.getType())) {
                textareaProperties.add(property);
                continue;
            }

            if (GenericValidator
                    .isBlankOrNull(property.getPropertyValueTable())) {
                /* 如果不是从数据字典表或者其他表中选取,则显示输入框 */

                // 如果是隐藏字段,则输入hidden
                if (GenericValidator.isBlankOrNull(property.getHidden())) {
                    buffer.append(displayChineseName + "\n");
                    buffer.append("<input type=\"text\" name=\""
                            + property.getPropertyName()
                            + "\" value=\""
                            + Format.format(BeanUtil.getFieldValue(object,
                                    propertyName))
                            + "\" onblur=\""
                            + Format.format(Validate.getClientValidate(object
                                    .getClass().getName()
                                    + propertyName))
                            + "\" style=\"width:97%;\"  />\n");
                    if (errors != null
                            && errors.getErrorMsg(propertyName) != null) {
                        buffer.append(errors.getErrorMsg(propertyName));
                    }
                } else {
                    buffer.append("<input type=\"hidden\" name=\""
                            + property.getPropertyName()
                            + "\" value=\""
                            + Format.format(BeanUtil.getFieldValue(object,
                                    propertyName)) + "\"/>\n");
                }
            } else {
                buffer.append(displayChineseName + "\n");
                // buffer.append(displayChineseName);
                /* 如果是从数据字典表或者其他表中选取,则显示下拉列表或者弹出框 */
                String propertyValueTable = property.getPropertyValueTable();
                if (property.getFromDictionary() != null) {
                    if (property.getFromDictionary().booleanValue()) {
                        StringBuffer selectBuffer = DictionaryProxy
                                .getHtmlSelect(propertyName,
                                        propertyValueTable, BeanUtil
                                                .getFieldValue(object,
                                                        propertyName), BeanUtil
                                                .getFieldValue(object,
                                                        propertyName + "Value"));
                        buffer.append(selectBuffer.toString());
                    } else {
                        StringBuffer selectBuffer = HtmlClientComponentService
                                .getSelect(propertyValueTable, BeanUtil
                                        .getFieldValue(object, propertyName));
                        buffer.append(selectBuffer.toString());
                    }
                }

            }
            buffer.append("</td>\n");
            if ("Y".equals(hint)) {
                if ("cursor".equals(hintType))
                    buffer.append("<td><img src=\"/image/ask.gif\" alt=\""
                            + Format.format(property.getDescription())
                            + "\"></img></td>");
                else
                    buffer.append("<td>"
                            + Format.format(property.getDescription())
                            + "</td>");
            }

            if (!"textarea".equals(property.getType())
                    || "checkboxs".equals(property.getType())) {
                j++;
            }
            if (j % sizePerLine == 0) {
                buffer.append("</tr>");
            }
        }
        /* 如果最后一行没有够每行要求的td数,那么就需要在下面补齐 */
        while ((j % sizePerLine) != 0) {
            j++;
            buffer.append("<td></td>");
        }
        buffer.append("</tr>\n");
        buffer.append("</table>\n");
        for (int i = 0; i < textareaProperties.size(); i++) {
            UserPropertyRight property = (UserPropertyRight) textareaProperties
                    .get(i);
            buffer.append("<table><tr ><td width=\"15%\" align=\"left\">"
                    + property.getPropertyChiName()
                    + "</td><td align=\"left\">\n");
            /* 大小应该有屏幕大小决定的,将来需要改 */
            buffer.append("<textarea style=\"width:97%\" rows=\"5\" name=\""
                    + property.getPropertyName()
                    + "\">"
                    + Format.format(BeanUtil.getFieldValue(object, property
                            .getPropertyName())) + "</textarea>");
            buffer.append("</td></tr></table>\n");
        }
        for (int i = 0; i < checkboxsProperties.size(); i++) {
            UserPropertyRight property = (UserPropertyRight) checkboxsProperties
                    .get(i);
            buffer.append("<table><tr><td width=\"15%\">"
                    + property.getPropertyChiName()
                    + "</td><td align=\"left\">\n");
            /* 大小应该有屏幕大小决定的,将来需要改 */
            StringBuffer cheboxBuffer = getCheckboxs(property
                    .getPropertyValueTable(), property.getPropertyName(),
                    BeanUtil.getFieldValue(object, property.getPropertyName()), -1);
            buffer.append(cheboxBuffer.toString() + "\n");
            buffer.append("</td></tr></table>\n");
        }
        return buffer;
    }
View Full Code Here

                StringBuffer properties = new StringBuffer();
                StringBuffer classes = new StringBuffer();
                StringBuffer propertyTypes = new StringBuffer();
                /* 下面输入用来浏览的数据字段 */
                for (int i = 0; i < propertySize; i++) {
                    UserPropertyRight property = (UserPropertyRight) displayProperties
                            .get(i);
                    Integer width = property.getShowWidth();
                    if (width != null)
                        buffer.append("<td nowrap class=\"trTitle\" width='"
                                + width +"%'align=\"center\">\n");
                    else
                        buffer.append("<td nowrap class=\"trTitle\" align=\"center\">\n");
                    buffer.append(property.getPropertyChiName() + "\n");
                    buffer.append("</td>\n");
                    properties.append(property.getPropertyName()).append(",");
                    propertyTypes.append(property.getType()).append(",");
                    if (GenericValidator.isBlankOrNull(property
                            .getPropertyValueTable()))
                        classes.append(",");
                    else {
                        classes.append(property.getPropertyValueTable())
                                .append(",");
                        /* 将需要显示的字段放到id字段的后面 */
                        properties.append(property.getShowProperty()).append(
                                ",");
                        propertyTypes.append(property.getType()).append(",");
                    }
                }
                buffer.append("</tr>\n");

                ArrayList dataList = (ArrayList) BeanUtil.getFieldValue(obj,
                        subClassProperty);
                int dataSize = 0;
                String subPrimaryKeyName = "";
                if (dataList != null)
                    dataSize = dataList.size();
                subPrimaryKeyName = (String) BeanUtil
                        .getPrimaryKeyName(BeanUtil.getClass(subClassName));
//                buffer
//                        .append("<tr><td class=\"trContent\" colspan=\""
//                                + propertySize
//                                + "\" ><image src=\"image\\delete.gif\" id=\"check"
//                                + "\" onclick=\"UseCase.hiddenDetail(this)\" /><image  src=\"image\\up.gif\" id=\"insertBefore"
//                                + "\" onclick=\"UseCase.insert('up','user')\" /><image  src=\"image\\up.gif\" id=\"insertBeforeSys"
//                                + "\" onclick=\"UseCase.insert('up','sys')\" /><image src=\"image\\down.gif\" id=\"insertAfter"
//                                + "\" onclick=\"UseCase.insert('down','user')\" /><image src=\"image\\down.gif\" id=\"insertAfterSys"
//                                + "\" onclick=\"UseCase.insert('down','sys')\" /></td></tr>\n");

                buffer
                .append("<tr><td class=\"trContent\" colspan=\""
                        + propertySize
                        + "\" ><image src=\"image/delete.gif\" id=\"check"
                        + "\" onclick=\"UseCase.hiddenDetail(this)\" /><image  src=\"image/up.gif\" id=\"insertBefore"
                        + "\" onclick=\"UseCase.insert('up','user')\" /><image  src=\"image/up.gif\" id=\"insertBeforeSys"
                        + "\" onclick=\"UseCase.insert('up','sys')\" /><image src=\"image/down.gif\" id=\"insertAfter"
                        + "\" onclick=\"UseCase.insert('down','user')\" /><image src=\"image/down.gif\" id=\"insertAfterSys"
                        + "\" onclick=\"UseCase.insert('down','sys')\" /></td></tr>\n");
               
                String propertyValueTable = "";
                for (int i = 0; i < dataSize; i++) {
                    buffer.append("<div><tr id=\"tr" + i
                            + "\" class=\"trContent\">\n");
                    Object object = dataList.get(i);
                    UseCaseInteraction interaction = (UseCaseInteraction)object;
                   
//                     buffer.append( "<td class=\"trContent\" onMouseOver=\"showImg(this)\" onMouseLeave=\"hideImg(this)\"><image"+
//                     "style=\"display:none\" src=\"image\\delete.gif\""+
//                     "id=\"check" + i + "\" onclick=\"Data.hiddenDetail(this)\" /><image"+
//                     "style=\"display:none\" src=\"image\\up.gif\""+
//                     "id=\"insertBefore" + i + "\""+
//                     "onclick=\"UseCase.insert(this,'up','user')\" /><image"+
//                     "style=\"display:none\" src=\"image\\up.gif\""+
//                     "id=\"insertBeforeSys" + i + "\""+
//                     "onclick=\"UseCase.insert(this,'up','sys')\" /><br>"+
//                     "<image style=\"display:none\" src=\"image\\down.gif\""+
//                     "id=\"insertAfter" + i + "\""+
//                     "onclick=\"UseCase.insert(this,'down','user')\" /><image"+
//                     "style=\"display:none\" src=\"image\\down.gif\""+
//                     "id=\"insertAfterSys" + i + "\""+
//                     "onclick=\"UseCase.insert(this,'down','sys')\" /><input"+
//                     "type=\"hidden\" name=\""+subPrimaryKeyName+ "\""+
//                     "value=\""+BeanUtil.getFieldValue(object,subPrimaryKeyName)+"\"/></td>\n");

                    buffer.append("<input type=\"hidden\" name=\""
                            + subPrimaryKeyName + "\" value=\""
                            + BeanUtil.getFieldValue(object, subPrimaryKeyName)
                            + "\"/>");
                    for (int k = 0; k < propertySize; k++) {
                        UserPropertyRight property = (UserPropertyRight) displayProperties
                                .get(k);
                       
                        //特殊处理columns字段
                        if ("columns".equals(property.getPropertyName())) {
                            Long classId = interaction.getClassId();
                            if (classId != null) {
                                String columnsValue = interaction.getColumns();
                                StringBuffer columnBuffer =
                                    getProperty(classId.toString(), new Integer(i).toString(), columnsValue);
                                buffer.append("<td>");
                                buffer.append(columnBuffer);
                                buffer.append("</td>");
                            }
                            continue;
                        }
                       
                        String propertyName = property.getPropertyName();
                        /* 如果不是从数据字典表或者其他表中选取,则显示输入框 */
                        if (GenericValidator.isBlankOrNull(property
                                .getPropertyValueTable())) {
                            if ("textarea".equals(property.getType())) {
                                Object value = Format.format(BeanUtil
                                        .getFieldValue(object, propertyName));
                                if (k == 0 && "^^sys$$".equals(value)) {
                                    Integer width = property.getShowWidth();
                                    if (width != null)
                                        buffer.append("<td nowrap width='"
                                                + width +"%'\n");
                                    else
                                        buffer.append("<td nowrap>\n");
                                    buffer
                                            .append("<textarea  style=\"display:none\" name=\""
                                                    + property
                                                            .getPropertyName()
                                                    + "\" id=\""
                                                    + property
                                                            .getPropertyName()
                                                    + i
                                                    + "\" onblur=\""
                                                    + Format
                                                            .format(Validate
                                                                    .getClientValidate(object
                                                                            .getClass()
                                                                            .getName()
                                                                            + propertyName))
                                                    + "\"  onpropertychange=\"setHeight()\" onpaste=\"setHeight()\">"
                                                    + value + "</textarea>\n");
                                } else {
                                    Integer width = property.getShowWidth();
                                    if (width != null)
                                        buffer.append("<td nowrap class=\"trContent\" width='"
                                                + width +"%'>\n");
                                    else
                                        buffer
                                            .append("<td class=\"trContent\" nowrap>\n");
                                    buffer
                                            .append("<textarea  style=\"overflow:auto;width:100%;height:100%\" name=\""
                                                    + property
                                                            .getPropertyName()
                                                    + "\" id=\""
                                                    + property
                                                            .getPropertyName()
                                                    + i
                                                    + "\" onblur=\""
                                                    + Format
                                                            .format(Validate
                                                                    .getClientValidate(object
                                                                            .getClass()
                                                                            .getName()
                                                                            + propertyName))
                                                    + "\" onpropertychange=\"setHeight()\" onpaste=\"setHeight()\" onfocus=\"UseCase.rememberFocus(this)\">"
                                                    + value + "</textarea>\n");
                                }
                            } else {
                                Integer width = property.getShowWidth();
                                if (width != null)
                                    buffer.append("<td width='"
                                            + width +"%'>\n");
                                else
                                    buffer.append("<td>");
                                buffer
                                        .append("<input type=\"text\" name=\""
                                                + property.getPropertyName()
                                                + "\" id=\""
                                                + property.getPropertyName()
                                                + i
                                                + "\" onfocus=\"rememberFocus(this)\" value=\""
                                                + Format.format(BeanUtil
                                                        .getFieldValue(object,
                                                                propertyName))
                                                + "\" onblur=\""
                                                + Format
                                                        .format(Validate
                                                                .getClientValidate(object
                                                                        .getClass()
                                                                        .getName()
                                                                        + propertyName))
                                                + "\"/>\n");
                            }
                            if (errors != null
                                    && errors.getErrorMsg(propertyName) != null) {
                                buffer.append(errors.getErrorMsg(propertyName));
                            }
                        } else {
                            buffer.append("<td>");
                            /* 如果是从数据字典表或者其他表中选取,则显示下拉列表或者弹出框 */
                            propertyValueTable = property
                                    .getPropertyValueTable();
                            if (property.getFromDictionary() != null) {
                                if (property.getFromDictionary().booleanValue()) {
                                    StringBuffer selectBuffer = DictionaryProxy
                                            .getHtmlSelect(
                                                    propertyName,
                                                    propertyValueTable,
                                                    BeanUtil.getFieldValue(
                                                            object,
                                                            propertyName),
                                                    BeanUtil
                                                            .getFieldValue(
                                                                    object,
                                                                    property
                                                                            .getShowProperty()));
                                    buffer.append(selectBuffer.toString());
                                } else {
                                    Object propertyValue = BeanUtil
                                            .getFieldValue(object, propertyName);
                                    String diplayName = property
                                            .getShowProperty();
//                                    Object displayValue = BeanUtil
//                                            .getFieldValue(object, diplayName);
                                    StringBuffer selectBuffer = HtmlClientComponentService
                                            .getSelect(propertyValueTable, propertyValue);
View Full Code Here

            /* 为了进行选择,需要将id也放到表格里面,但是就不用显示 */
            /* 这里是处理题头 */
            buffer
                    .append("<td nowrap class=\"trTitle\" align=\"center\" style=\"display:none\" ></td>\n");
            for (int i = 0; i < propertySize; i++) {
                UserPropertyRight property = (UserPropertyRight) displayProperties
                        .get(i);
                /* 其他的一些不用显示的id应该是用不到,但是也还是放过去吧 */
                if (!GenericValidator.isBlankOrNull(property.getShowProperty()))
                    buffer
                            .append("<td nowrap class=\"trTitle\" align=\"center\" style=\"display:none\" ></td>\n");
                buffer
                        .append("<td nowrap class=\"trTitle\" align=\"center\">\n");
                /* 此处 */
                buffer.append("<a href=\"javascript:PopUpWindow.orderBy('"
                        + property.getPropertyName() + "')\">"
                        + property.getPropertyChiName() + "</a>\n");
                buffer.append("</td>\n");
            }
            buffer.append("</tr>\n");
            if (request.getAttribute(Globals.PAGE) != null) {
                Page page = (Page) request.getAttribute(Globals.PAGE);
                ArrayList dataList = page.getPageData();
                int dataSize = dataList.size();
                ArrayList propertyNameList = new ArrayList();
                /* 用来标识隐藏的属性是否已经添加到属性字段properties中,因为是多行显示,只要添加一行就可以了,所以在这里做一个标记。 */
                boolean getProperty = false;
                for (int i = 0; i < dataSize; i++) {
                    buffer.append("<tr>\n");
                    Object object = dataList.get(i);
                    buffer
                            .append("<td class=\"trContent\"><input type=\"button\" class=\"button\" id=\"button"
                                    + i
                                    + "\" value=\"选择\" onclick=\"PopUpWindow.select(this)\"/> </td>\n");
                    buffer
                            .append("<td class=\"trContent\" style=\"display: none;\">"
                                    + BeanUtil.getPrimaryKeyValue(object)
                                    + "</td>\n");
                    for (int j = 0; j < propertySize; j++) {
                        UserPropertyRight property = (UserPropertyRight) displayProperties
                                .get(j);

                        String propertyName = property.getPropertyName();
                        String value = "";
                        if (GenericValidator.isBlankOrNull(property
                                .getShowProperty())) {
                            value = Format.formatDisplay(BeanUtil
                                    .getFieldValue(object, propertyName));
                            if (!getProperty)
                                propertyNameList.add(propertyName);
                            buffer.append("<td class=\"trContent\" nowrap>"
                                    + value + "</td>\n");
                        } else {
                            String idValue = Format.formatDisplay(BeanUtil
                                    .getFieldValue(object, propertyName));
                            value = Format.formatDisplay(BeanUtil
                                    .getFieldValue(object, property
                                            .getShowProperty()));
                            /* 将id属性和要显示的属性都加到页面上面去 */
                            if (!getProperty) {
                                propertyNameList.add(propertyName);
                                propertyNameList
                                        .add(property.getShowProperty());
                            }
                            buffer
                                    .append("<td class=\"trContent\" style=\"display:none\">"
                                            + idValue + "</td>\n");
                            buffer.append("<td class=\"trContent\" nowrap>"
View Full Code Here

TOP

Related Classes of easyJ.system.data.UserPropertyRight

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.