Transfomiert Zuweisungs Operation. <br />
EBNF:<br />
<code>eqvOp ["=" spaces assignOp];</code>

@return CFXD Element
@throws PageException
355863
protected Ref assignOp() throws PageException {
	Ref ref = contOp();

	if (cfml.forwardIfCurrent('=')) {
	    cfml.removeSpace();
	    if (mode == STATIC || ref instanceof Literal) {
		ref = new DynAssign(ref, assignOp(), limited);
	    }
	    else {
		ref = new Assign(ref, assignOp(), limited);
	    }
	}
	return ref;
    }
629328
private Ref negateMinusOp() throws PageException {
	// And Operation
	if (cfml.forwardIfCurrent('-')) {
	    if (cfml.forwardIfCurrent('-')) {
		cfml.removeSpace();
		Ref expr = clip();
		Ref res = preciseMath ? new BigMinus(expr, new LNumber(new Double(1)), limited) : new Minus(expr, new LNumber(new Double(1)), limited);
		return new Assign(expr, res, limited);
	    }
	    cfml.removeSpace();
	    return new Negate(clip(), limited);

	}
	if (cfml.forwardIfCurrent('+')) {
	    if (cfml.forwardIfCurrent('+')) {
		cfml.removeSpace();
		Ref expr = clip();
		Ref res = preciseMath ? new BigPlus(expr, new LNumber(new Double(1)), limited) : new Plus(expr, new LNumber(new Double(1)), limited);
		return new Assign(expr, res, limited);
	    }
	    cfml.removeSpace();
	    return new Casting("numeric", CFTypes.TYPE_NUMERIC, clip());

	}
	return clip();
    }
1232690
public static Clob toClob(Connection conn, Object value) throws PageException, SQLException {
	if (value instanceof Clob) return (Clob) value;
	// Java >= 1.6
	if (SystemUtil.JAVA_VERSION >= SystemUtil.JAVA_VERSION_6) {
	    Clob clob = conn.createClob();
	    clob.setString(1, Caster.toString(value));
	    return clob;
	}

	// Java < 1.6
	if (isOracle(conn)) {
	    Clob clob = OracleClob.createClob(conn, Caster.toString(value), null);
	    if (clob != null) return clob;
	}
	return ClobImpl.toClob(value);
    }
1352535
public function getQuery()
    {
        $idField = $this->documentKey;

        if ($idField == null) {
            throw new QueryException('id should not be null');
        }

        $documentLimitation = $this->createFilterQuery('id')->setQuery(sprintf('id:%s', $idField));
        $this->addFilterQuery($documentLimitation);

        $this->setQuery('*:*');

        return parent::getQuery();
    }
1332356
public int doStartTag() throws JspException {
      try {
	SPathFilter s = new SPathFilter(new SPathParser(select).expression());
	pageContext.setAttribute(var, s);
	return SKIP_BODY;
      } catch (ParseException ex) {
	throw new JspTagException(ex.toString(), ex);
      }
    }
