Author: abelevich
Date: 2008-04-21 08:14:27 -0400 (Mon, 21 Apr 2008)
New Revision: 7993
Modified:
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
fix custom icon URI defenition
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-04-21 12:14:09 UTC
(rev 7992)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-04-21 12:14:27 UTC
(rev 7993)
@@ -51,12 +51,12 @@
String saveIcon =
(String)component.getAttributes().get("saveControlIcon");
if (saveIcon != null && saveIcon.length() != 0 ) {
- variables.setVariable("saveIcon", saveIcon);
+ variables.setVariable("saveIcon", getResource(saveIcon).getUri(context,
component));
}
String cancelIcon =
(String)component.getAttributes().get("cancelControlIcon");
if (cancelIcon != null && cancelIcon.length() != 0 ) {
- variables.setVariable("cancelIcon", cancelIcon);
+ variables.setVariable("cancelIcon",
getResource(cancelIcon).getUri(context, component));
}
String controlClass =
(String)component.getAttributes().get("controlClass");
@@ -158,7 +158,7 @@
class="rich-inplace-select-control #{controlClass}"
onmousedown="this.className='rich-inplace-select-control-press
#{controlPressedClass}'"
onmouseout="this.className='rich-inplace-select-control
#{controlClass}'"
-
onmouseup="this.className='rich-inplace-select-control#{controlClass}'"
+ onmouseup="this.className='rich-inplace-select-control
#{controlClass}'"
onmouseover="this.className='rich-inplace-select-control
#{controlHoverClass}'"
/>
</div>