You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/11/20 09:45:48 UTC
svn commit: r477104 - in /myfaces/tobago/trunk/example:
demo/src/main/webapp/overview/layout.jsp
sandbox/src/main/webapp/separator.jsp
Author: bommel
Date: Mon Nov 20 00:45:42 2006
New Revision: 477104
URL: http://svn.apache.org/viewvc?view=rev&rev=477104
Log:
moved separator example to sanbox
Added:
myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp
Modified:
myfaces/tobago/trunk/example/demo/src/main/webapp/overview/layout.jsp
Modified: myfaces/tobago/trunk/example/demo/src/main/webapp/overview/layout.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/webapp/overview/layout.jsp?view=diff&rev=477104&r1=477103&r2=477104
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/webapp/overview/layout.jsp (original)
+++ myfaces/tobago/trunk/example/demo/src/main/webapp/overview/layout.jsp Mon Nov 20 00:45:42 2006
@@ -16,7 +16,6 @@
--%>
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
-<%@ taglib uri="http://myfaces.apache.org/tobago/sandbox" prefix="tcs" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
@@ -31,7 +30,7 @@
<%-- code-sniplet-start id="layoutManagementExample" --%>
<tc:box label="#{overviewBundle.layout_exampleTitle}">
<f:facet name="layout">
- <tc:gridLayout columns="1*;1*" rows="fixed;fixed;fixed;fixed;fixed;fixed;*"/>
+ <tc:gridLayout columns="1*;1*" rows="fixed;fixed;fixed;fixed;fixed;*"/>
</f:facet>
<tx:selectOneChoice value="#{overviewController.singleValue}"
label="#{overviewBundle.layout_salutation}"
@@ -39,13 +38,6 @@
<f:selectItems value="#{overviewController.items}" />
</tx:selectOneChoice>
<tc:cell/>
-
- <tcs:separator />
- <tcs:separator>
- <f:facet name="label">
- <tc:label value="Test" />
- </f:facet>
- </tcs:separator>
<tx:in value="" label="#{overviewBundle.layout_firstName}" />
<tx:in value="" label="#{overviewBundle.layout_lastName}" />
Added: myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp?view=auto&rev=477104
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp (added)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp Mon Nov 20 00:45:42 2006
@@ -0,0 +1,50 @@
+<%--
+ * 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.
+--%>
+
+<%--
+ User: bommel
+ Date: Nov 20, 2006
+ Time: 9:29:45 AM
+--%>
+<%@ 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 - Separator" width="500px" height="800px">
+ <f:facet name="layout">
+ <tc:gridLayout margin="10px" rows="*"/>
+ </f:facet>
+ <tc:box label="Separator">
+ <f:facet name="layout">
+ <tc:gridLayout columns="1*;1*" rows="fixed;fixed;*"/>
+ </f:facet>
+ <tc:cell/>
+ <tc:cell/>
+ <tcs:separator />
+ <tcs:separator>
+ <f:facet name="label">
+ <tc:label value="Test" />
+ </f:facet>
+ </tcs:separator>
+ <tc:cell/>
+ <tc:cell/>
+ </tc:box>
+ </tc:page>
+</f:view>
\ No newline at end of file