175843
private static QueryBuilder getQueryBldr(final IQueryPart _queryPart)
        throws EFapsException
    {
        final Iterator<String> typeIter = ((AbstractQueryPart) _queryPart).getTypes().iterator();
        String typeStr = typeIter.next();
        final QueryBuilder ret = new QueryBuilder(UUIDUtil.isUUID(typeStr) ? Type.get(UUID.fromString(typeStr))
                        : Type.get(typeStr));
        while (typeIter.hasNext()) {
            typeStr = typeIter.next();
            ret.addType(UUIDUtil.isUUID(typeStr) ? Type.get(UUID.fromString(typeStr)) : Type.get(typeStr));
        }
        for (final AbstractWhere where : ((AbstractQueryPart) _queryPart).getWheres()) {
            if (where instanceof AttributeWhere) {
                final AttributeWhere attrWhere = (AttributeWhere) where;
                switch (where.getComparison()) {
                    case IN:
                    case EQUAL:
                        ret.addWhereAttrEqValue(attrWhere.getAttribute(), attrWhere.getValues().toArray());
                        break;
                    case GREATER:
                        ret.addWhereAttrGreaterValue(attrWhere.getAttribute(), attrWhere.getValues().get(0));
                        break;
                    case LESS:
                        ret.addWhereAttrLessValue(attrWhere.getAttribute(), attrWhere.getValues().get(0));
                        break;
                    case LIKE:
                        ret.addWhereAttrMatchValue(attrWhere.getAttribute(), attrWhere.getValues().get(0));
                        break;
                    case UNEQUAL:
                    case NOTIN:
                        ret.addWhereAttrNotEqValue(attrWhere.getAttribute(), attrWhere.getValues().toArray());
                        break;
                    default:
                        ret.addWhereAttrEqValue("ID", 0);
                        break;
                }
            } else if (where instanceof SelectWhere) {
                final SelectWhere selWhere = (SelectWhere) where;
                switch (where.getComparison()) {
                    case EQUAL:
                        ret.addWhereSelectEqValue(selWhere.getSelect(), selWhere.getValues().toArray());
                        break;
                    case GREATER:
                        ret.addWhereSelectGreaterValue(selWhere.getSelect(), selWhere.getValues().get(0));
                        break;
                    case LESS:
                        ret.addWhereSelectLessValue(selWhere.getSelect(), selWhere.getValues().get(0));
                        break;
                    case LIKE:
                        ret.addWhereSelectMatchValue(selWhere.getSelect(), selWhere.getValues().get(0));
                        break;
                    case UNEQUAL:
                    case IN:
                    case NOTIN:
                    default:
                        ret.addWhereAttrEqValue("ID", 0);
                        break;
                }
            } else if (where instanceof AttrQueryWhere) {
                final AttrQueryWhere attrQueryWhere = (AttrQueryWhere) where;
                switch (where.getComparison()) {
                    case IN:
                        ret.addWhereAttrInQuery(attrQueryWhere.getAttribute(),
                                        getQueryBldr(attrQueryWhere.getQuery()).getAttributeQuery(
                                                        ((AbstractNestedQueryStmtPart) attrQueryWhere.getQuery())
                                                                        .getSelect()));
                        break;
                    case NOTIN:
                        ret.addWhereAttrNotInQuery(attrQueryWhere.getAttribute(),
                                        getQueryBldr(attrQueryWhere.getQuery()).getAttributeQuery(
                                                        ((AbstractNestedQueryStmtPart) attrQueryWhere.getQuery())
                                                                        .getSelect()));
                        break;
                    case EQUAL:
                    case GREATER:
                    case LESS:
                    case LIKE:
                    case UNEQUAL:
                    default:
                        ret.addWhereAttrEqValue("ID", 0);
                        break;
                }
            } else if (where instanceof SelectQueryWhere) {
                final SelectQueryWhere selQueryWhere = (SelectQueryWhere) where;
                switch (where.getComparison()) {
                    case IN:
                        ret.addWhereAttrInQuery(selQueryWhere.getSelect(),
                                        getQueryBldr(selQueryWhere.getQuery()).getAttributeQuery(
                                                        ((AbstractNestedQueryStmtPart) selQueryWhere.getQuery())
                                                                        .getSelect()));
                        break;
                    case NOTIN:
                        ret.addWhereAttrNotInQuery(selQueryWhere.getSelect(),
                                        getQueryBldr(selQueryWhere.getQuery()).getAttributeQuery(
                                                        ((AbstractNestedQueryStmtPart) selQueryWhere.getQuery())
                                                                        .getSelect()));
                        break;
                    case EQUAL:
                    case GREATER:
                    case LESS:
                    case LIKE:
                    case UNEQUAL:
                    default:
                        ret.addWhereAttrEqValue("ID", 0);
                        break;
                }
            }
        }
        if (_queryPart instanceof AbstractQueryStmtPart) {
            ret.setLimit(((AbstractQueryStmtPart) _queryPart).getLimit());
        }
        return ret;
    }
