/**
  * Return the full path of the given page; the path is composed by the concatenation of the code
  * of the page starting from the root to the given page.
  *
  * @param page The page whose path must be found.
  * @param separator The separator of the page codes
  * @return The full path of the page
  */
 public static StringBuffer getFullPath(IPage page, String separator) {
   if (page.isRoot()) {
     return new StringBuffer(page.getCode());
   }
   IPage temp = page;
   StringBuffer buffer = new StringBuffer();
   buffer.insert(0, temp.getCode());
   while (!temp.getCode().equals(temp.getParentCode())) {
     temp = temp.getParent();
     if (temp.isShowable()) {
       buffer.insert(0, temp.getCode() + separator);
     }
   }
   return buffer;
 }