JBoss Tools SVN: r6402 - in trunk/vpe/plugins/org.jboss.tools.vpe: images and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:24:04 -0500 (Mon, 18 Feb 2008)
New Revision: 6402
Removed:
trunk/vpe/plugins/org.jboss.tools.vpe/images/ADF_Faces/
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/HtmlBodyTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfRadioSelectItemTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectManyListbox.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectOneListbox.java
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-adf.xml
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-html.xml
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsp.xml
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-list.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -12,21 +12,12 @@
<extension point="org.jboss.tools.common.model.keys">
<keys path="help/keys-vpe.properties"/>
</extension>
- <extension
+ <!-- extension
point="org.jboss.tools.vpe.templates">
<templates
- name="Oracle ADF"
- path="templates/vpe-templates-adf.xml"/>
- <templates
- name="HTML"
- path="templates/vpe-templates-html.xml"/>
- <templates
name="JSF Reference Implementation"
path="templates/vpe-templates-jsf.xml"/>
- <templates
- name="JSP Tags"
- path="templates/vpe-templates-jsp.xml"/>
- </extension>
+ </extension -->
<extension
point="org.jboss.tools.common.model.resourceMapping">
<mapping
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/HtmlBodyTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/HtmlBodyTemplate.java 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/HtmlBodyTemplate.java 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,123 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.vpe.editor.template;
-
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMNamedNodeMap;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.mozilla.xpcom.XPCOMException;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- *
- * @author ezheleznyakov(a)exadel.com
- *
- */
-public class HtmlBodyTemplate extends VpeAbstractTemplate {
-
- private nsIDOMElement bodyOld;
- private static String STYLE_FOR_DIV = "";
- private static String ID = "id";
-
- /**
- *
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
- nsIDOMDocument visualDocument) {
-
- goToTree(visualDocument.getChildNodes().item(0));
-
- nsIDOMNamedNodeMap attrsMap = bodyOld.getAttributes();
- long len = attrsMap.getLength();
- int j = 0;
- for (int i = 0; i < len; i++) {
- nsIDOMNode attr = attrsMap.item(j);
- if (ID.equalsIgnoreCase(attr.getNodeName())) {
- j++;
- continue;
- }
- bodyOld.removeAttribute(attr.getNodeName());
- }
-
- for (int i = 0; i < sourceNode.getAttributes().getLength(); i++) {
- String name = sourceNode.getAttributes().item(i).getNodeName();
- if(ID.equalsIgnoreCase(name))
- continue;
- String value = sourceNode.getAttributes().item(i).getNodeValue();
- // all full path for 'url'
- if (VpeStyleUtil.ATTRIBUTE_STYLE.equalsIgnoreCase(name))
- value = VpeStyleUtil.addFullPathIntoURLValue(value, pageContext
- .getEditPart().getEditorInput());
- if (VpeStyleUtil.PARAMETR_BACKGROND.equalsIgnoreCase(name))
- value = VpeStyleUtil.addFullPathIntoBackgroundValue(value,
- pageContext.getEditPart().getEditorInput());
- //FIX FOR JBIDE-1568, added by Max Areshkau
- try{
- bodyOld.setAttribute(name, value);
- }catch(XPCOMException ex ) {
- //jsut ignore it
- }
-
- }
-
- nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
- div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
-
- return new VpeCreationData(div);
- }
-
- /**
- *
- * @param node
- */
- private void goToTree(nsIDOMNode node) {
-
- for (int i = 0; i < node.getChildNodes().getLength(); i++)
- if (HTML.TAG_BODY.equalsIgnoreCase(node.getChildNodes().item(i)
- .getNodeName()))
- bodyOld = (nsIDOMElement) node.getChildNodes().item(i)
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
- else
- goToTree(node.getChildNodes().item(i));
- }
-
- /**
- * Checks, whether it is necessary to re-create an element at change of
- * attribute
- *
- * @param pageContext
- * Contains the information on edited page.
- * @param sourceElement
- * The current element of the source tree.
- * @param visualDocument
- * The document of the visual tree.
- * @param visualNode
- * The current node of the visual tree.
- * @param data
- * The arbitrary data, built by a method <code>create</code>
- * @param name
- * Attribute name
- * @param value
- * Attribute value
- * @return <code>true</code> if it is required to re-create an element at
- * a modification of attribute, <code>false</code> otherwise.
- */
- public boolean isRecreateAtAttrChange(VpePageContext pageContext,
- Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMElement visualNode, Object data, String name, String value) {
- return true;
- }
-}
\ No newline at end of file
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfRadioSelectItemTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfRadioSelectItemTemplate.java 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfRadioSelectItemTemplate.java 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,160 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2007 Red Hat, Inc.
-* Distributed under license by Red Hat, Inc. All rights reserved.
-* This program is made available under the terms of the
-* Eclipse Public License v1.0 which accompanies this distribution,
-* and is available at http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* Red Hat, Inc. - initial API and implementation
-******************************************************************************/
-package org.jboss.tools.vpe.editor.template;
-
-import org.eclipse.wst.xml.core.internal.document.ElementImpl;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMText;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-/**
- * @author sdzmitrovich
- *
- * template for radio select item
- *
- */
-public class JsfRadioSelectItemTemplate extends VpeAbstractTemplate {
-
- // type of input tag
- private static final String ATTR_TYPE_VALUE = "radio";
-
- // common part of the name of element
- private static final String ATTR_NAME_VALUE = "radio_name_";
-
- // name of attribute which need represent
- private static final String ITEM_LABEL_ATTR = "itemLabel";
-
- // style of span
- private static final String SPAN_STYLE_VALUE = "-moz-user-modify: read-write;";
-
- /**
- *
- */
- public JsfRadioSelectItemTemplate() {
-
- // TODO Auto-generated constructor stub
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
- * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
- nsIDOMDocument visualDocument) {
-
- // create span element
- nsIDOMElement span = visualDocument.createElement(HTML.TAG_SPAN);
- // add title attribute to span
- span.setAttribute(HTML.ATTR_TITLE, getTitle(sourceNode));
- span.setAttribute(HTML.ATTR_STYLE, SPAN_STYLE_VALUE);
-
- // create radio element
- nsIDOMElement radio = visualDocument.createElement(HTML.TAG_INPUT);
- radio.setAttribute(HTML.ATTR_TYPE, ATTR_TYPE_VALUE);
-
- // set title
- radio.setAttribute(HTML.ATTR_TITLE, getTitle(sourceNode));
-
- // set name
- radio.setAttribute(HTML.ATTR_NAME, ATTR_NAME_VALUE
- + getNameSuffix(sourceNode));
-
- // add radio to span
- span.appendChild(radio);
-
- // get label for element
- String label = getLabel(sourceNode);
-
- // label exist
- if (null != label) {
- // add label to span
- nsIDOMText text = visualDocument.createTextNode(label);
- span.appendChild(text);
- }
-
- return new VpeCreationData(span);
- }
-
- /**
- * generate title of element
- *
- * @param sourceNode
- * @return
- */
- private String getTitle(Node sourceNode) {
-
- String tagString = " <" + sourceNode.getNodeName();
- NamedNodeMap attrs = sourceNode.getAttributes();
- if (attrs != null) {
- tagString += attrs.getLength() > 0 ? " " : "";
- for (int i = 0; i < attrs.getLength(); i++) {
- Node attr = attrs.item(i);
- tagString += attr.getNodeName() + "=\"" + attr.getNodeValue()
- + "\"" + (i < (attrs.getLength() - 1) ? " " : "");
- }
- }
- tagString += (sourceNode.hasChildNodes() ? "" : "/") + "> ";
-
- return tagString;
- }
-
- /**
- * get Label of element
- *
- * @param sourceNode
- * @return
- */
- private String getLabel(Node sourceNode) {
-
- // get value of "itemLabeL" from jsf tag
- Node attrNode = sourceNode.getAttributes()
- .getNamedItem(ITEM_LABEL_ATTR);
-
- // if attribute exist return value
- if (attrNode != null)
- return attrNode.getNodeValue();
-
- return null;
- }
-
- /**
- * generate unique suffix of name for radio as unique suffix use start
- * position of parent tag ( "h:selectOneRadio" or "x:selectOneRadio")
- *
- * @param sourceNode
- * @return
- */
- private String getNameSuffix(Node sourceNode) {
-
- String name_suffix = "";
-
- // get parent element
- Node parent = sourceNode.getParentNode();
-
- if (parent.getNodeType() == Node.ELEMENT_NODE) {
-
- ElementImpl element = (ElementImpl) parent;
-
- // get start position of parent
- name_suffix = String.valueOf(element.getStartOffset());
- }
-
- return name_suffix;
-
- }
-
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectManyListbox.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectManyListbox.java 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectManyListbox.java 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,153 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2007 Red Hat, Inc.
-* Distributed under license by Red Hat, Inc. All rights reserved.
-* This program is made available under the terms of the
-* Eclipse Public License v1.0 which accompanies this distribution,
-* and is available at http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* Red Hat, Inc. - initial API and implementation
-******************************************************************************/
-package org.jboss.tools.vpe.editor.template;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * @author Sergey Dzmitrovich
- *
- * template for selectOneListbox select item
- *
- */
-public class JsfSelectManyListbox extends VpeAbstractTemplate {
-
- /**
- * "size" attribute
- */
- private static final String ATTR_SIZE = "size";
-
- /**
- * "size" attribute
- */
- private static final String ATTR_MULTIPLE_VALUE = "multiple";
- /**
- * list of visible children
- */
- private static List<String> CHILDREN_LIST = new ArrayList<String>();
-
- static {
- CHILDREN_LIST.add("selectItem");
- CHILDREN_LIST.add("selectItems");
- }
-
- /**
- * list of copied attributes
- */
- private static List<String> ATTR_LIST_COPY = new ArrayList<String>();
-
- static {
- ATTR_LIST_COPY.add("style");
- ATTR_LIST_COPY.add("styleClass");
- }
-
- /**
- *
- */
- public JsfSelectManyListbox() {
-
- // TODO Auto-generated constructor stub
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
- * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
- nsIDOMDocument visualDocument) {
-
- // create select element
- nsIDOMElement select = visualDocument.createElement(HTML.TAG_SELECT);
-
- Element element = (Element) sourceNode;
-
- // import attributes from source
- for (String attributeName : ATTR_LIST_COPY) {
-
- // get attribute
- String attr = element.getAttribute(attributeName);
-
- // add attribute to "select"
- if (attr != null)
- select.setAttribute(HTML.ATTR_STYLE, attr);
-
- }
-
- // set "multiple" attribute
- select.setAttribute(HTML.ATTR_MULTIPLE, ATTR_MULTIPLE_VALUE);
-
- // get "size" attribute
- String size = element.getAttribute(ATTR_SIZE);
-
- // add "size" attribute to "select"
- if (size != null)
- // if source has "size" attribute import it
- select.setAttribute(HTML.ATTR_SIZE, size);
- else
- // count size
- select.setAttribute(HTML.ATTR_SIZE, String
- .valueOf(countSize(element)));
-
- return new VpeCreationData(select);
- }
-
- /**
- * Count size for "select" (size = number of "selectItem" and "selectItems"
- * children )
- *
- *
- * @param sourceNode
- * @return size of select (1 or more)
- */
- private int countSize(Node sourceNode) {
-
- NodeList children = sourceNode.getChildNodes();
- int size = 0;
- for (int i = 0; i < children.getLength(); i++) {
-
- Node child = children.item(i);
- // if children is one of visible items
- if (CHILDREN_LIST.contains(child.getLocalName()))
- size++;
- }
- // if 'size' == 0 return 1 else 'size'
- return size == 0 ? 1 : size;
-
- }
-
- /**
- *
- */
- public void removeAttribute(VpePageContext pageContext,
- Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMNode visualNode, Object data, String name) {
-
- // get DOMElement(root element is select)
- nsIDOMElement select = (nsIDOMElement) visualNode
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
-
- // remove attribute
- select.removeAttribute(name);
- }
-
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectOneListbox.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectOneListbox.java 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/JsfSelectOneListbox.java 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,145 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2007 Red Hat, Inc.
-* Distributed under license by Red Hat, Inc. All rights reserved.
-* This program is made available under the terms of the
-* Eclipse Public License v1.0 which accompanies this distribution,
-* and is available at http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* Red Hat, Inc. - initial API and implementation
-******************************************************************************/
-package org.jboss.tools.vpe.editor.template;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * @author Sergey Dzmitrovich
- *
- * template for selectOneListbox select item
- *
- */
-public class JsfSelectOneListbox extends VpeAbstractTemplate {
-
- /**
- * "size" attribute
- */
- private static final String ATTR_SIZE = "size";
-
- /**
- * list of visible children
- */
- private static List<String> CHILDREN_LIST = new ArrayList<String>();
-
- static {
- CHILDREN_LIST.add("selectItem");
- CHILDREN_LIST.add("selectItems");
- }
-
- /**
- * list of copied attributes
- */
- private static List<String> ATTR_LIST_COPY = new ArrayList<String>();
-
- static {
- ATTR_LIST_COPY.add("style");
- ATTR_LIST_COPY.add("styleClass");
- }
-
- /**
- *
- */
- public JsfSelectOneListbox() {
-
- // TODO Auto-generated constructor stub
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
- * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
- nsIDOMDocument visualDocument) {
-
- // create select element
- nsIDOMElement select = visualDocument.createElement(HTML.TAG_SELECT);
-
- Element element = (Element) sourceNode;
-
- // import attributes from source
- for (String attributeName : ATTR_LIST_COPY) {
-
- // get attribute
- String attr = element.getAttribute(attributeName);
-
- // add attribute to "select"
- if (attr != null)
- select.setAttribute(HTML.ATTR_STYLE, attr);
-
- }
-
- // get "size" attribute
- String size = element.getAttribute(ATTR_SIZE);
-
- // add "size" attribute to "select"
- if (size != null)
- // if source has "size" attribute import it
- select.setAttribute(HTML.ATTR_SIZE, size);
- else
- // count size
- select.setAttribute(HTML.ATTR_SIZE, String
- .valueOf(countSize(element)));
-
- return new VpeCreationData(select);
- }
-
- /**
- * Count size for "select" (size = number of "selectItem" and "selectItems"
- * children )
- *
- *
- * @param sourceNode
- * @return size of select (1 or more)
- */
- private int countSize(Node sourceNode) {
-
- NodeList children = sourceNode.getChildNodes();
- int size = 0;
- for (int i = 0; i < children.getLength(); i++) {
-
- Node child = children.item(i);
- // if children is one of visible items
- if (CHILDREN_LIST.contains(child.getLocalName()))
- size++;
- }
- // if 'size' == 0 return 1 else 'size'
- return size == 0 ? 1 : size;
-
- }
-
- /**
- *
- */
- public void removeAttribute(VpePageContext pageContext,
- Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMNode visualNode, Object data, String name) {
-
- // get DOMElement(root element is select)
- nsIDOMElement select = (nsIDOMElement) visualNode
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
-
- // remove attribute
- select.removeAttribute(name);
- }
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-adf.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-adf.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-adf.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,1572 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<vpe:templates>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA10/html" prefix="afh"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA10" prefix="af"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA11/html" prefix="afh"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA11" prefix="af"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA12/html" prefix="afh"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA12" prefix="af"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA13/html" prefix="afh"/>
- <vpe:template-taglib uri="http://xmlns.oracle.com/adf/faces/EA13" prefix="af"/>
-
- <vpe:tag name="afh:html" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:head" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <div style="display:none;"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:script" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="afh:body" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div style="width : 100%; height : 100%; {@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:frameBorderLayout" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="height:{@height};width:{@width};{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:frame" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div class="{@styleClass}" style="height:{@height};width:{@width};{@inlineStyle};background-color:#FFFF00;cursor:pointer;padding:0 5px;margin:3px 0;font-style:italic;color:#999999;" title="{tagstring()}">
- name="<vpe:value expr="{jsfvalue(@name)}"/>", source="<vpe:value expr="{jsfvalue(@source)}"/>"
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:cellFormat" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <td height="{@height}" align="{@halign}" valign="{iif(attrpresent('valign'),@valign,'middle')}" style="{@inlineStyle}"
- class="{@styleClass}" width="{@width}" rowspan="{@rowSpan}" colspan="{@columnSpan}" nowrap="{@wrappingDisabled}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:rowLayout" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <tr height="{@height}" align="{@halign}" style="{@inlineStyle}"
- class="{@styleClass}" width="{@width}" valign="{@valign}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="afh:tableLayout" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <table border="{@borderWidth}" cellpadding="{@cellPadding}"
- cellspacing="{@cellSpacing}" align="{@halign}" style="{@inlineStyle}"
- class="{@styleClass}" width="{@width}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:form" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="margin:10px;-moz-outline:dotted;-moz-outline-width:1px;-moz-outline-color:#FF6600;"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelPage" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}">
- <h2 style="display:inline;"><vpe:value expr="{jsfvalue(@title)}"/></h2>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelHeader" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="attrpresent('icon')">
- <vpe:template children="yes" modify="no">
- <div class="{@styleClass}" style="padding-right: 10px; position : relative; left : 10px ; {@inlineStyle}" title="{tagstring()}">
- <img src="{src(@icon)}"/>
- <h3 style="display : inline; "><vpe:value expr="{' ' + jsfvalue(@text)}"/></h3>
- <hr/>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div class="{@styleClass}" style="padding-right: 10px; position : relative; left : 10px ; {@inlineStyle}" title="{tagstring()}">
- <h3><vpe:value expr="{jsfvalue(@text)}"/></h3>
- <hr/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelGroup" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@type='horizontal' | @type='vertical'">
- <vpe:template children="yes" modify="no">
- <vpe:grid border="0" layout="{iif(@type='vertical','pageDirection','lineDirection')}" class="{@styleClass}" style="{@inlineStyle}"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <span class="{@styleClass}" style="{@inlineStyle}"/>
- </vpe:template>
-
- </vpe:tag>
-
- <vpe:tag name="af:outputText" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <span class="{@styleClass}" style="{@inlineStyle}" title="{tagstring()}"><vpe:value expr="{jsfvalue(@value)}"/></span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:commandLink" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div class="{@styleClass}" style="display:inline;{iif(@disabled='true','color:gray','color:blue')};text-decoration:underline;{@inlineStyle}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:menuButtons" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:grid class="{@styleClass}" style="{@inlineStyle}" layout="lineDirection"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:outputFormatted" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:messages" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:objectSeparator" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <hr title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelList" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:list style="display:block;{@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:table">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no" case-sensitive="yes">
- <vpe:grid border="1" style="border : thin; width:{@width}; {@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:column" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@formatType='icon'">
- <vpe:template children="yes" modify="yes">
- <div nowrap="{@noWrap}" style="text-align:center; width : {@width};{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@formatType='number'">
- <vpe:template children="yes" modify="yes">
- <div nowrap="{@noWrap}" style="text-align:right; width : {@width};{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="yes" modify="yes">
- <div nowrap="{@noWrap}" style="width : {@width};{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:commandButton" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <input type="submit" value="{jsfvalue(@text)}" disabled="{iif(@disabled='true','true','')}" class="{@styleClass}" style="{@inlineStyle}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:commandGlobalButton" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="not(attrpresent('icon'))">
- <vpe:template children="no" modify="no">
- <div class="{@styleClass}" style="{iif(@disabled='true','color:gray','color:blue')};text-decoration:underline;font-size:x-small;{@inlineStyle}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div class="{@styleClass}" style="color:blue;text-decoration:underline;font-size:x-small;{@inlineStyle}" title="{tagstring()}">
- <table border="0">
- <tr align="center">
- <td><img src="{src(@icon)}" title="{tagstring()}"/></td>
- </tr>
- <tr align="center">
- <td>
- <div class="{@styleClass}" style="{iif(@disabled='true','color:gray','color:blue')};text-decoration:underline;font-size:x-small;{@inlineStyle}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:inputText" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@readOnly = 'true'">
- <vpe:template children="no" modify="yes">
- <span style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@label)} "/><b> <vpe:value expr="{jsfvalue(@value)}"/></b><br/>
- </span>
- </vpe:template>
- </vpe:if>
- <vpe:if test="not(@rows ='1') and attrpresent('rows')">
- <vpe:template children="no" modify="yes">
- <span style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)} "/>
- <textarea disabled="{iif(@disabled='true','true','')}" title="{tagstring()}" rows="{@rows}" wrap="{@wrap}"
- style="{iif(@disabled='true','background-color:lightgrey','')}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </textarea><br/>
- </span>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@secret ='true'">
- <vpe:template children="no" modify="yes">
- <span style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)} "/>
- <input type="password" value="{jsfvalue(@value)}" disabled="{iif(@disabled='true','true','')}"
- title="{tagstring()}" size="@columns" maxlength="@maximumLength" style="{iif(@disabled='true','background-color:lightgrey','')}"/><br/>
- </span>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <span style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)} "/>
- <input type="text" disabled="{iif(@disabled='true','true','')}" value="{jsfvalue(@value)}" title="{tagstring()}" size="@columns" maxlength="@maximumLength"
- style="{iif(@disabled='true','background-color:lightgrey','')}"/><br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectInputColor" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <span style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@label)} "/><input type="text" value="{jsfvalue(@value)}" disabled="{iif(@disabled='true','true','')}" style="{iif(@disabled='true','background-color:lightgrey','')}"/><br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:chooseColor" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/chooseColor.jpg')}" alt="{tagstring()}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:chooseDate" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/chooseDate.jpg')}" alt="{tagstring()}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectInputDate" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <span title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}">
- <vpe:value expr="{jsfvalue(@label)}"/>
- <input type="text" size="12" title="{tagstring()}" disabled="{iif(@disabled='true','true','')}" style="{iif(@disabled='true','background-color:lightgrey','')}"/>
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/selectInputDate.jpg')}" alt="{tagstring()}"/><br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
-
- <!-- TODO
-
- af:menuChoice Should look like:
-
- <table border="0">
- <td>
- <div style="font-size:x-small;{@inlineStyle}" class="{@styleClass}">
- Switch<br/>between<br/>applications
- </div>
- <td>
- <select/>
- </td>
- <td>
- <input type="submit" value="Begin"/>
- </td>
- </table>
-
- -->
- <vpe:tag name="af:menuChoice" case-sensitive="yes">
- <vpe:if test="(@rendered='false') | (@readOnly = 'true')">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <select style="{iif(@disabled='true','background-color:lightgrey;','')}{@inlineStyle}" disabled="{iif(@disabled='true','true','')}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <!--
- TODO
-
- should contain small sized "Switch between apllications" text to the left and "Begin" button to the right
-
- -->
- <vpe:tag name="af:commandOption" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@selected='true'">
- <vpe:template children="no" modify="no">
- <option selected="true" value="{jsfvalue(@action)}" style="{@inlineStyle}" class="{@styleClass}"><vpe:value expr="{jsfvalue(@text)}"/></option>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <option value="{jsfvalue(@action)}" style="{@inlineStyle}" class="{@styleClass}"><vpe:value expr="{jsfvalue(@text)}"/></option>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:goButton" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <input type="submit" disabled="{iif(@disabled='true','true','')}" value="{jsfvalue(@text)}" title="{tagstring()}" style="{iif(@disabled='true','background-color:lightgrey;','')}{@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:goLink" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div class="{@styleClass}" style="display:inline;{iif(@disabled='true','color:gray','color:blue')};text-decoration:underline;{@inlineStyle}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:inputFile" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <span class="{@styleClass}" style="{@inlineStyle}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@label)} "/><input type="text" value="{jsfvalue(@value)}" disabled="{iif(@disabled='true','true','')}" style="{iif(@disabled='true','background-color:lightgrey','')}"/>
- <input type="submit" value="Browse" disabled="{iif(@disabled='true','true','')}"/>
- <br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:inputHidden" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <input type="text" value="{jsfvalue(@value)}" style="border-style:dotted;"/>
- <!--span class="__input__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:menuBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:grid class="{@styleClass}" rules="cols" cellpadding="5" bgcolor="#F7F7FF" style="border: 1px dotted; {@inlineStyle}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:menuTabs" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:grid class="{@styleClass}" rules="cols" cellpadding="5" bgcolor="#F7F7FF" style="border: 1px dotted; {@inlineStyle}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:showOneTabs" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:grid class="{@styleClass}" rules="cols" cellpadding="5" bgcolor="#F7F7FF" style="border: 1px dotted; {@inlineStyle}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:menuPath" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <vpe:grid layout="{iif(@orientation='vertical','pageDirection','lineDirection')}" class="{@styleClass}" rules="all" cellpadding="5" bgcolor="#F7F7FF" style="border: 1px dotted; {@inlineStyle}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:outputLabel" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <span style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:message" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:objectSpacer" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/pixel.gif')}" width="{@width}" height="{@height}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelBorder" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelBox" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="attrpresent('icon')">
- <vpe:template children="yes" modify="no">
- <div style="border: 1px dashed #CF9090; padding : 3px; width : {@width}; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <img src="{src(@icon)}"/><h4 style="display : inline"><vpe:value expr="{jsfvalue(@text)}"/></h4>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="border: 1px dashed #CF9090; padding : 3px; width : {@width}; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <h4 style="display : inline"><vpe:value expr="{jsfvalue(@text)}"/></h4>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelButtonBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:singleStepButtonBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="attrpresent('text')">
- <vpe:template children="no" modify="no">
- <div style="display : inline; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <span style="color:blue;text-decoration:underline;font-size:small;">
- << Step backward</span>
- <!-- TODO JSFSTUD-444 bug
- use expr="{@text} " instead -->
- | <vpe:value expr="{jsfvalue(@text) + ' '}"/> <vpe:value expr="{jsfvalue(@selectedStep)}"/> of <vpe:value expr="{jsfvalue(@maxStep)}"/> |
- <span style="color:blue;text-decoration:underline;font-size:small;">
- Step forward >>
- </span>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div style="display : inline; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <span style="color:blue;text-decoration:underline;font-size:small;">
- <<Step backward
- </span>
- | Step <vpe:value expr="{jsfvalue(@selectedStep)}"/> of <vpe:value expr="{jsfvalue(@maxStep)}"/> |
- <span style="color:blue;text-decoration:underline;font-size:small;">
- Step forward>>
- </span>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelForm" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="border: 1px dashed #CF9090; padding : 3px; width : {@width}; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:panelLabelAndMessage" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div title="{tagstring()}" valign="{@valign}" style="{@inlineStyle}" class="{@contentStyleClass}{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectOneRadio" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="yes" modify="yes">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectItem" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('af:selectOneRadio')">
- <vpe:template children="yes" modify="yes">
- <span title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <input type="radio" disabled="{iif(@disabled='true','true','')}" style="{iif(@disabled='true','background-color:lightgrey','')}" name="_radio"/><vpe:value expr="{jsfvalue(@label)}"/>
- <br/>
- </span>
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('af:selectOneChoice')|hasinparents('af:selectManyListbox')|hasinparents('af:selectOneListbox')">
- <vpe:template children="yes" modify="yes">
- <option style="{@inlineStyle}" disabled="{iif(@disabled='true','true','')}" class="{@styleClass}"><vpe:value expr="{jsfvalue(@label)}"/></option>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:resetButton" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <input type="reset" disabled="{iif(@disabled='true','true','')}" value="{jsfvalue(@text)}" style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectBooleanRadio" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)}"/><input disabled="{iif(@disabled='true','true','')}" type="radio" style="{iif(@disabled='true','background-color:lightgrey','')}" checked="{@selected}" name="{@group}"/><vpe:value expr="{jsfvalue(@text)}"/>
- <br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectBooleanCheckbox" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <span title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@label)}"/><input disabled="{iif(@disabled='true','true','')}" style="{iif(@disabled='true','background-color:lightgrey','')}" type="checkbox"/><vpe:value expr="{jsfvalue(@text)}"/>
- <br/>
- </span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelSideBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div style="width:{@width};{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelPageHeader" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelPartialRoot" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:objectImage" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <img src="{src(@source)}" width="{@width}" height="{@height}" border="{@borderWidth}" align="{@halign}"
- alt="{@shortDesc}" style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:objectLegend" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@name = 'required'">
- <vpe:template children="no" modify="no">
- <div style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">* Required</div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div style="display : hidden"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:panelTip" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="display:inline;font-weight:bold;{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">Advice:</div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:process" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:processChoiceBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div style="display : inline; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <input type="submit" style="display : inline;" value="<< back"/>
- <!-- TODO JSFSTUD-444 bug
- use expr="{@text} " instead -->
- | <select><option><vpe:value expr="{jsfvalue(@value)}"/></option></select> |
- <input type="submit" style="display : inline;" value="forward >>"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:processTrain" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@subTrain='true'">
- <vpe:if test="@readOnly='true'">
- <vpe:template children="no" modify="no">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="right" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- ...
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 2
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 3
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
-
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 4
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- ...
- </td>
- </tr>
- </table>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="right" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- ...
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <a href="#" style="color : #CFA800;">Station 2</a>
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 3
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
-
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <a href="#" style="color : #CFA800;">Station 4</a>
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- ...
- </td>
- </tr>
- </table>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@readOnly='true'">
- <vpe:template children="no" modify="no">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="right" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- Station 1
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 2
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 3
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
-
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 4
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" align="center" style="font-family : Arial;font-size : 10px;">
- Station 5
- </td>
- </tr>
- </table>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="right" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="prev_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="current_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="spacer.gif" width="15" height="1" alt="" border="0"/><br/>
- </td>
-
- <td align="right" background="line.gif" style="font-family : Arial;font-size : 10px;">
- <img src="next_left.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- <td align="left" style="font-family : Arial;font-size : 10px;">
- <img src="next_right.gif" width="9" height="18" alt="" border="0"/><br/>
- </td>
- </tr>
- <tr>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <vpe:value expr="{iif(@subTrain='true','...','Station 1')}"/>
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <a href="#" style="color : #CFA800;">Station 2</a>
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- Station 3
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
-
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <a href="#" style="color : #CFA800;">Station 4</a>
- </td>
- <td style="font-family : Arial;font-size : 10px;">
- <br/>
- </td>
- <td colspan="2" style="font-family : Arial;font-size : 10px;">
- <vpe:value expr="{iif(@subTrain='true','...','Station 5')}"/>
- </td>
- </tr>
- </table>
- </vpe:template>
- </vpe:tag>
-
-
- <!--
- TODO label support required
- <div>
- <vpe:value expr="{jsfvalue(@label)}"/>
- <select title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}"/>
- </div>
-
- <div>
- <vpe:value expr="{jsfvalue(@label)}"/>
- <select title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}" size="" multiple="true"/>
- </div>
- -->
-
- <vpe:tag name="af:selectOneChoice" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="yes" modify="no">
- <select disabled="{iif(@disabled='true','true','')}" title="{tagstring()}" class="{@styleClass}" style="{iif(@disabled='true','background-color:lightgrey;','')}{@inlineStyle}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:selectManyListbox" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <select disabled="{iif(@disabled='true','true','')}" title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}" size="{@size}" multiple="true"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectOneListbox" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
-
- <vpe:template children="yes" modify="no">
- <select disabled="{iif(@disabled='true','true','')}" title="{tagstring()}" class="{@styleClass}" style="{@inlineStyle}" size="{@size}" multiple="false"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectManyShuttle" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="no" modify="no">
- <table title="{tagstring()}" class="{@styleClass}" style="border: 1px dashed #90C090;padding:3px;{@inlineStyle}">
- <td align="center"><span style="font-size : small;"><vpe:value expr="{iif(@leadingHeader='','Available values:',jsfvalue(@leadingHeader))}"/></span></td>
- <td></td>
- <td align="center"><span style="font-size : small;"><vpe:value expr="{iif(@trailingHeader='','Selected values:',jsfvalue(@trailingHeader))}"/></span></td>
- <tr/>
- <td valign="middle">
- <select size="10" multiple="true" style="width:130px">
- <option>First item</option>
- <option>Second item</option>
- <option>Fourth item</option>
- <option>-----------------</option>
- </select>
- </td>
- <td align="center" valign="middle" nowrap="true" style="padding:5px">
- <a href="#"><img src="csmv.gif" width="18" height="18" border="0" alt=""/></a><br/>
- <a href="#">Move</a><br/>
- <a href="#"><img src="csmvall.gif" width="18" height="18" border="0" alt=""/></a><br/>
- <a href="#">Move All</a><br/>
- <a href="#"><img src="csrmv.gif" width="18" height="18" border="0" alt=""/></a><br/>
- <a href="#">Remove</a><br/>
- <a href="#"><img src="csrmvall.gif" width="18" height="18" border="0" alt=""/></a><br/>
- <a href="#">Remove All</a>
- </td>
- <td valign="middle">
- <select size="10" multiple="true" style="width:130px">
- <option>Third item</option>
- <option>Fifth item</option>
- <option>-----------------</option>
- </select>
- </td>
- </table>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectOrderShuttle" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="yes" modify="no">
- <table title="{tagstring()}" class="{@styleClass}" style="border: 1px dashed #90C090;padding:3px;{@inlineStyle}">
- <td align="center"><span style="font-size : small;"><vpe:value expr="{iif(@leadingHeader='','Available values:',jsfvalue(@leadingHeader))}"/></span></td>
- <td></td>
- <td align="center"><span style="font-size : small;"><vpe:value expr="{iif(@trailingHeader='','Selected values:',jsfvalue(@trailingHeader))}"/></span></td>
- <tr/>
- <td valign="middle">
- <select size="6" multiple="true">
- <option>First item</option>
- <option>Second item</option>
- <option>Fourth item</option>
- <option>-----------------</option>
- </select>
- </td>
- <td valign="middle" align="center">
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value=">>" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value=">" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- --------<br/>
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value="<" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value="<<" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- </td>
- <td valign="middle">
- <select size="6" multiple="true">
- <option>Third item</option>
- <option>Fifth item</option>
- <option>-----------------</option>
- </select>
- </td>
- <td valign="middle">
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value="▲" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- <input disabled="{iif(@disabled='true','true','')}" type="submit" value="▼" style="font-size : xx-small; width : 22px; height : 22px"/><br/>
- </td>
- </table>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:setActionListener" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:selectRangeChoiceBar" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div style="display : inline; {@inlineStyle};" class="{@styleClass}" title="{tagstring()}">
- <nobr>
- <img src="ctnavpd.gif"/><span style="text-decoration:underline;padding-left:3"> Previous <vpe:value expr="{jsfvalue(@first)}"/></span>
- | <select><option><vpe:value expr="{jsfvalue(@value)}"/></option></select> |
- <span style="text-decoration:underline;padding-right:3"> Next <vpe:value expr="{jsfvalue(@rows)}"/></span><img src="ctnavnd.gif"/>
- </nobr>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:forEach" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <span style="border: 1px dashed #09CF09; padding : 3px;" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="af:styleSheet" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:showDetail" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@disclosed = 'true'">
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/showDetail_discl.gif')}" alt="{tagstring()}"/>
- <span style="font-size:small"><vpe:value expr="{iif(@disclosedText='',' Hide ',jsfvalue(@disclosedText))}"/></span>
- <br/>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/showDetail_undiscl.gif')}" alt="{tagstring()}"/>
- <span style="font-size:small"><vpe:value expr="{iif(@undisclosedText='',' Show ',jsfvalue(@undisclosedText))}"/></span>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:showDetailHeader" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@disclosed = 'true'">
- <vpe:if test="attrpresent('icon')">
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <img src="{src(@icon)}" alt="{tagstring()}"/><vpe:value expr="{jsfvalue(@text)}"/>
- <hr/>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- <hr/>
- </div>
- </vpe:template>
- </vpe:if>
-
- <vpe:if test="attrpresent('icon')">
- <vpe:template children="no" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <img src="{src(@icon)}" alt="{tagstring()}"/><vpe:value expr="{jsfvalue(@text)}"/>
- <hr/>
- </div>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <vpe:value expr="{jsfvalue(@text)}"/>
- <hr/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:showDetailItem" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
-
- <vpe:if test="@disclosed = 'true'">
- <vpe:template children="yes" modify="yes">
- <div title="{tagstring()}" style="{iif(@disabled='true','color:gray;','')}{@inlineStyle}" class="{@styleClass}">
- <h4 style="background-color : #FFFFFF; padding : 3px; border : 1px solid #000080"><vpe:value expr="{jsfvalue(@text)}"/></h4>
- </div>
- </vpe:template>
- </vpe:if>
-
- <vpe:template children="no" modify="yes">
- <div title="{tagstring()}" style="{iif(@disabled='true','color:gray;','')}{@inlineStyle}" class="{@styleClass}">
- <h4 style="background-color : #FFFFF0; padding : 3px; border : 1px solid #DEB887; color : #8B4513"><vpe:value expr="{jsfvalue(@text)}"/></h4>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:objectMedia" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/objectMedia.jpg')}" title="{tagstring()}" height="{@height}" width="{@width}" style="{@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:tree" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/tree.jpg')}" title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:treeTable" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <img src="{src('./plugins/org.jboss.tools.vpe/images/ADF_Faces/treeTable.jpg')}" width="{@width}" title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:objectIcon" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <span style="{@inlineStyle}" class="{@styleClass}" title="{tagstring()}">*</span>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:sortableHeader" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div style="font-weight : bold; {@inlineStyle}" class="{@styleClass}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@text)}"/> <span style="font-weight : normal;"> ↕</span>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:tableSelectMany" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <input type="checkbox"/> <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:tableSelectOne" case-sensitive="yes">
- <vpe:if test="@rendered='false'">
- <vpe:template children="no" modify="no">
- <div style="display:hidden;"/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="no">
- <div title="{tagstring()}" style="{@inlineStyle}" class="{@styleClass}">
- <input type="radio"/> <vpe:value expr="{jsfvalue(@text)}"/>
- </div>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="af:convertColor" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:importScript" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:switcher" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:validateByteLength" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
- <vpe:tag name="af:validateDateTimeRange" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="af:validateRegExp" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
-<!--
- <vpe:tag name="" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- </vpe:template>
- </vpe:tag>
--->
-
-</vpe:templates>
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-html.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-html.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,2784 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<vpe:templates>
- <vpe:tag name="a" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class">
- <vpe:attribute name="href" value="javascript:return false;"/>
- </vpe:copy>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="abbr" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="acronym" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="address" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow"
- addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="applet" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <img src="/applet.gif" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="area" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <!--vpe:copy attrs="style,class,shape,coords"/-->
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="b" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="base" case-sensitive="no">
- <vpe:template children="yes" modify="no"></vpe:template>
- </vpe:tag>
-
- <vpe:tag name="basefont" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,size,color,face" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="bdo" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,dir,lang" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="bgsound" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <img src="/bgsound.gif" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="big" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="blockquote" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="blink" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="body" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.vpe.editor.template.HtmlBodyTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"></vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="br" case-sensitive="no">
- <vpe:template children="no" modify="yes">
- <vpe:copy attrs="id,style,class,clear" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="button" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,value">
- <!--vpe:attribute name="disabled" value="on"/-->
- </vpe:copy>
- <!--span class="__button__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- <vpe:container-child tag-name="abbr" />
- <vpe:container-child tag-name="acronym" />
- <vpe:container-child tag-name="address" />
- <vpe:container-child tag-name="applet" />
- <vpe:container-child tag-name="b" />
- <vpe:container-child tag-name="basefont" />
- <vpe:container-child tag-name="bdo" />
- <vpe:container-child tag-name="bgsound" />
- <vpe:container-child tag-name="big" />
- <vpe:container-child tag-name="blink" />
- <vpe:container-child tag-name="blockquote" />
- <vpe:container-child tag-name="br" />
- <vpe:container-child tag-name="center" />
- <vpe:container-child tag-name="cite" />
- <vpe:container-child tag-name="code" />
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="dfn" />
- <vpe:container-child tag-name="dl" />
- <vpe:container-child tag-name="em" />
- <vpe:container-child tag-name="embed" />
- <vpe:container-child tag-name="font" />
- <vpe:container-child tag-name="h1" />
- <vpe:container-child tag-name="h2" />
- <vpe:container-child tag-name="h3" />
- <vpe:container-child tag-name="h4" />
- <vpe:container-child tag-name="h5" />
- <vpe:container-child tag-name="h6" />
- <vpe:container-child tag-name="hr" />
- <vpe:container-child tag-name="i" />
- <vpe:container-child tag-name="img" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="kbd" />
- <vpe:container-child tag-name="map" />
- <vpe:container-child tag-name="marquee" />
- <vpe:container-child tag-name="menu" />
- <vpe:container-child tag-name="nobr" />
- <vpe:container-child tag-name="noframes" />
- <vpe:container-child tag-name="noscript" />
- <vpe:container-child tag-name="object" />
- <vpe:container-child tag-name="ol" />
- <vpe:container-child tag-name="p" />
- <vpe:container-child tag-name="pre" />
- <vpe:container-child tag-name="q" />
- <vpe:container-child tag-name="s" />
- <vpe:container-child tag-name="samp" />
- <vpe:container-child tag-name="script" />
- <vpe:container-child tag-name="small" />
- <vpe:container-child tag-name="span" />
- <vpe:container-child tag-name="strike" />
- <vpe:container-child tag-name="strong" />
- <vpe:container-child tag-name="sub" />
- <vpe:container-child tag-name="sup" />
- <vpe:container-child tag-name="table" />
- <vpe:container-child tag-name="tt" />
- <vpe:container-child tag-name="u" />
- <vpe:container-child tag-name="ul" />
- <vpe:container-child tag-name="var" />
- <vpe:container-child tag-name="wbr" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="caption" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="center" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="cite" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="code" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="col" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <vpe:copy
- attrs="style,class,span,width,align,char,charoff,valign" />
- <vpe:dnd>
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="colgroup" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,span,width,align,char,charoff,valign" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="col" />
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="dd" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="del" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="dfn" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="dir" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="div" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="dl" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny" addParent="deny"/>
- <vpe:format type="BoldFormat" addParent="deny" addChildren="deny">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="deny">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="dt" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny" addParent="deny"/>
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="em" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat" setDefault="true">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="fieldset" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="font" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,size,color,face" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="form" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <div />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="frame" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="frameset" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="h1" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h2" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h3" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h4" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h5" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h6" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="head" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <div style="display:none;" />
- <vpe:dnd>
- <vpe:drop container="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="hr" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <vpe:copy attrs="id,style,class,align,size,width" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="html" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <div/>
- <vpe:dnd>
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="i" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="iframe" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="img" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <vpe:copy
- attrs="style,class,width,height,border,hspace,vspace">
- <vpe:attribute name="src" value="{src(@src)}" />
- </vpe:copy>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="input" case-sensitive="no">
- <vpe:if test="(@type='text')">
- <vpe:template children="no" modify="no">
- <vpe:copy attrs="id,type,style,class,value,size" />
- <!--span class="__input__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@type='password'">
- <vpe:template children="no" modify="no">
- <vpe:copy attrs="id,type,style,class,value,size" />
- <!--span class="__input__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="(@type='checkbox')|(@type='radio')">
- <vpe:template children="no" modify="no">
- <vpe:copy attrs="id,style,class,type,checked">
- <!--vpe:attribute name="disabled" value="disabled"/-->
- </vpe:copy>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- <vpe:if test="(@type='submit')|(@type='button')">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,value,style,class" />
- <!--span class="__button__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@type='reset'">
- <vpe:if test="@value=''">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,checked,class,style">
- <vpe:attribute name="value" value="Reset" />
- </vpe:copy>
- <!--span class="__button__tag" style="{@style}">
- <nobr><vpe:value expr="Reset"/></nobr>
- </span-->
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="not(@value='')">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,checked,value,class,style" />
- <!--span class="__button__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- </vpe:if>
- <vpe:if test="@type='file'">
- <vpe:template children="no" modify="no">
- <input type="file" value="{@value}"
- class="{@styleClass}" style="{@style}" size="{@size}" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- <vpe:if test="@type='hidden'">
- <vpe:template children="no" modify="no">
- <!--input type="text" value="{@value}" class="{@class}" size="{@size}" style="{@style}border-style:dotted;"/-->
- <!--span class="__input__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- </vpe:template>
- </vpe:if>
- <vpe:if test="@type='image'">
- <vpe:template children="no" modify="no">
- <img src="{@src}" width="20" height="20" />
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <vpe:copy attrs="id,type,style,class,value,size" />
- <!--span class="__input__tag" style="{@style}">
- <nobr><vpe:value expr="{@value}"/></nobr>
- </span-->
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="ins" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
-
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="isindex" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,prompt" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="kbd" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="label" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,for" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- <vpe:container-child tag-name="a" />
- <vpe:container-child tag-name="abbr" />
- <vpe:container-child tag-name="acronym" />
- <vpe:container-child tag-name="applet" />
- <vpe:container-child tag-name="b" />
- <vpe:container-child tag-name="baseform" />
- <vpe:container-child tag-name="bdo" />
- <vpe:container-child tag-name="bgsound" />
- <vpe:container-child tag-name="big" />
- <vpe:container-child tag-name="blink" />
- <vpe:container-child tag-name="br" />
- <vpe:container-child tag-name="button" />
- <vpe:container-child tag-name="cite" />
- <vpe:container-child tag-name="code" />
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="dfn" />
- <vpe:container-child tag-name="em" />
- <vpe:container-child tag-name="embed" />
- <vpe:container-child tag-name="font" />
- <vpe:container-child tag-name="i" />
- <vpe:container-child tag-name="iframe" />
- <vpe:container-child tag-name="img" />
- <vpe:container-child tag-name="input" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="kbd" />
- <vpe:container-child tag-name="map" />
- <vpe:container-child tag-name="marguee" />
- <vpe:container-child tag-name="nobr" />
- <vpe:container-child tag-name="object" />
- <vpe:container-child tag-name="q" />
- <vpe:container-child tag-name="s" />
- <vpe:container-child tag-name="samp" />
- <vpe:container-child tag-name="script" />
- <vpe:container-child tag-name="select" />
- <vpe:container-child tag-name="small" />
- <vpe:container-child tag-name="span" />
- <vpe:container-child tag-name="strike" />
- <vpe:container-child tag-name="strong" />
- <vpe:container-child tag-name="sub" />
- <vpe:container-child tag-name="sup" />
- <vpe:container-child tag-name="textarea" />
- <vpe:container-child tag-name="tt" />
- <vpe:container-child tag-name="u" />
- <vpe:container-child tag-name="var" />
- <vpe:container-child tag-name="wbr" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="legend" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="li" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,type,value" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="link" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <vpe:link rel="{@rel}" href="{href(@href)}" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="map" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,name" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="menu" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="meta" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="nobr" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="noframes" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="noscript" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="object" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="ol" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,type,start" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="li" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="optgroup" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,label" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="option" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="option" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,value,label" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="p" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <!-- vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format -->
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="param" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="pre" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,width" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny" addParent = "deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addParent="deny" addChildren= "allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="q" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="s" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="samp" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="script" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="select" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,size" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="optgroup" />
- <vpe:container-child tag-name="option" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="small" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="span" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="strike" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="strong" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="style" case-sensitive="no">
- <vpe:template children="no" modify="no">
- <vpe:style />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="sub" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="sup" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="table" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,width,border,frame,rules,cellspacing,cellpadding,align,bgcolor,background" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="caption" />
- <vpe:container-child tag-name="col" />
- <vpe:container-child tag-name="colgroup" />
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="tbody" />
- <vpe:container-child tag-name="tfoot" />
- <vpe:container-child tag-name="thead" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="tbody" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="tr" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="td" case-sensitive="no">
- <vpe:if test="attrpresent('background')">
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor">
- <vpe:attribute name="background"
- value="{src(@background)}" />
- </vpe:copy>
- <vpe:resize>
- <vpe:width width-attr="width"
- disable-absolute-position="yes" />
- <vpe:height height-attr="style.height"
- tag-xpath="tr" test="{hasinparents('tr')}"
- disable-absolute-position="yes" />
- <vpe:height height-attr="style.height"
- disable-absolute-position="yes" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="no" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor" />
- <vpe:resize>
- <vpe:width width-attr="width"
- disable-absolute-position="yes" />
- <vpe:height height-attr="style.height" tag-xpath="tr"
- test="{hasinparents('tr')}" disable-absolute-position="yes" />
- <vpe:height height-attr="style.height"
- disable-absolute-position="yes" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="no" />
- <vpe:drop container="yes" />
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="textarea" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,rows,cols" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="#text" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="tfoot" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="th" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat" setDefault = "true">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="thead" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="tr" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="title" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="tr" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy
- attrs="style,class,align,char,charoff,valign,bgcolor" />
- <vpe:resize>
- <vpe:width width-attr="style.width"
- disable-absolute-position="yes" />
- <vpe:height height-attr="style.height"
- disable-absolute-position="yes" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="td" />
- <vpe:container-child tag-name="th" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:breaker type="ignore" />
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="tt" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="u" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat" setDefault="true">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="ul" case-sensitive="no">
- <vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,type" />
- <vpe:dnd>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="del" />
- <vpe:container-child tag-name="ins" />
- <vpe:container-child tag-name="li" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat" >
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="var" case-sensitive="no">
- <vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class" />
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- <vpe:format type="UnderlineFormat" >
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="ItalicFormat" setDefault="true">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="#comment" case-sensitive="no">
- <vpe:template children="no" modify="yes">
- <vpe:comment />
- </vpe:template>
- </vpe:tag>
-
- <vpe:template children="yes" modify="yes">
- <vpe:any value="{name()}" title="{tagstring()}" />
- </vpe:template>
-</vpe:templates>
\ No newline at end of file
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,1203 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<vpe:templates>
- <vpe:template-taglib uri="http://java.sun.com/jsf/html" prefix="h"/>
- <vpe:template-taglib uri="http://java.sun.com/jsf/core" prefix="f"/>
-
- <vpe:tag name="f:loadBundle" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:load-bundle/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="f:verbatim" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <span title="{tagstring()}" />
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:inputText" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <input type="text" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}" size="{@size}" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:inputTextarea" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <textarea class="{@styleClass}" style="{@style}" rows="{@rows}" cols="{@cols}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </textarea>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:inputSecret" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <input type="password" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}" size="{@size}" />
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:inputHidden" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <input type="text" value="{jsfvalue(@value)}" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
-<!-- Проблема с указанием в качестве value HTML-тега (25 of 4) -->
- <vpe:tag name="h:outputText" case-sensitive="yes">
- <vpe:if test="attrpresent('value')">
- <vpe:template children="no" modify="yes">
- <span class="{@styleClass}" style="{@style}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="attrpresent('binding')">
- <vpe:template children="no" modify="yes">
- <span class="{@styleClass}" style="{@style}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@binding)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <span class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="converter" />
- <vpe:container-child tag-name="convertNumber" />
- <vpe:container-child tag-name="convertDateTime" />
- <vpe:container-child tag-name="validator" />
- <vpe:container-child tag-name="validateDoubleRange" />
- <vpe:container-child tag-name="validateLongRange" />
- <vpe:container-child tag-name="validateLength" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
-<!-- Проблема с подстановкой значений вложенных параметров (26 of 4) -->
- <vpe:tag name="h:outputFormat" case-sensitive="yes">
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}" style="{@style}" class="{@styleClass}" >
- <vpe:value expr="{jsfvalue(@value)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:graphicImage" case-sensitive="yes">
- <vpe:if test="attrpresent('value')">
- <vpe:template children="no" modify="yes">
- <img src="{src(jsfvalue(@value))}" width="{@width}" height="{@height}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
- </vpe:resize>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="yes">
- <img src="{src(jsfvalue(@url))}" width="{@width}" height="{@height}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
- </vpe:resize>
- </vpe:template>
- </vpe:tag>
-
-<!-- Проблема с адресацией от приложения (30 of 4) -->
- <vpe:tag name="h:commandButton" case-sensitive="yes">
- <vpe:if test="not(attrpresent('image'))">
- <vpe:if test="@type=''">
- <vpe:template children="no" modify="no">
- <input type="submit" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- <vpe:if test="(@type='button')|(@type='reset')|(@type='submit')">
- <vpe:template children="no" modify="no">
- <input type="{@type}" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- </vpe:if>
- <vpe:if test="attrpresent('image')">
- <vpe:template children="no" modify="no">
- <input type="image" src="{src(@image)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:if>
- </vpe:tag>
-
-<!-- Проблема с вложенным параметром (31 of 4) -->
- <vpe:tag name="h:commandLink" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <span class="{@styleClass}" style="color:blue;text-decoration:underline;{@style}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="outputText"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- <vpe:pseudoContent/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:outputLink" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <a href="javascript:return false;" class="{@styleClass}" style="{@style}"/>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat" setDefault="true">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:outputLabel" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <label style="{@style}" class="{@styleClass}" title="{tagstring()}" for="{@for}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </label>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="outputText"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectBooleanCheckbox" case-sensitive="yes">
- <vpe:if test="@disabled='on'"> <!-- Gavr --><!-- added x: 15.02.05 -->
- <vpe:template children="no" modify="no">
- <input type="checkbox" disabled="on" checked="{@value}" class="{@styleClass}" style="{@style}" border="{@border}" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem"/>
- <vpe:container-child tag-name="selectItems"/>
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- <vpe:template children="no" modify="no">
- <input type="checkbox" checked="{@value}" class="{@styleClass}" style="{@style}" border="{@border}" title="{tagstring()}"/>
- </vpe:template>
- </vpe:tag>
-
-<!--
- Проблема с вложенными f:selectItem (42 of 4) и f:selectItems (50 of 4)
- Возможна проблема с нечувствительностью к регистру lineDirection/pageDirection (44 of 4)
--->
- <vpe:tag name="h:selectManyCheckbox" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <vpe:grid layout="{@layout}" border="{@border}" title="{tagstring()}" style="{@style}" class="{@styleClass}"/>
- <vpe:breaker type="ignore"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem"/>
- <vpe:container-child tag-name="selectItems"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectOneRadio" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <vpe:grid layout="{@layout}" border="{@border}" title="{tagstring()}"/>
- <vpe:breaker type="ignore"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem"/>
- <vpe:container-child tag-name="selectItems"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectOneListbox" case-sensitive="yes">
- <vpe:template
- class="org.jboss.tools.vpe.editor.template.JsfSelectOneListbox"
- children="yes" modify="yes">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem" />
- <vpe:container-child tag-name="selectItems" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectManyListbox" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.vpe.editor.template.JsfSelectManyListbox">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem" />
- <vpe:container-child tag-name="selectItems" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style" />
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectOneMenu" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <select style="{@style}" class="{@styleClass}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem"/>
- <vpe:container-child tag-name="selectItems"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:selectManyMenu" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <select style="{@style}" multiple="multiple" class="{@styleClass}" title="{tagstring()}" size="1"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem"/>
- <vpe:container-child tag-name="selectItems"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="f:selectItem" case-sensitive="yes">
- <vpe:if test="hasinparents('h:selectManyCheckbox')|hasinparents('x:selectManyCheckbox')|hasinparents('t:selectManyCheckbox')">
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}">
- <input type="checkbox" />
- <vpe:value expr="{jsfvalue(@itemLabel)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:breaker type="selectItem"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('h:selectOneRadio')|hasinparents('x:selectOneRadio')">
- <vpe:template children="no" modify="yes" class="org.jboss.tools.vpe.editor.template.JsfRadioSelectItemTemplate">
-
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('h:selectOneListbox')|
- hasinparents('h:selectManyListbox')|
- hasinparents('h:selectOneMenu')|
- hasinparents('h:selectManyMenu')|
- hasinparents('t:selectManyMenu')|
- hasinparents('x:selectOneRadio')|
- hasinparents('x:selectOneMenu')"> <!-- Gavr --><!-- added x: 8.02.05 -->
- <vpe:template children="no" modify="yes">
- <option value="{@itemValue}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@itemLabel)}"/>
- </option>
- </vpe:template>
- </vpe:if>
- </vpe:tag>
-
- <vpe:tag name="f:selectItems" case-sensitive="yes">
- <vpe:if test="hasinparents('h:selectManyCheckbox')|hasinparents('x:selectManyCheckbox')"> <!-- added x: 8.02.05 --><!-- Gavr -->
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}">
- <input type="checkbox"/>
- <vpe:value expr="{jsfvalue(@itemLabel)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('h:selectOneRadio')">
- <vpe:template children="no" modify="yes">
- <span title="{tagstring()}">
- <input type="radio"/>
- <vpe:value expr="{jsfvalue(@itemLabel)}"/>
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- <vpe:if test="hasinparents('h:selectOneListbox')|
- hasinparents('h:selectManyListbox')|
- hasinparents('h:selectOneMenu')|
- hasinparents('h:selectManyMenu')|
- hasinparents('x:selectOneMenu')"> <!-- Gavr -->
- <vpe:template children="no" modify="yes">
- <option value="{@itemValue}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}"/>
- </option>
- </vpe:template>
- </vpe:if>
- </vpe:tag>
-
- <vpe:tag name="h:selectOneMenu" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <select >
- </select>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:panelGroup" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <span style="{@style}" class="{@styleClass}" title="{tagstring()}"/>
- <vpe:breaker type="ignore"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:panelGrid" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <vpe:panelgrid border="{iif(@border='','0','@border')}" style="{@style}" class="{@styleClass}" width="{@width}" frame="{@frame}" rules="{@rules}"
- columnClasses="{@columnClasses}" footerClass="{@footerClass}" headerClass="{@headerClass}" rowClasses="{@rowClasses}"
- cellspacing="{@cellspacing}" cellpadding="{@cellpadding}" bgcolor="{@bgcolor}" title="{tagstring()}"
- table-size="{@columns}"/>
- <vpe:resize>
- <vpe:width width-attr="width" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:breaker type="ignore"/>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- <vpe:pseudoContent defaultText="yes"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:dataTable" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <vpe:datatable width="{@width}" bgcolor="{@bgcolor}" border="{@border}"
- cellpadding="{@cellpadding}" cellspacing="{@cellspacing}"
- columnClasses="{@columnClasses}" footerClass="{@footerClass}" headerClass="{@headerClass}"
- rowClasses="{@rowClasses}"
- frame="{@frame}" rules="{@rules}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="column"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addChildren="deny"/>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- <vpe:pseudoContent defaultText="yes"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:column" case-sensitive="yes">
- <vpe:if test="parentname()='h:dataTable'|parentname()='x:dataTable'|parentname()='t:dataTable'|parentname()='t:newspaperTable'|parentname()='t:tree'"> <!-- Gavr --><!-- added x: 8.02.05 -->
- <vpe:template children="yes" modify="yes">
- <vpe:column title="{tagstring()}"/>
- </vpe:template>
- </vpe:if>
- <vpe:if test="parentname()='rich:columnGroup'|parentname()='rich:dataTable'|parentname()='rich:orderingList'|parentname()='rich:listShuttle'">
- <vpe:template children="yes" modify="yes" namespaceIdentifier="org.jboss.tools.jsf.vpe.richfaces" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
- </vpe:template>
- </vpe:if>
- </vpe:tag>
-
- <vpe:tag name="f:facet" case-sensitive="yes">
- <vpe:if test="@name='popup'">
- <vpe:template children="yes" modify="yes">
- </vpe:template>
- </vpe:if>
- <vpe:if test="parentname()='h:dataTable'|parentname()='t:tree'">
- <vpe:template children="yes" modify="yes">
- <vpe:facet/>
- </vpe:template>
- </vpe:if>
- <vpe:template children="yes" modify="yes">
- <div/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:pseudoContent defaultText="yes" attrName="name"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="f:view" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:pseudoContent defaultText="yes"/>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="f:subview" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:pseudoContent defaultText="yes"/>
- <vpe:textFormating>
- <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
- handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
- <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
- <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
- <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:form" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;{@style}" class="{@styleClass}" title="{tagstring()}"/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="f:attribute" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:param">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:phaseListener">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:phaseListener">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:setPropertyActionListener">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:valueChangeListener">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:convertDateTime">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:convertNumber">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:validator">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:validateDoubleRange">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:validateLength">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="f:validateLongRange">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="h:message">
- <vpe:template children="no" modify="no">
- <span class="{@styleClass}" style="{@style}">
- Error Message
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="h:messages">
- <vpe:template children="no" modify="no">
- <span class="{@styleClass}" style="{@style}">
- Error Messages
- </span>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"/>
- </vpe:dnd>
- <vpe:textFormating>
- <vpe:format type="UnderlineFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BoldFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ItalicFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontNameFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="FontSizeFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="BackgroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- <vpe:format type="ForegroundColorFormat">
- <vpe:formatAttribute type="style"/>
- </vpe:format>
- </vpe:textFormating>
- </vpe:template>
- </vpe:tag>
-
-<!--
- Проблема с селектированием элемента: в мозилле селектируется заголовок а не рамка
--->
- <vpe:template children="yes" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}"/>
- </vpe:template>
-</vpe:templates>
\ No newline at end of file
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsp.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsp.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsp.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,156 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<vpe:templates>
-
- <vpe:tag name="jsp:declaration" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:expression" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:scriptlet" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.attribute" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.include" case-sensitive="yes">
- <vpe:template children="yes" file="{@file}" class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:include" case-sensitive="yes">
- <vpe:template children="yes" file="{@page}" class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.page" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.tag" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.taglib" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:taglib/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:directive.variable" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:attribute" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:body" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div/>
- <vpe:dnd>
- <vpe:drag start-enable="no"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:element" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:doBody" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:forward" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:getProperty" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:invoke" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:output" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:plugin" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:root" case-sensitive="yes">
- <vpe:template children="yes" modify="no">
- <vpe:jsproot/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:setProperty" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:text" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <span/>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="jsp:useBean" case-sensitive="yes">
- <vpe:template children="no" modify="no">
- <vpe:any value="{name()}" title="{tagstring()}" display="none"/>
- </vpe:template>
- </vpe:tag>
-</vpe:templates>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-list.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-list.xml 2008-02-18 16:23:56 UTC (rev 6401)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-list.xml 2008-02-18 16:24:04 UTC (rev 6402)
@@ -1,16 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<vpe:templates-list>
- <vpe:templates file="vpe-templates-myfaces.xml"/>
-
- <vpe:templates file="vpe-templates-html.xml"/>
-
- <vpe:templates file="vpe-templates-jsp.xml"/>
-
- <vpe:templates file="vpe-templates-jsf.xml"/>
-
- <vpe:templates file="vpe-templates-struts.xml"/>
-
- <vpe:templates file="vpe-templates-adf.xml"/>
-
+ <!-- vpe:templates file="vpe-templates-html.xml"/ -->
</vpe:templates-list>
18 years, 1 month
JBoss Tools SVN: r6401 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces: templates and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:56 -0500 (Mon, 18 Feb 2008)
New Revision: 6401
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/about.html
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/templates/vpe-templates-myfaces.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/about.html
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/about.html (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/about.html 2008-02-18 16:23:56 UTC (rev 6401)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/build.properties 2008-02-18 16:23:51 UTC (rev 6400)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/build.properties 2008-02-18 16:23:56 UTC (rev 6401)
@@ -1,6 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .,\
templates/,\
plugin.xml
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/plugin.xml 2008-02-18 16:23:51 UTC (rev 6400)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/plugin.xml 2008-02-18 16:23:56 UTC (rev 6401)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
+<?eclipse version="3.3"?>
<plugin>
<extension
point="org.jboss.tools.vpe.templates">
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/templates/vpe-templates-myfaces.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/templates/vpe-templates-myfaces.xml 2008-02-18 16:23:51 UTC (rev 6400)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/templates/vpe-templates-myfaces.xml 2008-02-18 16:23:56 UTC (rev 6401)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<vpe:templates>
- <vpe:template-taglib uri="http://myfaces.apache.org/extensions"
- prefix="x" />
+ <vpe:template-taglib uri="http://myfaces.apache.org/extensions" prefix="x" />
<vpe:tag name="x:checkbox" case-sensitive="yes">
@@ -377,7 +376,12 @@
<div style="display:hidden" />
</vpe:template>
</vpe:if>
- <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.myfaces.template.VpeMyFacesDataScrollerTemplate"/>
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.myfaces.template.VpeMyFacesDataScrollerTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="x:dataTable" case-sensitive="yes">
18 years, 1 month
JBoss Tools SVN: r6400 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:51 -0500 (Mon, 18 Feb 2008)
New Revision: 6400
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/about.html
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/about.html 2008-02-18 16:23:51 UTC (rev 6400)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
18 years, 1 month
JBoss Tools SVN: r6399 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:46 -0500 (Mon, 18 Feb 2008)
New Revision: 6399
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/about.html
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
AllTests.txt
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/about.html 2008-02-18 16:23:46 UTC (rev 6399)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
18 years, 1 month
JBoss Tools SVN: r6398 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf: META-INF and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:42 -0500 (Mon, 18 Feb 2008)
New Revision: 6398
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.classpath
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.project
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/about.html
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectManyListbox.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectOneListbox.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.classpath
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.classpath (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.classpath 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.project
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.project (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/.project 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.vpe.jsf</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: JSF support for JBoss Visual Page Editor Plug-in
+Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf;singleton:=true
+Bundle-Version: 2.1.0
+Bundle-Activator: org.jboss.tools.jsf.vpe.jsf.JsfTemplatePlugin
+Bundle-Vendor: Red Hat, Inc.
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.common,
+ org.jboss.tools.vpe,
+ org.mozilla.xpcom,
+ org.jboss.tools.jst.jsp,
+ org.eclipse.wst.sse.core
+Eclipse-LazyStart: true
+Export-Package: org.jboss.tools.jsf.vpe.jsf.template
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/about.html
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/about.html (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/about.html 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/build.properties (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/build.properties 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ templates/
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.properties
===================================================================
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.xml (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/plugin.xml 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.templates">
+ <templates
+ name="JSF Reference Implementation"
+ path="templates/vpe-templates-jsf.xml"/>
+ </extension>
+</plugin>
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/JsfTemplatePlugin.java 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,50 @@
+package org.jboss.tools.jsf.vpe.jsf;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class JsfTemplatePlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jsf"; //$NON-NLS-1$
+
+ // The shared instance
+ private static JsfTemplatePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public JsfTemplatePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static JsfTemplatePlugin getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,162 @@
+/*******************************************************************************
+* Copyright (c) 2007 Red Hat, Inc.
+* Distributed under license by Red Hat, Inc. All rights reserved.
+* This program is made available under the terms of the
+* Eclipse Public License v1.0 which accompanies this distribution,
+* and is available at http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+* Red Hat, Inc. - initial API and implementation
+******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import org.eclipse.wst.xml.core.internal.document.ElementImpl;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMText;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+
+/**
+ * @author sdzmitrovich
+ *
+ * template for radio select item
+ *
+ */
+public class JsfRadioSelectItemTemplate extends VpeAbstractTemplate {
+
+ // type of input tag
+ private static final String ATTR_TYPE_VALUE = "radio"; //$NON-NLS-1$
+
+ // common part of the name of element
+ private static final String ATTR_NAME_VALUE = "radio_name_"; //$NON-NLS-1$
+
+ // name of attribute which need represent
+ private static final String ITEM_LABEL_ATTR = "itemLabel"; //$NON-NLS-1$
+
+ // style of span
+ private static final String SPAN_STYLE_VALUE = "-moz-user-modify: read-write;"; //$NON-NLS-1$
+
+ /**
+ *
+ */
+ public JsfRadioSelectItemTemplate() {
+
+ // TODO Auto-generated constructor stub
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
+ * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ // create span element
+ nsIDOMElement span = visualDocument.createElement(HTML.TAG_SPAN);
+ // add title attribute to span
+ span.setAttribute(HTML.ATTR_TITLE, getTitle(sourceNode));
+ span.setAttribute(HTML.ATTR_STYLE, SPAN_STYLE_VALUE);
+
+ // create radio element
+ nsIDOMElement radio = visualDocument.createElement(HTML.TAG_INPUT);
+ radio.setAttribute(HTML.ATTR_TYPE, ATTR_TYPE_VALUE);
+
+ // set title
+ radio.setAttribute(HTML.ATTR_TITLE, getTitle(sourceNode));
+
+ // set name
+ radio.setAttribute(HTML.ATTR_NAME, ATTR_NAME_VALUE
+ + getNameSuffix(sourceNode));
+
+ // add radio to span
+ span.appendChild(radio);
+
+ // get label for element
+ String label = getLabel(sourceNode);
+
+ // label exist
+ if (null != label) {
+ // add label to span
+ nsIDOMText text = visualDocument.createTextNode(label);
+ span.appendChild(text);
+ }
+
+ return new VpeCreationData(span);
+ }
+
+ /**
+ * generate title of element
+ *
+ * @param sourceNode
+ * @return
+ */
+ private String getTitle(Node sourceNode) {
+
+ String tagString = " <" + sourceNode.getNodeName(); //$NON-NLS-1$
+ NamedNodeMap attrs = sourceNode.getAttributes();
+ if (attrs != null) {
+ tagString += attrs.getLength() > 0 ? " " : ""; //$NON-NLS-1$ //$NON-NLS-2$
+ for (int i = 0; i < attrs.getLength(); i++) {
+ Node attr = attrs.item(i);
+ tagString += attr.getNodeName() + "=\"" + attr.getNodeValue() //$NON-NLS-1$
+ + "\"" + (i < (attrs.getLength() - 1) ? " " : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+ }
+ tagString += (sourceNode.hasChildNodes() ? "" : "/") + "> "; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+
+ return tagString;
+ }
+
+ /**
+ * get Label of element
+ *
+ * @param sourceNode
+ * @return
+ */
+ private String getLabel(Node sourceNode) {
+
+ // get value of "itemLabeL" from jsf tag
+ Node attrNode = sourceNode.getAttributes()
+ .getNamedItem(ITEM_LABEL_ATTR);
+
+ // if attribute exist return value
+ if (attrNode != null)
+ return attrNode.getNodeValue();
+
+ return null;
+ }
+
+ /**
+ * generate unique suffix of name for radio as unique suffix use start
+ * position of parent tag ( "h:selectOneRadio" or "x:selectOneRadio")
+ *
+ * @param sourceNode
+ * @return
+ */
+ private String getNameSuffix(Node sourceNode) {
+
+ String name_suffix = ""; //$NON-NLS-1$
+
+ // get parent element
+ Node parent = sourceNode.getParentNode();
+
+ if (parent.getNodeType() == Node.ELEMENT_NODE) {
+
+ ElementImpl element = (ElementImpl) parent;
+
+ // get start position of parent
+ name_suffix = String.valueOf(element.getStartOffset());
+ }
+
+ return name_suffix;
+
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectManyListbox.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectManyListbox.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectManyListbox.java 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,155 @@
+/*******************************************************************************
+* Copyright (c) 2007 Red Hat, Inc.
+* Distributed under license by Red Hat, Inc. All rights reserved.
+* This program is made available under the terms of the
+* Eclipse Public License v1.0 which accompanies this distribution,
+* and is available at http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+* Red Hat, Inc. - initial API and implementation
+******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author Sergey Dzmitrovich
+ *
+ * template for selectOneListbox select item
+ *
+ */
+public class JsfSelectManyListbox extends VpeAbstractTemplate {
+
+ /**
+ * "size" attribute
+ */
+ private static final String ATTR_SIZE = "size"; //$NON-NLS-1$
+
+ /**
+ * "size" attribute
+ */
+ private static final String ATTR_MULTIPLE_VALUE = "multiple"; //$NON-NLS-1$
+ /**
+ * list of visible children
+ */
+ private static List<String> CHILDREN_LIST = new ArrayList<String>();
+
+ static {
+ CHILDREN_LIST.add("selectItem"); //$NON-NLS-1$
+ CHILDREN_LIST.add("selectItems"); //$NON-NLS-1$
+ }
+
+ /**
+ * list of copied attributes
+ */
+ private static List<String> ATTR_LIST_COPY = new ArrayList<String>();
+
+ static {
+ ATTR_LIST_COPY.add("style"); //$NON-NLS-1$
+ ATTR_LIST_COPY.add("styleClass"); //$NON-NLS-1$
+ }
+
+ /**
+ *
+ */
+ public JsfSelectManyListbox() {
+
+ // TODO Auto-generated constructor stub
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
+ * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ // create select element
+ nsIDOMElement select = visualDocument.createElement(HTML.TAG_SELECT);
+
+ Element element = (Element) sourceNode;
+
+ // import attributes from source
+ for (String attributeName : ATTR_LIST_COPY) {
+
+ // get attribute
+ String attr = element.getAttribute(attributeName);
+
+ // add attribute to "select"
+ if (attr != null)
+ select.setAttribute(HTML.ATTR_STYLE, attr);
+
+ }
+
+ // set "multiple" attribute
+ select.setAttribute(HTML.ATTR_MULTIPLE, ATTR_MULTIPLE_VALUE);
+
+ // get "size" attribute
+ String size = element.getAttribute(ATTR_SIZE);
+
+ // add "size" attribute to "select"
+ if (size != null)
+ // if source has "size" attribute import it
+ select.setAttribute(HTML.ATTR_SIZE, size);
+ else
+ // count size
+ select.setAttribute(HTML.ATTR_SIZE, String
+ .valueOf(countSize(element)));
+
+ return new VpeCreationData(select);
+ }
+
+ /**
+ * Count size for "select" (size = number of "selectItem" and "selectItems"
+ * children )
+ *
+ *
+ * @param sourceNode
+ * @return size of select (1 or more)
+ */
+ private int countSize(Node sourceNode) {
+
+ NodeList children = sourceNode.getChildNodes();
+ int size = 0;
+ for (int i = 0; i < children.getLength(); i++) {
+
+ Node child = children.item(i);
+ // if children is one of visible items
+ if (CHILDREN_LIST.contains(child.getLocalName()))
+ size++;
+ }
+ // if 'size' == 0 return 1 else 'size'
+ return size == 0 ? 1 : size;
+
+ }
+
+ /**
+ *
+ */
+ public void removeAttribute(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMNode visualNode, Object data, String name) {
+
+ // get DOMElement(root element is select)
+ nsIDOMElement select = (nsIDOMElement) visualNode
+ .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+
+ // remove attribute
+ select.removeAttribute(name);
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectOneListbox.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectOneListbox.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSelectOneListbox.java 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,147 @@
+/*******************************************************************************
+* Copyright (c) 2007 Red Hat, Inc.
+* Distributed under license by Red Hat, Inc. All rights reserved.
+* This program is made available under the terms of the
+* Eclipse Public License v1.0 which accompanies this distribution,
+* and is available at http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+* Red Hat, Inc. - initial API and implementation
+******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author Sergey Dzmitrovich
+ *
+ * template for selectOneListbox select item
+ *
+ */
+public class JsfSelectOneListbox extends VpeAbstractTemplate {
+
+ /**
+ * "size" attribute
+ */
+ private static final String ATTR_SIZE = "size"; //$NON-NLS-1$
+
+ /**
+ * list of visible children
+ */
+ private static List<String> CHILDREN_LIST = new ArrayList<String>();
+
+ static {
+ CHILDREN_LIST.add("selectItem"); //$NON-NLS-1$
+ CHILDREN_LIST.add("selectItems"); //$NON-NLS-1$
+ }
+
+ /**
+ * list of copied attributes
+ */
+ private static List<String> ATTR_LIST_COPY = new ArrayList<String>();
+
+ static {
+ ATTR_LIST_COPY.add("style"); //$NON-NLS-1$
+ ATTR_LIST_COPY.add("styleClass"); //$NON-NLS-1$
+ }
+
+ /**
+ *
+ */
+ public JsfSelectOneListbox() {
+
+ // TODO Auto-generated constructor stub
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
+ * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ // create select element
+ nsIDOMElement select = visualDocument.createElement(HTML.TAG_SELECT);
+
+ Element element = (Element) sourceNode;
+
+ // import attributes from source
+ for (String attributeName : ATTR_LIST_COPY) {
+
+ // get attribute
+ String attr = element.getAttribute(attributeName);
+
+ // add attribute to "select"
+ if (attr != null)
+ select.setAttribute(HTML.ATTR_STYLE, attr);
+
+ }
+
+ // get "size" attribute
+ String size = element.getAttribute(ATTR_SIZE);
+
+ // add "size" attribute to "select"
+ if (size != null)
+ // if source has "size" attribute import it
+ select.setAttribute(HTML.ATTR_SIZE, size);
+ else
+ // count size
+ select.setAttribute(HTML.ATTR_SIZE, String
+ .valueOf(countSize(element)));
+
+ return new VpeCreationData(select);
+ }
+
+ /**
+ * Count size for "select" (size = number of "selectItem" and "selectItems"
+ * children )
+ *
+ *
+ * @param sourceNode
+ * @return size of select (1 or more)
+ */
+ private int countSize(Node sourceNode) {
+
+ NodeList children = sourceNode.getChildNodes();
+ int size = 0;
+ for (int i = 0; i < children.getLength(); i++) {
+
+ Node child = children.item(i);
+ // if children is one of visible items
+ if (CHILDREN_LIST.contains(child.getLocalName()))
+ size++;
+ }
+ // if 'size' == 0 return 1 else 'size'
+ return size == 0 ? 1 : size;
+
+ }
+
+ /**
+ *
+ */
+ public void removeAttribute(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMNode visualNode, Object data, String name) {
+
+ // get DOMElement(root element is select)
+ nsIDOMElement select = (nsIDOMElement) visualNode
+ .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+
+ // remove attribute
+ select.removeAttribute(name);
+ }
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-02-18 16:23:42 UTC (rev 6398)
@@ -0,0 +1,1203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<vpe:templates>
+ <vpe:template-taglib uri="http://java.sun.com/jsf/html" prefix="h"/>
+ <vpe:template-taglib uri="http://java.sun.com/jsf/core" prefix="f"/>
+
+ <vpe:tag name="f:loadBundle" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ <vpe:load-bundle/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="f:verbatim" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <span title="{tagstring()}" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:inputText" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ <input type="text" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}" size="{@size}" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:inputTextarea" case-sensitive="yes">
+ <vpe:template children="yes" modify="no">
+ <textarea class="{@styleClass}" style="{@style}" rows="{@rows}" cols="{@cols}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </textarea>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:inputSecret" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ <input type="password" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}" size="{@size}" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:inputHidden" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ <input type="text" value="{jsfvalue(@value)}" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+<!-- Проблема с указанием в качестве value HTML-тега (25 of 4) -->
+ <vpe:tag name="h:outputText" case-sensitive="yes">
+ <vpe:if test="attrpresent('value')">
+ <vpe:template children="no" modify="yes">
+ <span class="{@styleClass}" style="{@style}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="attrpresent('binding')">
+ <vpe:template children="no" modify="yes">
+ <span class="{@styleClass}" style="{@style}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@binding)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="yes" modify="yes">
+ <span class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="converter" />
+ <vpe:container-child tag-name="convertNumber" />
+ <vpe:container-child tag-name="convertDateTime" />
+ <vpe:container-child tag-name="validator" />
+ <vpe:container-child tag-name="validateDoubleRange" />
+ <vpe:container-child tag-name="validateLongRange" />
+ <vpe:container-child tag-name="validateLength" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+<!-- Проблема с подстановкой значений вложенных параметров (26 of 4) -->
+ <vpe:tag name="h:outputFormat" case-sensitive="yes">
+ <vpe:template children="no" modify="yes">
+ <span title="{tagstring()}" style="{@style}" class="{@styleClass}" >
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:graphicImage" case-sensitive="yes">
+ <vpe:if test="attrpresent('value')">
+ <vpe:template children="no" modify="yes">
+ <img src="{src(jsfvalue(@value))}" width="{@width}" height="{@height}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ <vpe:height height-attr="height" />
+ </vpe:resize>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="no" modify="yes">
+ <img src="{src(jsfvalue(@url))}" width="{@width}" height="{@height}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ <vpe:height height-attr="height" />
+ </vpe:resize>
+ </vpe:template>
+ </vpe:tag>
+
+<!-- Проблема с адресацией от приложения (30 of 4) -->
+ <vpe:tag name="h:commandButton" case-sensitive="yes">
+ <vpe:if test="not(attrpresent('image'))">
+ <vpe:if test="@type=''">
+ <vpe:template children="no" modify="no">
+ <input type="submit" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="(@type='button')|(@type='reset')|(@type='submit')">
+ <vpe:template children="no" modify="no">
+ <input type="{@type}" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ </vpe:if>
+ <vpe:if test="attrpresent('image')">
+ <vpe:template children="no" modify="no">
+ <input type="image" src="{src(@image)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ </vpe:tag>
+
+<!-- Проблема с вложенным параметром (31 of 4) -->
+ <vpe:tag name="h:commandLink" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <span class="{@styleClass}" style="color:blue;text-decoration:underline;{@style}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="outputText"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ <vpe:pseudoContent/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:outputLink" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <a href="javascript:return false;" class="{@styleClass}" style="{@style}"/>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat" setDefault="true">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:outputLabel" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <label style="{@style}" class="{@styleClass}" title="{tagstring()}" for="{@for}">
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </label>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="outputText"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectBooleanCheckbox" case-sensitive="yes">
+ <vpe:if test="@disabled='on'"> <!-- Gavr --><!-- added x: 15.02.05 -->
+ <vpe:template children="no" modify="no">
+ <input type="checkbox" disabled="on" checked="{@value}" class="{@styleClass}" style="{@style}" border="{@border}" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem"/>
+ <vpe:container-child tag-name="selectItems"/>
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="no" modify="no">
+ <input type="checkbox" checked="{@value}" class="{@styleClass}" style="{@style}" border="{@border}" title="{tagstring()}"/>
+ </vpe:template>
+ </vpe:tag>
+
+<!--
+ Проблема с вложенными f:selectItem (42 of 4) и f:selectItems (50 of 4)
+ Возможна проблема с нечувствительностью к регистру lineDirection/pageDirection (44 of 4)
+-->
+ <vpe:tag name="h:selectManyCheckbox" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <vpe:grid layout="{@layout}" border="{@border}" title="{tagstring()}" style="{@style}" class="{@styleClass}"/>
+ <vpe:breaker type="ignore"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem"/>
+ <vpe:container-child tag-name="selectItems"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectOneRadio" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <vpe:grid layout="{@layout}" border="{@border}" title="{tagstring()}"/>
+ <vpe:breaker type="ignore"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem"/>
+ <vpe:container-child tag-name="selectItems"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectOneListbox" case-sensitive="yes">
+ <vpe:template
+ class="org.jboss.tools.jsf.vpe.jsf.template.JsfSelectOneListbox"
+ children="yes" modify="yes">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem" />
+ <vpe:container-child tag-name="selectItems" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectManyListbox" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.jsf.template.JsfSelectManyListbox">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem" />
+ <vpe:container-child tag-name="selectItems" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectOneMenu" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <select style="{@style}" class="{@styleClass}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem"/>
+ <vpe:container-child tag-name="selectItems"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectManyMenu" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <select style="{@style}" multiple="multiple" class="{@styleClass}" title="{tagstring()}" size="1"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem"/>
+ <vpe:container-child tag-name="selectItems"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="f:selectItem" case-sensitive="yes">
+ <vpe:if test="hasinparents('h:selectManyCheckbox')|hasinparents('x:selectManyCheckbox')|hasinparents('t:selectManyCheckbox')">
+ <vpe:template children="no" modify="yes">
+ <span title="{tagstring()}">
+ <input type="checkbox" />
+ <vpe:value expr="{jsfvalue(@itemLabel)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ <vpe:breaker type="selectItem"/>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="hasinparents('h:selectOneRadio')|hasinparents('x:selectOneRadio')">
+ <vpe:template children="no" modify="yes" class="org.jboss.tools.jsf.vpe.jsf.template.JsfRadioSelectItemTemplate">
+
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="hasinparents('h:selectOneListbox')|
+ hasinparents('h:selectManyListbox')|
+ hasinparents('h:selectOneMenu')|
+ hasinparents('h:selectManyMenu')|
+ hasinparents('t:selectManyMenu')|
+ hasinparents('x:selectOneRadio')|
+ hasinparents('x:selectOneMenu')"> <!-- Gavr --><!-- added x: 8.02.05 -->
+ <vpe:template children="no" modify="yes">
+ <option value="{@itemValue}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@itemLabel)}"/>
+ </option>
+ </vpe:template>
+ </vpe:if>
+ </vpe:tag>
+
+ <vpe:tag name="f:selectItems" case-sensitive="yes">
+ <vpe:if test="hasinparents('h:selectManyCheckbox')|hasinparents('x:selectManyCheckbox')"> <!-- added x: 8.02.05 --><!-- Gavr -->
+ <vpe:template children="no" modify="yes">
+ <span title="{tagstring()}">
+ <input type="checkbox"/>
+ <vpe:value expr="{jsfvalue(@itemLabel)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="hasinparents('h:selectOneRadio')">
+ <vpe:template children="no" modify="yes">
+ <span title="{tagstring()}">
+ <input type="radio"/>
+ <vpe:value expr="{jsfvalue(@itemLabel)}"/>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="hasinparents('h:selectOneListbox')|
+ hasinparents('h:selectManyListbox')|
+ hasinparents('h:selectOneMenu')|
+ hasinparents('h:selectManyMenu')|
+ hasinparents('x:selectOneMenu')"> <!-- Gavr -->
+ <vpe:template children="no" modify="yes">
+ <option value="{@itemValue}" title="{tagstring()}">
+ <vpe:value expr="{jsfvalue(@value)}"/>
+ </option>
+ </vpe:template>
+ </vpe:if>
+ </vpe:tag>
+
+ <vpe:tag name="h:selectOneMenu" case-sensitive="yes">
+ <vpe:template children="yes" modify="no">
+ <select >
+ </select>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:panelGroup" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <span style="{@style}" class="{@styleClass}" title="{tagstring()}"/>
+ <vpe:breaker type="ignore"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:panelGrid" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <vpe:panelgrid border="{iif(@border='','0','@border')}" style="{@style}" class="{@styleClass}" width="{@width}" frame="{@frame}" rules="{@rules}"
+ columnClasses="{@columnClasses}" footerClass="{@footerClass}" headerClass="{@headerClass}" rowClasses="{@rowClasses}"
+ cellspacing="{@cellspacing}" cellpadding="{@cellpadding}" bgcolor="{@bgcolor}" title="{tagstring()}"
+ table-size="{@columns}"/>
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:breaker type="ignore"/>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:dataTable" case-sensitive="yes">
+ <vpe:template children="yes" modify="no">
+ <vpe:datatable width="{@width}" bgcolor="{@bgcolor}" border="{@border}"
+ cellpadding="{@cellpadding}" cellspacing="{@cellspacing}"
+ columnClasses="{@columnClasses}" footerClass="{@footerClass}" headerClass="{@headerClass}"
+ rowClasses="{@rowClasses}"
+ frame="{@frame}" rules="{@rules}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="column"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"/>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:column" case-sensitive="yes">
+ <vpe:if test="parentname()='h:dataTable'|parentname()='x:dataTable'|parentname()='t:dataTable'|parentname()='t:newspaperTable'|parentname()='t:tree'"> <!-- Gavr --><!-- added x: 8.02.05 -->
+ <vpe:template children="yes" modify="yes">
+ <vpe:column title="{tagstring()}"/>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="parentname()='rich:columnGroup'|parentname()='rich:dataTable'|parentname()='rich:orderingList'|parentname()='rich:listShuttle'">
+ <vpe:template children="yes" modify="yes" namespaceIdentifier="org.jboss.tools.jsf.vpe.richfaces" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
+ </vpe:template>
+ </vpe:if>
+ </vpe:tag>
+
+ <vpe:tag name="f:facet" case-sensitive="yes">
+ <vpe:if test="@name='popup'">
+ <vpe:template children="yes" modify="yes">
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="parentname()='h:dataTable'|parentname()='t:tree'">
+ <vpe:template children="yes" modify="yes">
+ <vpe:facet/>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="yes" modify="yes">
+ <div/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:pseudoContent defaultText="yes" attrName="name"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="f:view" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no">
+ <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:pseudoContent defaultText="yes"/>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="f:subview" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no">
+ <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:pseudoContent defaultText="yes"/>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:form" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no">
+ <div style="border:1px dotted #FF6600;padding: 5px;{@style}" class="{@styleClass}" title="{tagstring()}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="f:attribute" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:param">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:phaseListener">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:phaseListener">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:setPropertyActionListener">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:valueChangeListener">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:convertDateTime">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:convertNumber">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:validator">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:validateDoubleRange">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:validateLength">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="f:validateLongRange">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="h:message">
+ <vpe:template children="no" modify="no">
+ <span class="{@styleClass}" style="{@style}">
+ Error Message
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h:messages">
+ <vpe:template children="no" modify="no">
+ <span class="{@styleClass}" style="{@style}">
+ Error Messages
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+<!--
+ Проблема с селектированием элемента: в мозилле селектируется заголовок а не рамка
+-->
+ <vpe:template children="yes" modify="no">
+ <vpe:any value="{name()}" title="{tagstring()}"/>
+ </vpe:template>
+</vpe:templates>
\ No newline at end of file
18 years, 1 month
JBoss Tools SVN: r6397 - in trunk/jst/plugins/org.jboss.tools.jst.vpe.html: META-INF and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:32 -0500 (Mon, 18 Feb 2008)
New Revision: 6397
Added:
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.classpath
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.project
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/META-INF/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/about.html
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/build.properties
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/HtmlTemplatePlugin.java
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/template/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/templates/
trunk/jst/plugins/org.jboss.tools.jst.vpe.html/templates/vpe-templates-html.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.classpath
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.classpath (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.classpath 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.project
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.project (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/.project 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jst.vpe.html</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/META-INF/MANIFEST.MF 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.jst.vpe.html;singleton:=true
+Bundle-Version: 2.1.0
+Bundle-Activator: org.jboss.tools.jst.vpe.html.HtmlTemplatePlugin
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe,
+ org.mozilla.xpcom,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common
+Eclipse-LazyStart: true
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/about.html
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/about.html (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/about.html 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/build.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/build.properties (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/build.properties 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ plugin.properties,\
+ templates/
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.properties (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.properties 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,2 @@
+providerName = Red Hat, Inc.
+pluginName = HTML support for JBoss Visual Page Editor Plug-in
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/plugin.xml 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.templates">
+ <templates
+ decsription="VPE templates for HTML support"
+ name="HTML"
+ path="templates/vpe-templates-html.xml">
+ </templates>
+ </extension>
+
+</plugin>
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/HtmlTemplatePlugin.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/HtmlTemplatePlugin.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/HtmlTemplatePlugin.java 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,50 @@
+package org.jboss.tools.jst.vpe.html;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class HtmlTemplatePlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jst.vpe.html"; //$NON-NLS-1$
+
+ // The shared instance
+ private static HtmlTemplatePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public HtmlTemplatePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static HtmlTemplatePlugin getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,125 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.vpe.html.template;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNamedNodeMap;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.xpcom.XPCOMException;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ *
+ * @author ezheleznyakov(a)exadel.com
+ *
+ */
+public class HtmlBodyTemplate extends VpeAbstractTemplate {
+
+ private nsIDOMElement bodyOld;
+ private static String STYLE_FOR_DIV = ""; //$NON-NLS-1$
+ private static String ID = "id"; //$NON-NLS-1$
+
+ /**
+ *
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ goToTree(visualDocument.getChildNodes().item(0));
+
+ nsIDOMNamedNodeMap attrsMap = bodyOld.getAttributes();
+ long len = attrsMap.getLength();
+ int j = 0;
+ for (int i = 0; i < len; i++) {
+ nsIDOMNode attr = attrsMap.item(j);
+ if (ID.equalsIgnoreCase(attr.getNodeName())) {
+ j++;
+ continue;
+ }
+ bodyOld.removeAttribute(attr.getNodeName());
+ }
+
+ for (int i = 0; i < sourceNode.getAttributes().getLength(); i++) {
+ String name = sourceNode.getAttributes().item(i).getNodeName();
+ if(ID.equalsIgnoreCase(name))
+ continue;
+ String value = sourceNode.getAttributes().item(i).getNodeValue();
+ // all full path for 'url'
+ if (VpeStyleUtil.ATTRIBUTE_STYLE.equalsIgnoreCase(name))
+ value = VpeStyleUtil.addFullPathIntoURLValue(value, pageContext
+ .getEditPart().getEditorInput());
+ if (VpeStyleUtil.PARAMETR_BACKGROND.equalsIgnoreCase(name))
+ value = VpeStyleUtil.addFullPathIntoBackgroundValue(value,
+ pageContext.getEditPart().getEditorInput());
+ //FIX FOR JBIDE-1568, added by Max Areshkau
+ try{
+ bodyOld.setAttribute(name, value);
+ }catch(XPCOMException ex ) {
+ //jsut ignore it
+ }
+
+ }
+
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
+
+ return new VpeCreationData(div);
+ }
+
+ /**
+ *
+ * @param node
+ */
+ private void goToTree(nsIDOMNode node) {
+
+ for (int i = 0; i < node.getChildNodes().getLength(); i++)
+ if (HTML.TAG_BODY.equalsIgnoreCase(node.getChildNodes().item(i)
+ .getNodeName()))
+ bodyOld = (nsIDOMElement) node.getChildNodes().item(i)
+ .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+ else
+ goToTree(node.getChildNodes().item(i));
+ }
+
+ /**
+ * Checks, whether it is necessary to re-create an element at change of
+ * attribute
+ *
+ * @param pageContext
+ * Contains the information on edited page.
+ * @param sourceElement
+ * The current element of the source tree.
+ * @param visualDocument
+ * The document of the visual tree.
+ * @param visualNode
+ * The current node of the visual tree.
+ * @param data
+ * The arbitrary data, built by a method <code>create</code>
+ * @param name
+ * Attribute name
+ * @param value
+ * Attribute value
+ * @return <code>true</code> if it is required to re-create an element at
+ * a modification of attribute, <code>false</code> otherwise.
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+}
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.html/templates/vpe-templates-html.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.html/templates/vpe-templates-html.xml 2008-02-18 16:23:32 UTC (rev 6397)
@@ -0,0 +1,2784 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<vpe:templates>
+ <vpe:tag name="a" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class">
+ <vpe:attribute name="href" value="javascript:return false;"/>
+ </vpe:copy>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="abbr" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="acronym" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="address" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow"
+ addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="applet" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <img src="/applet.gif" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="area" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <!--vpe:copy attrs="style,class,shape,coords"/-->
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="b" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="base" case-sensitive="no">
+ <vpe:template children="yes" modify="no"></vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="basefont" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,size,color,face" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="bdo" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,dir,lang" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler">
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="bgsound" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <img src="/bgsound.gif" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="big" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="blockquote" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="blink" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="body" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jst.vpe.html.template.HtmlBodyTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"></vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="br" case-sensitive="no">
+ <vpe:template children="no" modify="yes">
+ <vpe:copy attrs="id,style,class,clear" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="button" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,value">
+ <!--vpe:attribute name="disabled" value="on"/-->
+ </vpe:copy>
+ <!--span class="__button__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ <vpe:container-child tag-name="abbr" />
+ <vpe:container-child tag-name="acronym" />
+ <vpe:container-child tag-name="address" />
+ <vpe:container-child tag-name="applet" />
+ <vpe:container-child tag-name="b" />
+ <vpe:container-child tag-name="basefont" />
+ <vpe:container-child tag-name="bdo" />
+ <vpe:container-child tag-name="bgsound" />
+ <vpe:container-child tag-name="big" />
+ <vpe:container-child tag-name="blink" />
+ <vpe:container-child tag-name="blockquote" />
+ <vpe:container-child tag-name="br" />
+ <vpe:container-child tag-name="center" />
+ <vpe:container-child tag-name="cite" />
+ <vpe:container-child tag-name="code" />
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="dfn" />
+ <vpe:container-child tag-name="dl" />
+ <vpe:container-child tag-name="em" />
+ <vpe:container-child tag-name="embed" />
+ <vpe:container-child tag-name="font" />
+ <vpe:container-child tag-name="h1" />
+ <vpe:container-child tag-name="h2" />
+ <vpe:container-child tag-name="h3" />
+ <vpe:container-child tag-name="h4" />
+ <vpe:container-child tag-name="h5" />
+ <vpe:container-child tag-name="h6" />
+ <vpe:container-child tag-name="hr" />
+ <vpe:container-child tag-name="i" />
+ <vpe:container-child tag-name="img" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="kbd" />
+ <vpe:container-child tag-name="map" />
+ <vpe:container-child tag-name="marquee" />
+ <vpe:container-child tag-name="menu" />
+ <vpe:container-child tag-name="nobr" />
+ <vpe:container-child tag-name="noframes" />
+ <vpe:container-child tag-name="noscript" />
+ <vpe:container-child tag-name="object" />
+ <vpe:container-child tag-name="ol" />
+ <vpe:container-child tag-name="p" />
+ <vpe:container-child tag-name="pre" />
+ <vpe:container-child tag-name="q" />
+ <vpe:container-child tag-name="s" />
+ <vpe:container-child tag-name="samp" />
+ <vpe:container-child tag-name="script" />
+ <vpe:container-child tag-name="small" />
+ <vpe:container-child tag-name="span" />
+ <vpe:container-child tag-name="strike" />
+ <vpe:container-child tag-name="strong" />
+ <vpe:container-child tag-name="sub" />
+ <vpe:container-child tag-name="sup" />
+ <vpe:container-child tag-name="table" />
+ <vpe:container-child tag-name="tt" />
+ <vpe:container-child tag-name="u" />
+ <vpe:container-child tag-name="ul" />
+ <vpe:container-child tag-name="var" />
+ <vpe:container-child tag-name="wbr" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="caption" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="center" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="cite" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="code" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="col" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <vpe:copy
+ attrs="style,class,span,width,align,char,charoff,valign" />
+ <vpe:dnd>
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="colgroup" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,span,width,align,char,charoff,valign" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="col" />
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="dd" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="del" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="dfn" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="dir" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="div" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="dl" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny" addParent="deny"/>
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="deny">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="deny">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="dt" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny" addParent="deny"/>
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="em" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat" setDefault="true">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="fieldset" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="font" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,size,color,face" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="form" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="frame" case-sensitive="no">
+ <vpe:template children="yes" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="frameset" case-sensitive="no">
+ <vpe:template children="yes" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="h1" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h2" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h3" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h4" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h5" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="h6" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="head" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <div style="display:none;" />
+ <vpe:dnd>
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="hr" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <vpe:copy attrs="id,style,class,align,size,width" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="html" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <div/>
+ <vpe:dnd>
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="i" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="ItalicFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="iframe" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="img" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <vpe:copy
+ attrs="style,class,width,height,border,hspace,vspace">
+ <vpe:attribute name="src" value="{src(@src)}" />
+ </vpe:copy>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="input" case-sensitive="no">
+ <vpe:if test="(@type='text')">
+ <vpe:template children="no" modify="no">
+ <vpe:copy attrs="id,type,style,class,value,size" />
+ <!--span class="__input__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="@type='password'">
+ <vpe:template children="no" modify="no">
+ <vpe:copy attrs="id,type,style,class,value,size" />
+ <!--span class="__input__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="(@type='checkbox')|(@type='radio')">
+ <vpe:template children="no" modify="no">
+ <vpe:copy attrs="id,style,class,type,checked">
+ <!--vpe:attribute name="disabled" value="disabled"/-->
+ </vpe:copy>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="(@type='submit')|(@type='button')">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,type,value,style,class" />
+ <!--span class="__button__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="@type='reset'">
+ <vpe:if test="@value=''">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,type,checked,class,style">
+ <vpe:attribute name="value" value="Reset" />
+ </vpe:copy>
+ <!--span class="__button__tag" style="{@style}">
+ <nobr><vpe:value expr="Reset"/></nobr>
+ </span-->
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="not(@value='')">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,type,checked,value,class,style" />
+ <!--span class="__button__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ </vpe:if>
+ <vpe:if test="@type='file'">
+ <vpe:template children="no" modify="no">
+ <input type="file" value="{@value}"
+ class="{@styleClass}" style="{@style}" size="{@size}" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="@type='hidden'">
+ <vpe:template children="no" modify="no">
+ <!--input type="text" value="{@value}" class="{@class}" size="{@size}" style="{@style}border-style:dotted;"/-->
+ <!--span class="__input__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="@type='image'">
+ <vpe:template children="no" modify="no">
+ <img src="{@src}" width="20" height="20" />
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="no" modify="no">
+ <vpe:copy attrs="id,type,style,class,value,size" />
+ <!--span class="__input__tag" style="{@style}">
+ <nobr><vpe:value expr="{@value}"/></nobr>
+ </span-->
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="ins" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="isindex" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,prompt" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="kbd" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="label" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,for" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ <vpe:container-child tag-name="a" />
+ <vpe:container-child tag-name="abbr" />
+ <vpe:container-child tag-name="acronym" />
+ <vpe:container-child tag-name="applet" />
+ <vpe:container-child tag-name="b" />
+ <vpe:container-child tag-name="baseform" />
+ <vpe:container-child tag-name="bdo" />
+ <vpe:container-child tag-name="bgsound" />
+ <vpe:container-child tag-name="big" />
+ <vpe:container-child tag-name="blink" />
+ <vpe:container-child tag-name="br" />
+ <vpe:container-child tag-name="button" />
+ <vpe:container-child tag-name="cite" />
+ <vpe:container-child tag-name="code" />
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="dfn" />
+ <vpe:container-child tag-name="em" />
+ <vpe:container-child tag-name="embed" />
+ <vpe:container-child tag-name="font" />
+ <vpe:container-child tag-name="i" />
+ <vpe:container-child tag-name="iframe" />
+ <vpe:container-child tag-name="img" />
+ <vpe:container-child tag-name="input" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="kbd" />
+ <vpe:container-child tag-name="map" />
+ <vpe:container-child tag-name="marguee" />
+ <vpe:container-child tag-name="nobr" />
+ <vpe:container-child tag-name="object" />
+ <vpe:container-child tag-name="q" />
+ <vpe:container-child tag-name="s" />
+ <vpe:container-child tag-name="samp" />
+ <vpe:container-child tag-name="script" />
+ <vpe:container-child tag-name="select" />
+ <vpe:container-child tag-name="small" />
+ <vpe:container-child tag-name="span" />
+ <vpe:container-child tag-name="strike" />
+ <vpe:container-child tag-name="strong" />
+ <vpe:container-child tag-name="sub" />
+ <vpe:container-child tag-name="sup" />
+ <vpe:container-child tag-name="textarea" />
+ <vpe:container-child tag-name="tt" />
+ <vpe:container-child tag-name="u" />
+ <vpe:container-child tag-name="var" />
+ <vpe:container-child tag-name="wbr" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="legend" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="li" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,type,value" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="link" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <vpe:link rel="{@rel}" href="{href(@href)}" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="map" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,name" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="menu" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="meta" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="nobr" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="noframes" case-sensitive="no">
+ <vpe:template children="yes" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="noscript" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="object" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="ol" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,type,start" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="li" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="optgroup" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,label" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="option" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="option" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,value,label" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="p" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <!-- vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format -->
+ <vpe:format type="BoldFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BoldFormatHandler" />
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="param" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="pre" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,width" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny" addParent = "deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addParent="deny" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addParent="deny" addChildren= "allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="q" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="s" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="samp" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="script" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="select" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,size" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="optgroup" />
+ <vpe:container-child tag-name="option" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="small" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="span" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="strike" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="strong" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="style" case-sensitive="no">
+ <vpe:template children="no" modify="no">
+ <vpe:style />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="sub" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="sup" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="table" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,width,border,frame,rules,cellspacing,cellpadding,align,bgcolor,background" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="caption" />
+ <vpe:container-child tag-name="col" />
+ <vpe:container-child tag-name="colgroup" />
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="tbody" />
+ <vpe:container-child tag-name="tfoot" />
+ <vpe:container-child tag-name="thead" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="tbody" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="tr" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="td" case-sensitive="no">
+ <vpe:if test="attrpresent('background')">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor">
+ <vpe:attribute name="background"
+ value="{src(@background)}" />
+ </vpe:copy>
+ <vpe:resize>
+ <vpe:width width-attr="width"
+ disable-absolute-position="yes" />
+ <vpe:height height-attr="style.height"
+ tag-xpath="tr" test="{hasinparents('tr')}"
+ disable-absolute-position="yes" />
+ <vpe:height height-attr="style.height"
+ disable-absolute-position="yes" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="no" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor" />
+ <vpe:resize>
+ <vpe:width width-attr="width"
+ disable-absolute-position="yes" />
+ <vpe:height height-attr="style.height" tag-xpath="tr"
+ test="{hasinparents('tr')}" disable-absolute-position="yes" />
+ <vpe:height height-attr="style.height"
+ disable-absolute-position="yes" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="no" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="textarea" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,rows,cols" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="#text" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="tfoot" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="th" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat" setDefault = "true">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow" addParent="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="thead" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class,align,char,charoff,valign" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="tr" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="title" case-sensitive="no">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="tr" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy
+ attrs="style,class,align,char,charoff,valign,bgcolor" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width"
+ disable-absolute-position="yes" />
+ <vpe:height height-attr="style.height"
+ disable-absolute-position="yes" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="td" />
+ <vpe:container-child tag-name="th" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:breaker type="ignore" />
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="tt" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="u" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat" setDefault="true">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="ul" case-sensitive="no">
+ <vpe:template children="yes" modify="yes">
+ <vpe:copy attrs="id,style,class,type" />
+ <vpe:dnd>
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="del" />
+ <vpe:container-child tag-name="ins" />
+ <vpe:container-child tag-name="li" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="UnderlineFormat" >
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="var" case-sensitive="no">
+ <vpe:template children="yes" modify="no">
+ <vpe:copy attrs="id,style,class" />
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
+ <vpe:format type="UnderlineFormat" addChildren="allow" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.UnderlineFormatHandler" />
+ <vpe:format type="UnderlineFormat" >
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat" addChildren="allow"
+ handler="org.jboss.tools.vpe.editor.toolbar.format.handler.ItalicFormatHandler" />
+ <vpe:format type="ItalicFormat" setDefault="true">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="#comment" case-sensitive="no">
+ <vpe:template children="no" modify="yes">
+ <vpe:comment />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:template children="yes" modify="yes">
+ <vpe:any value="{name()}" title="{tagstring()}" />
+ </vpe:template>
+</vpe:templates>
\ No newline at end of file
18 years, 1 month
JBoss Tools SVN: r6396 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test: src/org/jboss/tools/jsf/vpe/jsp/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:23 -0500 (Mon, 18 Feb 2008)
New Revision: 6396
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test
___________________________________________________________________
Name: svn:ignore
+ AllTests.txt
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html 2008-02-18 16:23:23 UTC (rev 6396)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java 2008-02-18 16:23:14 UTC (rev 6395)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java 2008-02-18 16:23:23 UTC (rev 6396)
@@ -22,7 +22,7 @@
public class JSPAllTests {
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe JSP components");
+ TestSuite suite = new TestSuite("Tests for Vpe JSP components"); //$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(JSPComponentTest.class);
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java 2008-02-18 16:23:14 UTC (rev 6395)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java 2008-02-18 16:23:23 UTC (rev 6396)
@@ -24,7 +24,7 @@
public class JSPComponentTest extends VpeTest {
// import project name
- public static final String IMPORT_PROJECT_NAME = "jspTest";
+ public static final String IMPORT_PROJECT_NAME = "jspTest"; //$NON-NLS-1$
public JSPComponentTest(String name) {
super(name);
@@ -38,7 +38,7 @@
*/
public void testDeclaration() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/declaration.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/declaration.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -48,7 +48,7 @@
*/
public void testExpression() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/expression.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/expression.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -58,7 +58,7 @@
*/
public void testScriptlet() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/scriptlet.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/scriptlet.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -68,7 +68,7 @@
*/
public void testDirectiveAttribute() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -78,12 +78,10 @@
*/
public void testDirectiveInclude() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_include_absolute.jsp",
- IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_include_absolute.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_include_relative.jsp",
- IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_include_relative.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -94,10 +92,10 @@
*/
public void testInclude() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/include_absolute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/include_absolute.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/include_relative.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/include_relative.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -108,7 +106,7 @@
*/
public void testDirectivePage() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_page.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_page.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -119,7 +117,7 @@
*/
public void testDirectiveTag() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_tag.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_tag.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -130,7 +128,7 @@
*/
public void testDirectiveTaglib() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_taglib.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_taglib.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -141,7 +139,7 @@
*/
public void testDirectiveVariable() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -152,7 +150,7 @@
*/
public void testAttribute() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/attribute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/attribute.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -163,7 +161,7 @@
*/
public void testBody() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/body.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/body.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -174,7 +172,7 @@
*/
public void testElement() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/element.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/element.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -185,7 +183,7 @@
*/
public void testDoBody() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/double.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/double.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -196,7 +194,7 @@
*/
public void testForward() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/forward.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/forward.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -207,7 +205,7 @@
*/
public void testGetProperty() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/get_property.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/get_property.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -218,7 +216,7 @@
*/
public void testInvoke() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -229,7 +227,7 @@
*/
public void testOutput() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/output.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/output.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -240,7 +238,7 @@
*/
public void testPlugin() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/plugin.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/plugin.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -251,7 +249,7 @@
*/
public void testRoot() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/root.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/root.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -262,7 +260,7 @@
*/
public void testSetProperty() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/set_property.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/set_property.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -273,7 +271,7 @@
*/
public void testText() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/text.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -284,7 +282,7 @@
*/
public void testUseBean() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/useBean.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/useBean.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java 2008-02-18 16:23:14 UTC (rev 6395)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java 2008-02-18 16:23:23 UTC (rev 6396)
@@ -24,7 +24,7 @@
public class JSPTestPlugin extends BaseUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jsp.test";
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jsp.test"; //$NON-NLS-1$
// The shared instance
private static JSPTestPlugin plugin;
@@ -69,9 +69,9 @@
URL url = null;
try {
url = bundle == null ? null : FileLocator.resolve(bundle
- .getEntry("/resources")); // $NON-NLS-1$
+ .getEntry("/resources")); //$NON-NLS-1$
} catch (Exception e) {
- url = bundle.getEntry("/resources"); // $NON-NLS-1$
+ url = bundle.getEntry("/resources"); //$NON-NLS-1$
}
return (url == null) ? null : url.getPath();
}
18 years, 1 month
JBoss Tools SVN: r6395 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:14 -0500 (Mon, 18 Feb 2008)
New Revision: 6395
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/about.html
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/about.html 2008-02-18 16:23:14 UTC (rev 6395)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
18 years, 1 month
JBoss Tools SVN: r6394 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk: src/org/jboss/tools/jsf/vpe/tomahawk and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:09 -0500 (Mon, 18 Feb 2008)
New Revision: 6394
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/template/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/template/DataScrollerTemplate.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/TomahawkPlugin.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/META-INF/MANIFEST.MF 2008-02-18 16:23:01 UTC (rev 6393)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/META-INF/MANIFEST.MF 2008-02-18 16:23:09 UTC (rev 6394)
@@ -7,11 +7,13 @@
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.jboss.tools.jsf.vpe.tomahawk; singleton:=true
Bundle-Localization: plugin
-Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
org.jboss.tools.vpe,
org.eclipse.core.resources,
- org.eclipse.wst.sse.core,
- org.eclipse.wst.xml.core
-Export-Package: org.jboss.tools.jsf.vpe.tomahawk
+ org.mozilla.xpcom,
+ org.jboss.tools.jst.jsp
+Export-Package: org.jboss.tools.jsf.vpe.tomahawk,
+ org.jboss.tools.jsf.vpe.tomahawk.template
Bundle-Version: 2.1.0
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/TomahawkPlugin.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/TomahawkPlugin.java 2008-02-18 16:23:01 UTC (rev 6393)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/TomahawkPlugin.java 2008-02-18 16:23:09 UTC (rev 6394)
@@ -54,26 +54,4 @@
public static TomahawkPlugin getDefault() {
return plugin;
}
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path.
- *
- * @param path the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return AbstractUIPlugin.imageDescriptorFromPlugin("org.jboss.tools.jsf.vpe.otrix", path);
- }
-
- public static String getInstallPath() {
- Bundle bundle = Platform.getBundle("org.jboss.tools.jsf.vpe.otrix");
- URL url = null;
- try {
- url = bundle == null ? null : Platform.resolve(bundle.getEntry("/"));
- } catch (Exception e) {
- url = bundle.getEntry("/");
- }
- return (url == null) ? null : url.getPath();
- }
}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/template/DataScrollerTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/template/DataScrollerTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/src/org/jboss/tools/jsf/vpe/tomahawk/template/DataScrollerTemplate.java 2008-02-18 16:23:09 UTC (rev 6394)
@@ -0,0 +1,227 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.tomahawk.template;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeAnyData;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.template.VpeTagDescription;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.interfaces.nsIDOMText;
+import org.w3c.dom.Attr;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class DataScrollerTemplate extends VpeAbstractTemplate {
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument) {
+ nsIDOMElement table = visualDocument.createElement(HTML.TAG_TABLE);
+ VpeCreationData data = new VpeCreationData(table);
+ VpeChildrenInfo childInfo = createFacet(sourceNode, "first", visualDocument); //$NON-NLS-1$
+ nsIDOMElement td = null;
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ childInfo = createFacet(sourceNode, "fastrewind", visualDocument); //$NON-NLS-1$
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ childInfo = createFacet(sourceNode, "previous", visualDocument); //$NON-NLS-1$
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ td = visualDocument.createElement(HTML.TAG_TD);
+ nsIDOMText text = visualDocument.createTextNode("1 2 3 ..."); //$NON-NLS-1$
+ td.appendChild(text);
+ table.appendChild(td);
+
+ childInfo = createFacet(sourceNode, "next", visualDocument); //$NON-NLS-1$
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ childInfo = createFacet(sourceNode, "fastforward", visualDocument); //$NON-NLS-1$
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ childInfo = createFacet(sourceNode, "last", visualDocument); //$NON-NLS-1$
+ if (childInfo != null) {
+ data.addChildrenInfo(childInfo);
+ td = childInfo.getVisualParent();
+ table.appendChild(td);
+ }
+
+ return data;
+ }
+
+ private VpeChildrenInfo createFacet(Node sourceNode, String facetName, nsIDOMDocument visualDocument) {
+ if (sourceNode != null && facetName != null) {
+ NodeList childs = sourceNode.getChildNodes();
+ if (childs != null) {
+ for (int i = 0; i < childs.getLength(); i++) {
+ Node child = childs.item(i);
+ if (child != null && child.getNodeType() == Node.ELEMENT_NODE &&
+ child.getNodeName().indexOf(":facet") > 0) { //$NON-NLS-1$
+ Element facet = (Element)child;
+ Attr nameAttr = facet.getAttributeNode("name"); //$NON-NLS-1$
+ if (nameAttr != null && nameAttr.getValue().equals(facetName)) {
+ nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
+ VpeChildrenInfo info = new VpeChildrenInfo(td);
+ info.addSourceChild(facet);
+ return info;
+ }
+ }
+ }
+ }
+ }
+ return null;
+ }
+
+ public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
+ }
+
+ public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
+ }
+
+ public String[] getOutputAtributeNames() {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#getOutputTextNode(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, java.lang.Object)
+ */
+ @Override
+ public nsIDOMText getOutputTextNode(VpePageContext pageContext,
+ Element sourceElement, Object data) {
+ return null;
+ }
+
+ public boolean isOutputAttributes() {
+ return false;
+ }
+
+ public int getType() {
+ return 0;
+ }
+
+ public VpeAnyData getAnyData() {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#beforeRemove(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMNode, java.lang.Object)
+ */
+ @Override
+ public void beforeRemove(VpePageContext pageContext, Node sourceNode,
+ nsIDOMNode visualNode, Object data) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#getNodeForUptate(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMNode, java.lang.Object)
+ */
+ @Override
+ public Node getNodeForUptate(VpePageContext pageContext, Node sourceNode,
+ nsIDOMNode visualNode, Object data) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#getTagDescription(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object)
+ */
+ @Override
+ public VpeTagDescription getTagDescription(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualElement, Object data) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#isRecreateAtAttrChange(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object, java.lang.String, java.lang.String)
+ */
+ @Override
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNde, Object data, String name, String value) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#removeAttribute(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMNode, java.lang.Object, java.lang.String)
+ */
+ @Override
+ public void removeAttribute(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMNode visualNode, Object data, String name) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#resize(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object, int, int, int, int, int)
+ */
+ @Override
+ public void resize(VpePageContext pageContext, Element sourceElement,
+ nsIDOMDocument visualDocument, nsIDOMElement visualElement,
+ Object data, int resizerConstrains, int top, int left, int width,
+ int height) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#setAttribute(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMNode, java.lang.Object, java.lang.String, java.lang.String)
+ */
+ @Override
+ public void setAttribute(VpePageContext pageContext, Element sourceElement,
+ nsIDOMDocument visualDocument, nsIDOMNode visualNode, Object data,
+ String name, String value) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#validate(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument, org.jboss.tools.vpe.editor.template.VpeCreationData)
+ */
+ @Override
+ public void validate(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument, VpeCreationData data) {
+ // TODO Auto-generated method stub
+
+ }
+
+
+}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml 2008-02-18 16:23:01 UTC (rev 6393)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml 2008-02-18 16:23:09 UTC (rev 6394)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<vpe:templates>
- <vpe:template-taglib uri="http://myfaces.apache.org/tomahawk"
- prefix="t" />
+ <vpe:template-taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" />
<vpe:tag name="t:checkbox" case-sensitive="yes">
@@ -509,7 +508,9 @@
<div style="display:hidden" />
</vpe:template>
</vpe:if>
- <vpe:template children="yes" modify="no" class="org.jboss.tools.vpe.editor.template.myfaces.VpeMyFacesDataScrollerTemplate"/>
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.tomahawk.template.DataScrollerTemplate">
+ <vpe:resize />
+ </vpe:template>
</vpe:tag>
<vpe:tag name="t:dataTable" case-sensitive="yes">
18 years, 1 month
JBoss Tools SVN: r6393 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-18 11:23:01 -0500 (Mon, 18 Feb 2008)
New Revision: 6393
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/about.html
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/about.html 2008-02-18 16:23:01 UTC (rev 6393)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
18 years, 1 month