You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by pl...@apache.org on 2007/04/25 19:40:49 UTC

svn commit: r532418 - in /myfaces/tobago/trunk/example/sandbox/src/main/webapp: WEB-INF/tobago-config.xml inputSlider.jsp navigation.jsp

Author: pleff
Date: Wed Apr 25 10:40:49 2007
New Revision: 532418

URL: http://svn.apache.org/viewvc?view=rev&rev=532418
Log:
Added input number slider example to sandbox.

Added:
    myfaces/tobago/trunk/example/sandbox/src/main/webapp/inputSlider.jsp
Modified:
    myfaces/tobago/trunk/example/sandbox/src/main/webapp/WEB-INF/tobago-config.xml
    myfaces/tobago/trunk/example/sandbox/src/main/webapp/navigation.jsp

Modified: myfaces/tobago/trunk/example/sandbox/src/main/webapp/WEB-INF/tobago-config.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/WEB-INF/tobago-config.xml?view=diff&rev=532418&r1=532417&r2=532418
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/WEB-INF/tobago-config.xml (original)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/WEB-INF/tobago-config.xml Wed Apr 25 10:40:49 2007
@@ -23,7 +23,7 @@
 <tobago-config>
 
   <theme-config>
-    <default-theme>speyside</default-theme>
+    <default-theme>sandbox</default-theme>
   </theme-config>
 
   <resource-dir>tobago-resource</resource-dir>

Added: myfaces/tobago/trunk/example/sandbox/src/main/webapp/inputSlider.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/inputSlider.jsp?view=auto&rev=532418
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/inputSlider.jsp (added)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/inputSlider.jsp Wed Apr 25 10:40:49 2007
@@ -0,0 +1,40 @@
+<%--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+--%>
+
+<%@ taglib uri="http://myfaces.apache.org/tobago/sandbox" prefix="tcs" %>
+<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+
+<f:view>
+  <tc:loadBundle basename="demo" var="bundle"/>
+
+  <tc:page label="Sandbox - InputSlider" width="500px" height="800px">
+    <f:facet name="layout">
+      <tc:gridLayout margin="10px" rows="*"/>
+    </f:facet>
+    <tc:box label="InputSlider">
+      <f:facet name="layout">
+        <tc:gridLayout columns="fixed;*" rows="fixed;*"/>
+      </f:facet>
+      <tcs:numberSlider value="80" min="0" max="200">
+      </tcs:numberSlider>
+      <tc:cell/>
+      <tc:cell/>
+      <tc:cell/>
+    </tc:box>
+  </tc:page>
+</f:view>
\ No newline at end of file

Modified: myfaces/tobago/trunk/example/sandbox/src/main/webapp/navigation.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/navigation.jsp?view=diff&rev=532418&r1=532417&r2=532418
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/navigation.jsp (original)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/navigation.jsp Wed Apr 25 10:40:49 2007
@@ -25,7 +25,7 @@
            width="200px" height="800px">
     <f:facet name="layout">
       <tc:gridLayout margin="5px"
-                     rows="fixed;fixed;fixed;fixed;fixed;*"/>
+                     rows="fixed;fixed;fixed;fixed;fixed;fixed;*"/>
     </f:facet>
 
     <tc:link link="separator.jsp" label="separator.jsp" target="View"/>
@@ -37,6 +37,8 @@
     <tc:link link="tree-menu.jsp" label="tree-menu.jsp" target="View"/>
 
     <tc:link link="tree-editor.jsp" label="tree-editor.jsp" target="View"/>
+
+    <tc:link link="inputSlider.jsp" label="inputSlider.jsp" target="View"/>
 
     <tc:cell/>
   </tc:page>