Author: abelevich
Date: 2008-11-28 05:54:49 -0500 (Fri, 28 Nov 2008)
New Revision: 11424
Modified:
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
bring list mockup id's accord to common usage
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-11-28 10:51:27 UTC
(rev 11423)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-11-28 10:54:49 UTC
(rev 11424)
@@ -170,10 +170,10 @@
]]>
</jsp:scriptlet>
</div>
- <div id="listParent#{clientId}"
class="rich-inplace-select-width-list" style="display: none; position :
absolute; height : 100px; left : 0px; top: 13px; z-index:1000;">
+ <div id="#{clientId}listParent"
class="rich-inplace-select-width-list" style="display: none; position :
absolute; height : 100px; left : 0px; top: 13px; z-index:1000;">
<div class="rich-inplace-select-list-shadow">
<!-- TODO welcome magic numbers! -->
- <table id="shadow#{clientId}" cellpadding="0"
cellspacing="0" border="0" width="257"
height="109">
+ <table id="#{clientId}shadow" cellpadding="0"
cellspacing="0" border="0" width="257"
height="109">
<tr>
<td class="rich-inplace-select-shadow-tl">
<img src="#{spacer}" width="10" height="1"
alt=" " style="border:0"/><br/>
@@ -192,9 +192,9 @@
</tr>
</table>
</div>
- <div id="listPosition#{clientId}"
class="rich-inplace-select-list-position">
- <div id="listDecoration#{clientId}"
class="rich-inplace-select-list-decoration">
- <div id="list#{clientId}"
class="rich-inplace-select-list-scroll">
+ <div id="#{clientId}listPosition"
class="rich-inplace-select-list-position">
+ <div id="#{clientId}listDecoration"
class="rich-inplace-select-list-decoration">
+ <div id="#{clientId}list"
class="rich-inplace-select-list-scroll">
<c:object type="java.util.List" var="items"
value="#{this:encodeItems(context,component)}">
</c:object>
</div>
@@ -217,9 +217,9 @@
}
};
- new Richfaces.InplaceSelect(new
Richfaces.InplaceSelectList('list#{clientId}', 'listParent#{clientId}',
true,
+ new Richfaces.InplaceSelect(new
Richfaces.InplaceSelectList('#{clientId}list', '#{clientId}listParent',
true,
inplaceSelectUserStyles.combolist,
Richfaces.InplaceSelect.classes.combolist,
'#{component.attributes["listWidth"]}',
'#{component.attributes["listHeight"]}',
#{this:getItemsTextAsJSArray(context, component,items)}, null,
- '#{clientId}inplaceTmpValue', 'shadow#{clientId}', 0, 0,
#{encodedFieldValue}),
+ '#{clientId}inplaceTmpValue', '#{clientId}shadow', 0, 0,
#{encodedFieldValue}),
'#{clientId}', '#{clientId}inplaceTmpValue',
'#{clientId}inplaceValue', '#{clientId}tabber',
{defaultLabel :
'#{component.attributes["defaultLabel"]}',