Author: vmolotkov
Date: 2007-10-26 14:50:55 -0400 (Fri, 26 Oct 2007)
New Revision: 3577
Added:
trunk/sandbox/ui/orderingList/src/main/templates/org/
trunk/sandbox/ui/orderingList/src/main/templates/org/richfaces/
trunk/sandbox/ui/orderingList/src/main/templates/org/richfaces/htmlSelectOrderShuttle.jspx
Log:
htmlSelectOrderShuttle.jspx is added
Added:
trunk/sandbox/ui/orderingList/src/main/templates/org/richfaces/htmlSelectOrderShuttle.jspx
===================================================================
---
trunk/sandbox/ui/orderingList/src/main/templates/org/richfaces/htmlSelectOrderShuttle.jspx
(rev 0)
+++
trunk/sandbox/ui/orderingList/src/main/templates/org/richfaces/htmlSelectOrderShuttle.jspx 2007-10-26
18:50:55 UTC (rev 3577)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http://ajax4jsf.org/cdk/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+ baseclass="org.richfaces.renderkit.html.SelectOrderShuttleRendererBase"
+ class="org.richfaces.renderkit.html.SelectOrderShuttleRenderer"
+ component="org.richfaces.component.UISelectOrderShuttle"
+ >
+ <h:styles>css/selectOrderShuttle.xcss</h:styles>
+
+ <h:scripts>
+ scripts/StringBuilder.js,scripts/SelectItem.js,scripts/SelectOrderShuttle.js
+ </h:scripts>
+
+ <f:clientid var="clientId"/>
+ <div id="#{clientId}">
+ <vcp:body>
+ <input type="text" value="dsfdsf"
name="asdasdas"/>
+ <f:call name="renderChildren" />
+ </vcp:body>
+ </div>
+ <a href="#"
onclick="shuttle.sort();">Header</a><br/>
+ <a href="#"
onclick="shuttle.moveSelectedItems('up');">up</a><br/>
+ <a href="#"
onclick="shuttle.moveSelectedItems('down');">down</a><br/>
+ <a href="#"
onclick="shuttle.moveSelectedItems('first');">first</a><br/>
+ <a href="#"
onclick="shuttle.moveSelectedItems('last');">last</a>
+ <script type="text/javascript">
+ #{this:initJSShuttleObject(context, component)}
+ document.body.onselectstart = function() {return false;};
+ document.body.className = "body";
+
+ </script>
+</f:root>
\ No newline at end of file