Package com.agiletec.aps.tags.util

Examples of com.agiletec.aps.tags.util.IPagerVO


   * @return L'oggetto necessario per fornire gli elementi necessari a determinare l'item corrente.
   * @throws ApsSystemException In caso di errori nella costruzione dell'oggetto richiesto.
   */
  public IPagerVO getPagerVO(Collection collection, String pagerId, boolean pagerIdFromFrame,
      int max, boolean isAdvanced, int offset, ServletRequest request) throws ApsSystemException {
    IPagerVO pagerVo = null;
    try {
      String truePagerId = this.getPagerId(pagerId, pagerIdFromFrame, request);
      int maxElement = this.getMaxElementForItem(max, request);
      int item = this.getItemNumber(collection, maxElement, truePagerId, request);
      pagerVo = this.buildPageVO(collection, item, maxElement, truePagerId, isAdvanced, offset);
View Full Code Here


      Collection object = (Collection) this.pageContext.getAttribute(this.getListName());
      if (object == null) {
        ApsSystemUtils.getLogger().error("Non c'è nessuna lista nella request");
      } else {
        PagerTagHelper helper = new PhotogalleryPagerTagHelper();
        IPagerVO pagerVo = helper.getPagerVO(object, this.getPagerId(),
            this.isPagerIdFromFrame(), this.getMax()this.isAdvanced(), this.getOffset(), request);
        this.pageContext.setAttribute(this.getObjectName(), pagerVo);
      }
    } catch (Throwable e) {
      ApsSystemUtils.logThrowable(e, this, "doStartTag");
View Full Code Here

TOP

Related Classes of com.agiletec.aps.tags.util.IPagerVO

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.