399895
public CmsContainerPageBean getPage(Object page, Object locale) {

        CmsResource pageResource = null;
        CmsContainerPageBean result = null;
        if (m_cms != null) {
            try {
                pageResource = CmsJspElFunctions.convertRawResource(m_cms, page);
                Locale l = CmsJspElFunctions.convertLocale(locale);
                result = getPage(pageResource);
                if (result != null) {
                    CmsADEConfigData adeConfig = OpenCms.getADEManager().lookupConfiguration(
                        m_cms,
                        pageResource.getRootPath());
                    for (CmsContainerBean container : result.getContainers().values()) {
                        for (CmsContainerElementBean element : container.getElements()) {
                            boolean isGroupContainer = element.isGroupContainer(m_cms);
                            boolean isInheritedContainer = element.isInheritedContainer(m_cms);
                            I_CmsFormatterBean formatterConfig = null;
                            if (!isGroupContainer && !isInheritedContainer) {
                                element.initResource(m_cms);
                                // ensure that the formatter configuration id is added to the element settings, so it will be persisted on save
                                formatterConfig = CmsJspTagContainer.getFormatterConfigurationForElement(
                                    m_cms,
                                    element,
                                    adeConfig,
                                    container.getName(),
                                    "",
                                    0);
                                if (formatterConfig != null) {
                                    element.initSettings(m_cms, formatterConfig, l, m_request, null);
                                }
                            }
                        }
                    }
                }
            } catch (Exception e) {
                LOG.warn(e.getLocalizedMessage(), e);
            }

        }
        return result;
    }
1327601
@Override
    public int doStartTag() throws JspException {
        try {
            XPathContext context = XalanUtil.getContext(this, pageContext);
            XObject result = select.execute(context, context.getCurrentNode(), null);
            pageContext.setAttribute(var, XalanUtil.coerceToJava(result), scope);
            return SKIP_BODY;
        } catch (TransformerException e) {
            throw new JspTagException(e);
        }
    }
998953
public String transform(String html, URL url, boolean setBaseTag) throws PageException {
	StringBuffer target = new StringBuffer();
	SourceCode cfml = new SourceCode(html, false, CFMLEngine.DIALECT_CFML);
	while (!cfml.isAfterLast()) {
	    if (cfml.forwardIfCurrent('<')) {
		target.append('<');
		try {
		    for (int i = 0; i < tags.length; i++) {
			if (cfml.forwardIfCurrent(tags[i].tag + " ")) {
			    target.append(tags[i].tag + " ");
			    transformTag(target, cfml, tags[i], url);
			}
		    }
		}
		catch (MalformedURLException me) {
		    throw Caster.toPageException(me);
		}
	    }
	    else {
		target.append(cfml.getCurrent());
		cfml.next();
	    }

	}
	if (!setBaseTag) return target.toString();

	html = target.toString();
	String prefix = "", postfix = "";
	int index = StringUtil.indexOfIgnoreCase(html, "</head>");
	if (index == -1) {
	    prefix = "<head>";
	    postfix = "</head>";
	    index = StringUtil.indexOfIgnoreCase(html, "</html>");
	}

	if (index != -1) {
	    StringBuffer sb = new StringBuffer();
	    sb.append(html.substring(0, index));
	    String port = url.getPort() == -1 ? "" : ":" + url.getPort();
	    sb.append(prefix + "<base href=\"" + (url.getProtocol() + "://" + url.getHost() + port) + "\">" + postfix);
	    sb.append(html.substring(index));
	    html = sb.toString();

	}
	return html;
    }
1026656
public function getQuery()
    {
        $documentName = $this->documentName;

        if ($documentName == null) {
            throw new QueryException('documentName should not be null');
        }

        $documentLimitation = $this->createFilterQuery('id')->setQuery(sprintf('id:%s_*', $documentName));
        $this->addFilterQuery($documentLimitation);

        $this->setQuery('*:*');

        return parent::getQuery();
    }
