Author: nbelaevski
Date: 2007-11-29 19:39:08 -0500 (Thu, 29 Nov 2007)
New Revision: 4367
Modified:
branches/3.1.x/sandbox/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
Log:
latest changes for listShuttle
Modified:
branches/3.1.x/sandbox/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
===================================================================
---
branches/3.1.x/sandbox/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-11-29
20:58:10 UTC (rev 4366)
+++
branches/3.1.x/sandbox/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-11-30
00:39:08 UTC (rev 4367)
@@ -67,7 +67,8 @@
.ol_internal_tab .ol_endcol{border-right : 0px;}
-.ol_internal_tab td{font-family : Arial; font-size :11px; border-bottom : 1px solid
#bfbfc0; border-top : 1px solid #FFFFFF; padding : 2px;}
+/*.ol_internal_tab td{font-family : Arial; font-size :11px; border-bottom : 1px solid
#bfbfc0; border-top : 1px solid #FFFFFF; padding : 2px;}
+*/
.ol_internal_tab tr.ol_select{background : #EAF0F8}
@@ -452,12 +453,6 @@
<u:style name="font-weight" skin="headerWeightFont" />
</u:selector>
- <u:selector name=".rich-ordering-list-row-active">
- <u:style name="font-family" skin="headerFamilyFont" />
- <u:style name="font-size" skin="headerSizeFont" />
- <u:style name="font-weight" skin="headerWeightFont" />
- </u:selector>
-
<u:selector name=".rich-ordering-list-row-selected">
<u:style name="background-image">
<f:resource
f:key="org.richfaces.renderkit.html.gradientimages.OrderingListSelectGradient"
/>
Modified:
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
===================================================================
---
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-11-29
20:58:10 UTC (rev 4366)
+++
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-11-30
00:39:08 UTC (rev 4367)
@@ -138,14 +138,7 @@
<f:clientId var="cId"/>
<script type="text/javascript">
var clientId = '#{cId}';
- if (window.attachEvent) {
- window.attachEvent("onload", init);
- } else {
- window.addEventListener("load", init, false);
- }
- document.body.onselectstart = function() {return false;};
- document.body.className = "body";
- function init() {
+ Event.onReady(function() {
var cotrolsIdPrefix = [['up', 'disup'], ['down',
'disdown'], ['last', 'dislast'],
['first','disfirst']];
var listShuttleCotrolsIdPrefix = [['copy', 'discopy'],
['copyAll', 'discopyAll'], ['remove', 'disremove'],
['removeAll','disremoveAll']];
var listShuttle = new Richfaces.ListShuttle(new
Richfaces.OrderingList('#{cId}', '#{cId}tlInternal_tab',
'#{cId}tlInternal_header_tab', '#{cId}tlFocusKeeper',
'#{cId}tlValueKeeper', cotrolsIdPrefix, '#{cId}sortLabel', function()
{#{component.attributes['onorderchanged']}}),
@@ -155,7 +148,7 @@
var targetLayoutManager = new LayoutManager('#{cId}tlInternal_header_tab',
'#{cId}tlInternal_tab');
sourceLayoutManager.widthSynchronization();
targetLayoutManager.widthSynchronization();
- }
+ });
//setTimeout(init, 0);
</script>
</f:root>
\ No newline at end of file