You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/07/03 09:24:24 UTC

svn commit: r1356585 - in /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar: menuBar-fieldId.xhtml menuBar.xhtml

Author: lofwyr
Date: Tue Jul  3 07:24:23 2012
New Revision: 1356585

URL: http://svn.apache.org/viewvc?rev=1356585&view=rev
Log:
TOBAGO-1167: <tx:menuCheckbox> and <tx:menuRadio> should have the attributes "id" and "fieldId"

Added:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar-fieldId.xhtml
Modified:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar.xhtml

Added: myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar-fieldId.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar-fieldId.xhtml?rev=1356585&view=auto
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar-fieldId.xhtml (added)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar-fieldId.xhtml Tue Jul  3 07:24:23 2012
@@ -0,0 +1,35 @@
+<?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:f="http://java.sun.com/jsf/core"
+    xmlns:tx="http://myfaces.apache.org/tobago/extension">
+  <tc:page id="page">
+    <tc:menuBar>
+      <tc:menu label="Menu">
+        <tx:menuCheckbox label="x" id="cidXXX" fieldId="fidXXX"/>
+        <tx:menuRadio id="cidAAA" fieldId="fidAAA">
+          <tc:selectItem itemLabel="test" itemValue="test"/>
+        </tx:menuRadio>
+      </tc:menu>
+    </tc:menuBar>
+  </tc:page>
+
+</f:view>

Modified: myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar.xhtml?rev=1356585&r1=1356584&r2=1356585&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar.xhtml (original)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/menuBar/menuBar.xhtml Tue Jul  3 07:24:23 2012
@@ -1,4 +1,5 @@
 <?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
@@ -18,7 +19,6 @@
 
 <f:view
     xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page>