myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1099564 - in /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main: java/org/apache/myfaces/tobago/example/test/Filter.java webapp/tx/label/ webapp/tx/label/label.xhtml
Date Wed, 04 May 2011 19:24:36 GMT
Author: lofwyr
Date: Wed May  4 19:24:36 2011
New Revision: 1099564

URL: http://svn.apache.org/viewvc?rev=1099564&view=rev
Log:
TOBAGO-993: tx:label not working in facelets
 - test example

Added:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/label.xhtml
Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Filter.java

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Filter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Filter.java?rev=1099564&r1=1099563&r2=1099564&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Filter.java
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Filter.java
Wed May  4 19:24:36 2011
@@ -79,6 +79,7 @@ public class Filter {
       "/tc/gridLayout/tabGroup-.*", // todo: measurement problem with firefox?
       "/tc/gridLayout/transparent-for-layout.jspx", // uses facelets templating
       "/tc/mediator/tomahawk-inputHtml.*", // todo
+      "/tx/label/label.xhtml", // todo
       "/type/.*" // todo
   ));
 

Added: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/label.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/label.xhtml?rev=1099564&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/label.xhtml
(added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tx/label/label.xhtml
Wed May  4 19:24:36 2011
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+
+<f:view
+    xmlns:tc="http://myfaces.apache.org/tobago/component"
+    xmlns:tx="http://myfaces.apache.org/tobago/extension"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:f="http://java.sun.com/jsf/core">
+
+  <tc:page id="page">
+    <f:facet name="layout">
+      <tc:gridLayout rows="auto;auto;auto;auto"/>
+    </f:facet>
+    <tc:gridLayoutConstraint width="600px" height="600px"/>
+
+    <!-- todo: facelet not working yet TOBAGO-993 -->
+
+    <tx:label value="label">
+      <tc:in value="value"/>
+    </tx:label>
+
+  </tc:page>
+</f:view>



Mime
View raw message