Package org.infoglue.deliver.util

Examples of org.infoglue.deliver.util.Slots


  {
    try
    {
      if(elements != null && visibleElementsId != null)
      {
        Slots slots = new Slots(elements, currentSlot, slotSize, slotCount);
        setResultAttribute(visibleElementsId, slots.getVisibleElements());
        setResultAttribute(visibleSlotsId, slots.getVisibleSlots());
        setResultAttribute(lastSlotId, slots.getLastSlot());
      }
      else if(maxSlots > 0)
      {
        Slots slots = new Slots(currentSlot, slotSize, slotCount, maxSlots);
        setResultAttribute(visibleSlotsId, slots.getVisibleSlots());
        setResultAttribute(lastSlotId, slots.getLastSlot());
      }
      else
        throw new JspTagException("Either elements/visibleElementsId or maxSlots must be specified.");
    }
    catch(Exception e)
View Full Code Here

TOP

Related Classes of org.infoglue.deliver.util.Slots

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.