code: protected Page getPage(Map<String,String> parameters, RenderContext renderContext, String spaceKey) throws GreenPepperServerException
      {
          String pageTitle = parameters.get("pageTitle");
          if(StringUtil.isEmpty(pageTitle))
          {
              ContentEntityObject owner = ((PageContext)renderContext).getEntity();
              return (Page)owner;
          }
  
          Page page = gpUtil.getPageManager().getPage(spaceKey, pageTitle);
          if(page == null)
              throw new GreenPepperServerException("greenpepper.children.pagenotfound", String.format("'%s' in space '%s'", pageTitle, spaceKey));
          
          return page;
      }
docs: <p>getPage.</p>
  
  @param parameters a {@link java.util.Map} object.
  @param renderContext a {@link com.atlassian.renderer.RenderContext} object.
  @param spaceKey a {@link java.lang.String} object.
  @return a {@link com.atlassian.confluence.pages.Page} object.
  @throws com.greenpepper.server.GreenPepperServerException if any.