Author: yradtsevich
Date: 2008-12-05 06:56:08 -0500 (Fri, 05 Dec 2008)
New Revision: 12298
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
Log:
RESOLVED - issue JBIDE-2817: Incorrect action of attributes "width" and
"height" within some tags.
https://jira.jboss.org/jira/browse/JBIDE-2817
Modified: 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 2008-12-05
10:28:51 UTC (rev 12297)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-12-05
11:56:08 UTC (rev 12298)
@@ -162,8 +162,8 @@
<vpe:drag start-enable="yes" />
</vpe:dnd>
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
</vpe:template>
</vpe:if>
@@ -172,8 +172,8 @@
height="{@height}" class="{@styleClass}"
style="{@style}"
title="{tagstring()}" alt="{jsfvalue(@alt)}"/>
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
</vpe:template>
</vpe:tag>
@@ -625,8 +625,8 @@
captionClass="{@captionClass}" captionStyle="{@captionStyle}"
rowClasses="{@rowClasses}" cellspacing="{@cellspacing}"
cellpadding="{@cellpadding}" bgcolor="{@bgcolor}"
title="{tagstring()}" table-size="{@columns}" />
- <vpe:resize>
- <vpe:width width-attr="width" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
@@ -649,7 +649,7 @@
rowClasses="{@rowClasses}" frame="{@frame}"
rules="{@rules}"
class="{@styleClass}" style="{@style}"
title="{tagstring()}" dir="{@dir}"/>
<vpe:resize>
- <vpe:width width-attr="width" />
+ <vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-12-05
10:28:51 UTC (rev 12297)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-12-05
11:56:08 UTC (rev 12298)
@@ -169,7 +169,7 @@
<vpe:template children="no" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.InputNumberSliderTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
+ <vpe:width width-attr="style.width" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes" />
@@ -217,8 +217,8 @@
<vpe:template children="no" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSpacerTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes" />
@@ -239,8 +239,8 @@
<vpe:template children="no" modify="no"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSeparatorTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes" />
@@ -282,8 +282,8 @@
<vpe:template
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToolBarTemplate"
children="yes" modify="no">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes"/>
@@ -430,8 +430,8 @@
<vpe:tag name="rich:panelBar" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelBarTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes"/>
@@ -452,8 +452,8 @@
<vpe:tag name="rich:simpleTogglePanel" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSimpleTogglePanelTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes"/>
@@ -487,8 +487,8 @@
<vpe:tag name="rich:tabPanel" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTabPanelTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
<vpe:drag start-enable="yes"/>
@@ -696,7 +696,7 @@
<vpe:tag name="rich:panelMenu" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuTemplate">
<vpe:resize>
- <vpe:width width-attr="width" />
+ <vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
</vpe:resize>
<vpe:dnd>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-12-05
10:28:51 UTC (rev 12297)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-12-05
11:56:08 UTC (rev 12298)
@@ -1855,7 +1855,7 @@
value="{src(@background)}" />
</vpe:copy>
<vpe:resize>
- <vpe:width width-attr="width"
+ <vpe:width width-attr="style.width"
disable-absolute-position="yes" />
<vpe:height height-attr="style.height"
tag-xpath="tr" test="{hasinparents('tr')}"
@@ -1899,7 +1899,7 @@
<vpe:copy
attrs="id,style,class,rowspan,colspan,headers,abbr,scope,axis,align,char,charoff,valign,width,height,bgcolor,dir"
/>
<vpe:resize>
- <vpe:width width-attr="width"
+ <vpe:width width-attr="style.width"
disable-absolute-position="yes" />
<vpe:height height-attr="style.height" tag-xpath="tr"
test="{hasinparents('tr')}"
disable-absolute-position="yes" />