887101
public function CreatePage() 
	{
		parent::CreatePage(); // Doesnt necessary get PX, because PX is protected!
		
		$deleteMode = false;
		
		//Strings
		$action = strtolower($this->_action);
		$id = $this->_context->get("id");
		$group = $this->_context->get("group");
		$contents = "";
		$titleIndex = $this->_context->get("titleIndex");		
		$summaryIndex = $this->_context->get("summaryIndex");
		$groupKeyword = $this->_context->get("groupKeyword");

		$myWords = $this->WordCollection();
		$this->setHelp($myWords->Value("DESCRIPTION"));
		$this->setTitlePage($myWords->Value("TITLE"));
		
		//XmlNode 
		$block = $this->_px->addBlockCenter($myWords->Value("WORKINGAREA"));

		$this->addMenuOption($myWords->Value("TXT_BACK"), "module:Xmlnuke.Admin.ListXML");
		/*
		XmlNode paragraph;
		XmlNode form;
		XmlNode boxButton;
		XmlNode editNode; // (For Index)
		processor.XMLFilenameProcessor xmlFile;
		*/

		// Open Index File
		$indexFile = new XMLFilenameProcessor("index");
		//XmlDocument 
		
		$index = $this->_context->getXMLDataBase()->getDocument($indexFile->FullQualifiedName(),null);

		// --------------------------------------
		// CHECK ACTION
		// --------------------------------------
		
		if ( ($action == "edit") || ($action == "new") )
		{
			$contents = $this->_context->get("contents");				
			$contents = stripslashes($contents);
			$this->_context->setSession("texto", $contents); 
			
			/*echo "<PRE>";
			echo htmlentities($contents);
			echo "</PRE>";*/
			
			try
			{
				$title = "";
				$summary = "";
				//XmlNode $node;

				// Get edited XML and update info about INDEX.
				//XmlDocument
				$xml = XmlUtil::CreateXmlDocumentFromStr($contents);

				//$node = XmlUtil::SelectSingleNode($xml->documentElement, "/page/meta/title");
				$node = XmlUtil::SelectSingleNode($xml->documentElement, "meta/title");
				if ($node != null)
				{
					$title = $node->nodeValue;
				}
				//$node = XmlUtil::SelectSingleNode($xml->documentElement,"/page/meta/abstract");
				$node = XmlUtil::SelectSingleNode($xml->documentElement,"meta/abstract");
				if ($node != null)
				{
					$summary = $node->nodeValue;
				}
				//$node = XmlUtil::SelectSingleNode($xml->documentElement,"/page/meta/modified");
				$node = XmlUtil::SelectSingleNode($xml->documentElement,"meta/modified");
				if ($node != null)
				{
					$node->nodeValue = date("D M j Y G:i:s");
				}
				//$node = XmlUtil::SelectSingleNode($xml->documentElement,"/page/meta/groupkeyword");
				$node = XmlUtil::SelectSingleNode($xml->documentElement,"meta/groupkeyword");
				
				if ($node != null)
				{
					$node->nodeValue = $groupKeyword;
				}

				if ($id != "_all")
				{
					if ($action == "edit")
					{
						//$editNode = XmlUtil::SelectSingleNode($index->documentElement, "/xmlindex/group[id='" . $group . "']/page[id='" . $id . "']");
						$editNode = XmlUtil::SelectSingleNode($index->documentElement, "group[id='" . $group . "']/page[id='" . $id . "']");
						if ($titleIndex == "")
						{
							$titleIndex = $title;
						}
						XmlUtil::SelectSingleNode($editNode,"title")->nodeValue = $titleIndex;

						if ($summaryIndex == "")
						{
							$summaryIndex = $summary;
						}
						XmlUtil::SelectSingleNode($editNode,"summary")->nodeValue = $summaryIndex;
					}
					else
					{
						
						//$editNode = XmlUtil::SelectSingleNode($index->documentElement,"/xmlindex/group[id='" . $group . "']");		
						$editNode = XmlUtil::SelectSingleNode($index->documentElement,"group[id='" . $group . "']");
						$newNode = XmlUtil::CreateChild($editNode, "page", "");
						XmlUtil::CreateChild($newNode, "id", $id);
						XmlUtil::CreateChild($newNode, "title", $title);
						XmlUtil::CreateChild($newNode, "summary", $summary);
						$titleIndex = $title;
						$summaryIndex = $summary;
					}
				}

				$xmlFile = new XMLFilenameProcessor($id);
					
				$this->_context->getXMLDataBase()->saveDocumentXML($xmlFile->FullQualifiedName(), $xml);
				$this->_context->getXMLDataBase()->saveDocumentXML($indexFile->FullQualifiedName(), $index);
				$this->_context->getXMLDataBase()->saveIndex();
				$paragraph = $this->_px->addParagraph($block);
				FileUtil::DeleteFilesFromPath($this->_cacheFile);
				FileUtil::DeleteFilesFromPath(new XSLCacheFilenameProcessor(""));
				$this->_px->addBold($paragraph, $myWords->Value("SAVED"));
			}
			//catch (XmlException ex)
			catch (Exception $ex)
			{
				
				$paragraph = $this->_px->addParagraph($block);
				$this->_px->AddErrorMessage($paragraph, $contents, $ex);
			}
		}

		// Get the group from the Index and Update Edit Fields
		//$editNode = XmlUtil::SelectSingleNode( $index->documentElement,"/xmlindex/group[page[id='" . $id . "']]/id");
		$editNode = XmlUtil::SelectSingleNode( $index->documentElement,"group[page[id='" . $id . "']]/id");
		if ($editNode != null)
		{
			$group = $editNode->nodeValue;
			//$editNode = XmlUtil::SelectSingleNode($index->documentElement,"/xmlindex/group[id='" . $group . "']/page[id='" . $id . "']");
			$editNode = XmlUtil::SelectSingleNode($index->documentElement,"group[id='" . $group . "']/page[id='" . $id . "']");
			$titleIndex = XmlUtil::SelectSingleNode($editNode,"title")->nodeValue;
			$summaryIndex = XmlUtil::SelectSingleNode($editNode,"summary")->nodeValue;
		}
		
		if ($action == "delete")
		{
			$paragraph = $this->_px->addParagraph($block);
			$this->_px->addHref($paragraph, "module:Xmlnuke.Admin.ManageXML?id=" . $this->_context->get("id") . "&action=confirmdelete", $myWords->Value("CONFIRMDELETE", $this->_context->get("id")), null);
			$deleteMode = true;
		}

		if ($action == "confirmdelete")
		{
			$paragraph = $this->_px->addParagraph($block);
			//$editNode = XmlUtil::SelectSingleNode($index->documentElement,"/xmlindex/group[id='" . $group . "']");		
			$editNode = XmlUtil::SelectSingleNode($index->documentElement,"group[id='" . $group . "']");
			$delNode = XmlUtil::SelectSingleNode($editNode,"page[id='" . $id . "']");
			if ($delNode != null)
			{
				$editNode->removeChild($delNode);
			}
			
			$this->_context->getXMLDataBase()->saveDocumentXML($indexFile->FullQualifiedName(), $index);
			//util.FileUtil.DeleteFile(new processor.XMLFilenameProcessor(_context.get("id"), this._context));
			$this->_context->getXMLDataBase()->saveIndex();
			$this->_px->addBold($paragraph, $myWords->Value("DELETED"));
			$deleteMode = true;
		}

		// --------------------------------------
		// EDIT XML PAGE
		// --------------------------------------
		// If doesnt have an ID, list all pages or add new!
		if ($id == "")
		{
			$action = "new";
		}
		else
		{
			$this->addMenuOption($myWords->Value("PREVIEWMENU"), "engine:xmlnuke?xml=" . $id . "&xsl=[param:xsl]&lang=[param:lang]", "preview");
			$this->addMenuOption($myWords->Value("NEWXMLMENU"), "module:Xmlnuke.Admin.ManageXML", null);
			$langAvail = $this->_context->LanguagesAvailable();
			$processorFile = new XMLFilenameProcessor($id);
			foreach(array_keys($langAvail) as $key) 				
			{
				if ($key != strtolower($this->_context->Language()->getName()));
				{
					$repositorio = 	new XmlnukeDB($this->_context->XmlHashedDir(), $this->_context->XmlPath(), $key);
					$fileToCheck = $processorFile->FullName($id, "", $key) . $processorFile->Extension();
					if ($repositorio->existsDocument($fileToCheck))
					{
						$this->addMenuOption($myWords->ValueArgs("EDITXMLMENU" ,array($langAvail[$key])), "module:Xmlnuke.Admin.ManageXML?id=" . $id . "&lang=".$key, null);
					}
					else
					{
						$this->addMenuOption($myWords->ValueArgs("CREATEXMLMENU", array($langAvail[$key])), "module:Xmlnuke.Admin.ManageXML?id=" . $id . "&lang=".$key, null);
					}
				}
			}
			$action = "edit";
		}


		// Show form to Edit/Insert
		if (!$deleteMode)
		{
			$paragraph = $this->_px->addParagraph($block);
			//XmlNodeS 
			$table = $this->_px->addTable($paragraph);
			$row = $this->_px->addTableRow($table);
			$col = $this->_px->addTableColumn($row);
			$form = $this->_px->addForm($col, "module:Xmlnuke.Admin.ManageXML", "","form", true );

			$xmlExist = true;
			if ($id != "")
			{
				$xmlTestExist = new XMLFilenameProcessor($id);
				$xmlExist = $this->_context->getXMLDataBase()->existsDocument($xmlTestExist->FullQualifiedName());
			}

			$canUseNew = (($action != "new") && !$xmlExist);
			
			//Trecho acrescentado para manter o conteudo do textarea mesmo no caso de erro.
			$contents = $this->_context->getSession("texto");
			//echo $contents;
			if (($action == "new") || $canUseNew)
			{
				$action = "new"; // This is necessary, because user can Create a predefined ID...
				if (!$canUseNew || ($id == ""))
				{
					$this->_px->addTextBox($form, $myWords->Value("XMLBOX"), "id", "", 20, true, INPUTTYPE::TEXT);
				}
				else
				{
					$this->_px->addLabelField($form, $myWords->Value("XMLBOX"), $id);
					$this->_px->addHidden($form, "id", $id);
				}
				$this->_px->addLabelField($form, $myWords->Value("LANGUAGEBOX"), strtolower($this->_context->Language()->getName()));
				//if($contents!="")
				//{
					$contents = 
						"<page>\n" .
						"  <meta>\n" .
						"    <title>Put your title here</title>\n" .
						"    <abstract>Put page abstract informations here</abstract>\n" .
						"    <created>" . date("D M j Y G:i:s") . "</created>\n" .
						"    <modified/>\n" .
						"    <keyword>xmlnuke</keyword>\n" . 
						"    <groupkeyword>all</groupkeyword>\n" .
						"  </meta>\n" .
						"  <blockcenter>\n" . 
						"    <title>Block Title</title>\n" .
						"    <body>\n" .
						"      <p>This is the first paragraph</p>\n" .
						"    </body>\n" .
						"  </blockcenter>\n" .
						"</page>\n";
				//}
				session_unregister("texto");
			}
			else
			{
				$this->_px->addLabelField($form, $myWords->Value("LANGUAGEBOX"), strtolower($this->_context->Language()->getName()));
				$this->_px->addHidden($form, "id", $id);
				$xmlFile = new XMLFilenameProcessor($id);
				//XmlDocument 
				$xml = $this->_context->getXMLDataBase()->getDocument($xmlFile->FullQualifiedName(), null);
				//if($contents!="")					
					$contents = str_replace("&amp;", "&", XmlUtil::GetFormattedDocument($xml));
				$editNode = XmlUtil::SelectSingleNode($xml->documentElement,"meta/groupkeyword");
				if ($editNode != null)
				{
					$groupKeyword = $editNode->nodeValue;
				}
				session_unregister("texto");
			}

			if ($id != "_all")
			{
				$this->_px->addCaption($form, $myWords->Value("SITEMAPINFO"));
				$this->_px->addTextBox($form, $myWords->Value("INDEXBOX"), "titleIndex", $titleIndex, 60, true, INPUTTYPE::TEXT);
				$selectNode = $this->_px->addSelect($form, $myWords->Value("LISTEDBOX"), "group");
				$this->_px->addTextBox($form, $myWords->Value("INDEXSUMMARYBOX"), "summaryIndex", $summaryIndex, 60, true, INPUTTYPE::TEXT);

				$this->_px->addCaption($form, $myWords->Value("PAGEINFO"));
				//XmlNode 
				$selectPageNode = $this->_px->addSelect($form,$myWords->Value("SHOWMENUBOX"), "groupKeyword");
				$this->_px->addOption($selectPageNode, $myWords->Value("NOTLISTEDOPTION"), "-", null);					
				
				//XmlNodeList 
				//$groupList = XmlUtil::SelectNodes($index->documentElement,"/xmlindex/group");
				$groupList = XmlUtil::SelectNodes($index->documentElement,"/group");
				
				foreach( $groupList as $node )					
				{				
					
					$value = XmlUtil::SelectSingleNode($node,"title")->nodeValue;
										
					$this->_px->addOption($selectNode, XmlUtil::SelectSingleNode($node,"title")->nodeValue . " (" . XmlUtil::SelectSingleNode($node,"/id")->nodeValue . ")", XmlUtil::SelectSingleNode($node,"/id")->nodeValue, XmlUtil::SelectSingleNode($node,"/id")->nodeValue == $group);
					
					$this->_px->addOption($selectPageNode, XmlUtil::SelectSingleNode($node,"title")->nodeValue . " (" . XmlUtil::SelectSingleNode($node,"/keyword")->nodeValue . ")", XmlUtil::SelectSingleNode($node,"/keyword")->nodeValue, XmlUtil::SelectSingleNode($node,"/keyword")->nodeValue == $groupKeyword);
				
				}
			
			}
			
			$this->_px->addHidden($form, "action", $action);
			$this->_px->addCaption($form, $myWords->Value("XMLEDITINFO"));
			$this->_px->addMemo($form, $myWords->Value("XMLCONTENTBOX"), "contents", $contents, 80, 30, "soft");
			$boxButton = $this->_px->addBoxButtons($form);
			$this->_px->addSubmit($boxButton, "", $myWords->Value("TXT_SAVE"));
		}
		
		return $this->_px;
	}
