Author: abelevich
Date: 2011-01-20 05:39:36 -0500 (Thu, 20 Jan 2011)
New Revision: 21109
Modified:
trunk/ui/output/ui/src/main/templates/popupPanel.template.xml
Log:
RF-10097 Inline default values: output components I
- added default value to templates.
Modified: trunk/ui/output/ui/src/main/templates/popupPanel.template.xml
===================================================================
--- trunk/ui/output/ui/src/main/templates/popupPanel.template.xml 2011-01-20 10:39:07 UTC
(rev 21108)
+++ trunk/ui/output/ui/src/main/templates/popupPanel.template.xml 2011-01-20 10:39:36 UTC
(rev 21109)
@@ -73,8 +73,8 @@
</div>
<cdk:scriptObject name="options">
- <cdk:scriptOption name="left"
value="#{getLeftOrDefault(component)}" />
- <cdk:scriptOption name="top"
value="#{getTopOrDefault(component)}" />
+ <cdk:scriptOption name="left"
value="#{getLeftOrDefault(component)}"
defaultValue='String.valueOf("auto")'/>
+ <cdk:scriptOption name="top"
value="#{getTopOrDefault(component)}"
defaultValue='String.valueOf("auto")'/>
<cdk:scriptOption attributes="width height minWidth minHeight
maxWidth maxHeight moveable followByScroll left top zindex shadowDepth shadowOpacity
domElementAttachment show keepVisualState autosized resizeable modal overlapEmbedObjects
visualOptions " />
<cdk:scriptOption attributes="onshow onhide onresize onmove
onbeforeshow onbeforehide" wrapper="eventHandler"/>
</cdk:scriptObject>