Package com.agiletec.plugins.jpmyportalplus.aps.tags.util

Examples of com.agiletec.plugins.jpmyportalplus.aps.tags.util.FrameSelectItem


        Integer columnId = frame.getColumn();
        if (frame.isLocked() || null == columnId || i == currentFrame.intValue()) continue;
        Widget showlet = showletsToRender[i];
        if (columnId.equals(currentColumnId)) {
          if (showlet != null && !showlet.getType().getCode().equals(voidShowletCode)) {
            FrameSelectItem item = new FrameSelectItem(currentColumnId, columnId,
                showlet, i, currentLang);
            selectItems.add(item);
          }
        } else {
          if (showlet == null || showlet.getType().getCode().equals(voidShowletCode)) {
            boolean check = this.check(selectItems, columnId);
            if (!check) {
              FrameSelectItem item = new FrameSelectItem(currentColumnId, columnId,
                  null, i, currentLang);
              selectItems.add(item);
            }
          }
        }
View Full Code Here


    return super.doStartTag();
  }

  private boolean check(List<FrameSelectItem> selectItems, Integer columnId) {
    for (Iterator iterator = selectItems.iterator(); iterator.hasNext();) {
      FrameSelectItem frameSelectItem = (FrameSelectItem) iterator.next();
      if (columnId.equals(frameSelectItem.getColumnIdDest())) {
        return true;
      }
    }
    return false;
  }
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpmyportalplus.aps.tags.util.FrameSelectItem

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.