Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.Container


  /**
   * Returns the first enhanced list table block from the blocks container or null, if it doesn't have such a block page at all.
   */
  public EnhancedListTableBlock getEnhancedListTableBlock() throws RQLException {
    Container bottomCtr = getBlocksContainer();
    PageArrayList children = bottomCtr.getChildPagesForTemplate(getParameter("enhancedListTableBlockTmpltName"));
    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
View Full Code Here


   * Creates a new recycling table block on the blocks container of this content page.
   *
   * @throws RQLException
   */
  public EnhancedListTableBlock createEnhancedListTableBlock() throws RQLException {
    Container ctr = getBlocksContainer();
    String templateName = getParameter("enhancedListTableBlockTmpltName");
    Template template = getTemplateByName(getParameter("contentTmpltFldrName"), templateName);
    return new EnhancedListTableBlock(ctr.createAndConnectPage(template, getHeadline() + " " + templateName, true));
  }
View Full Code Here

  private Map<String, String> getParameters() throws RQLException {

    if (parameters == null) {
      // read and save all parameters from CMS
      parameters = new HashMap<String, String>();
      Container parametersCtr = scriptPage.getContainer(PARAMETERS_TMPLT_ELEM_NAME);
      PageArrayList childList = parametersCtr.getChildPages();
      String key = null;
      String value = null;
      for (int i = 0; i < childList.size(); i++) {
        Page parameterPg = (Page) childList.get(i);
        String headline = parameterPg.getHeadline();
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.Container

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.