115971
public static Float toFloat(Object o) throws PageException {
	if (o instanceof Float) return (Float) o;
	return new Float(toFloatValue(o));
    }
613468
private Ref concatOp() throws PageException {
	Ref ref = plusMinusOp();

	while (cfml.isCurrent('&') && !cfml.isNext('&')) {
	    cfml.next();
	    ref = _concat(ref);
	}
	return ref;
    }
1279203
public static Short toShort(Object o) throws PageException {
	if (o instanceof Short) return (Short) o;
	return Short.valueOf(toShortValue(o));

    }
623367
private Object executeExp(PageContext pc, SQL sql, Query qr, Expression exp, int row) throws PageException {
	// print.e("name:"+exp.getClass().getName());
	if (exp instanceof Value) return ((Value) exp).getValue();// executeConstant(sql,qr, (Value)exp, row);
	if (exp instanceof Column) return executeColumn(sql, qr, (Column) exp, row);
	if (exp instanceof Operation) return executeOperation(pc, sql, qr, (Operation) exp, row);
	if (exp instanceof BracketExpression) return executeBracked(pc, sql, qr, (BracketExpression) exp, row);
	throw new DatabaseException("unsupported sql statement [" + exp + "]", null, sql, null);
    }
96203
private Object executeExp(PageContext pc, SQL sql, Query qr, ZExp exp, int row) throws PageException {
	if (exp instanceof ZConstant) return executeConstant(sql, qr, (ZConstant) exp, row);
	else if (exp instanceof ZExpression) return executeExpression(pc, sql, qr, (ZExpression) exp, row);
	throw new DatabaseException("unsupported sql statement [" + exp + "]", null, sql, null);

    }
