Author: mareshkau
Date: 2007-11-03 06:25:25 -0400 (Sat, 03 Nov 2007)
New Revision: 4680
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1213, style and styleclass attributes was added to
templates for s:div and s:span, s:label template was added, s:message was adjusted
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-02
21:22:54 UTC (rev 4679)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-03
10:25:25 UTC (rev 4680)
@@ -8,20 +8,56 @@
<div style="border: 1px dashed #2A7F00" />
</vpe:template>
</vpe:tag>
-
+
<vpe:tag name="s:decorate" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
<div style="border: 1px dashed #2A7F00" />
</vpe:template>
</vpe:tag>
-
- <vpe:tag name="s:message" case-sensitive="yes">
+
+ <vpe:tag name="s:label" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <div style="border: 1px dashed #2A7F00" />
+ <label class="{@styleClass}" style="{@style}"/>
</vpe:template>
</vpe:tag>
+ <vpe:tag name="s:message" case-sensitive="yes">
+ <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="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:tag>
+
<vpe:tag name="s:formattedText" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
<div style="{@style}" class="{@styleClass}"
@@ -34,13 +70,13 @@
<vpe:tag name="s:span" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <span />
+ <span style="{@style}" class="{@styleClass}" />
</vpe:template>
</vpe:tag>
<vpe:tag name="s:div" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <div />
+ <div style="{@style}" class="{@styleClass}" />
</vpe:template>
</vpe:tag>