755004
private void doGetJavaCFXTags() throws PageException {
	Map map = config.getCFXTagPool().getClasses();
	lucee.runtime.type.Query qry = new QueryImpl(new Collection.Key[] { KeyConstants._displayname, KeyConstants._sourcename, KeyConstants._readonly, KeyConstants._name,
		KeyConstants._class, KeyConstants._bundleName, KeyConstants._bundleVersion, KeyConstants._isvalid }, 0, "query");
	Iterator it = map.keySet().iterator();

	int row = 0;
	while (it.hasNext()) {
	    CFXTagClass tag = (CFXTagClass) map.get(it.next());
	    if (tag instanceof JavaCFXTagClass) {
		row++;
		qry.addRow(1);
		JavaCFXTagClass jtag = (JavaCFXTagClass) tag;
		qry.setAt(KeyConstants._displayname, row, tag.getDisplayType());
		qry.setAt(KeyConstants._sourcename, row, tag.getSourceName());
		qry.setAt(KeyConstants._readonly, row, Caster.toBoolean(tag.isReadOnly()));
		qry.setAt(KeyConstants._isvalid, row, Caster.toBoolean(tag.isValid()));
		qry.setAt(KeyConstants._name, row, jtag.getName());
		qry.setAt(KeyConstants._class, row, jtag.getClassDefinition().getClassName());
		qry.setAt(KeyConstants._bundleName, row, jtag.getClassDefinition().getName());
		qry.setAt(KeyConstants._bundleVersion, row, jtag.getClassDefinition().getVersionAsString());
	    }

	}
	pageContext.setVariable(getString("admin", action, "returnVariable"), qry);
    }