myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r396312 - in /myfaces/tobago/trunk: core/src/main/java/org/apache/myfaces/tobago/taglib/component/ example/demo/src/main/webapp/mini-howto/ example/demo/src/main/webapp/overview/ tobago-tool/gendoc/src/main/webapp/screenshot/
Date Sun, 23 Apr 2006 20:18:21 GMT
Author: lofwyr
Date: Sun Apr 23 13:18:18 2006
New Revision: 396312

URL: http://svn.apache.org/viewcvs?rev=396312&view=rev
Log:
TOBAGO-56 rename tags to menuCheckbox and menuRadio

Added:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTag.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTagDeclaration.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTag.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTagDeclaration.java
Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
    myfaces/tobago/trunk/example/demo/src/main/webapp/mini-howto/menubar.jsp
    myfaces/tobago/trunk/example/demo/src/main/webapp/overview/menubar.jsp
    myfaces/tobago/trunk/example/demo/src/main/webapp/overview/toolbar.jsp
    myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/menuBar.jsp

Added: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTag.java?rev=396312&view=auto
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTag.java
(added)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTag.java
Sun Apr 23 13:18:18 2006
@@ -0,0 +1,26 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+/*
+ * $Id: MenuSelectOneTag.java 390886 2006-04-02 19:32:32Z bommel $
+ */
+
+public class MenuCheckboxTag extends SelectBooleanCommandTag
+    implements MenuSelectBooleanTagDeclaration {
+
+}

Added: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTagDeclaration.java?rev=396312&view=auto
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTagDeclaration.java
(added)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCheckboxTagDeclaration.java
Sun Apr 23 13:18:18 2006
@@ -0,0 +1,43 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
+import org.apache.myfaces.tobago.taglib.decl.HasBooleanValue;
+import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+
+/*
+ * $Id: MenuSelectOneTag.java 390886 2006-04-02 19:32:32Z bommel $
+ */
+
+/**
+ * Renders a checkable menuitem.
+ */
+
+@Tag(name = "menuCheckbox", tagExtraInfoClassName = "org.apache.myfaces.tobago.taglib.component.CommandTagExtraInfo")
+@UIComponentTag(
+    uiComponent = "org.apache.myfaces.tobago.component.UISelectBooleanCommand",
+    rendererType = "MenuCommand")
+public interface MenuCheckboxTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, IsDisabled, HasCommandType, HasBooleanValue, HasLabelAndAccessKey,
+    IsImmediateCommand {
+}

Added: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTag.java?rev=396312&view=auto
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTag.java
(added)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTag.java
Sun Apr 23 13:18:18 2006
@@ -0,0 +1,26 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+/*
+ * $Id: MenuSelectOneTag.java 390886 2006-04-02 19:32:32Z bommel $
+ */
+
+public class MenuRadioTag extends SelectOneCommandTag
+    implements MenuSelectOneTagDeclaration {
+
+}

Added: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTagDeclaration.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTagDeclaration.java?rev=396312&view=auto
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTagDeclaration.java
(added)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuRadioTagDeclaration.java
Sun Apr 23 13:18:18 2006
@@ -0,0 +1,42 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.taglib.decl.HasLabel;
+import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.taglib.decl.HasAction;
+import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
+import org.apache.myfaces.tobago.taglib.decl.HasValue;
+import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+
+/*
+ * $Id: MenuSelectOneTag.java 390886 2006-04-02 19:32:32Z bommel $
+ */
+
+/**
+ * Renders a submenu with select one items (like a radio button).
+ */
+@Tag(name = "menuRadio", tagExtraInfoClassName = "org.apache.myfaces.tobago.taglib.component.CommandTagExtraInfo")
+@UIComponentTag(
+    uiComponent = "org.apache.myfaces.tobago.component.UISelectOneCommand",
+    rendererType = "MenuCommand")
+public interface MenuRadioTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, HasLabel, IsDisabled, HasAction, HasCommandType, HasValue, IsImmediateCommand
{
+}

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
Sun Apr 23 13:18:18 2006
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+@Deprecated
 public class MenuSelectBooleanTag extends SelectBooleanCommandTag
     implements MenuSelectBooleanTagDeclaration {
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
Sun Apr 23 13:18:18 2006
@@ -41,7 +41,7 @@
 @UIComponentTag(
     uiComponent = "org.apache.myfaces.tobago.component.UISelectBooleanCommand",
     rendererType = "MenuCommand")
-
+@Deprecated
 public interface MenuSelectBooleanTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
     HasIdBindingAndRendered, IsDisabled, HasCommandType, HasBooleanValue, HasLabelAndAccessKey,
     IsImmediateCommand {

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
Sun Apr 23 13:18:18 2006
@@ -21,6 +21,7 @@
   * $Id$
   */
 
+@Deprecated
 public class MenuSelectOneTag extends SelectOneCommandTag
     implements MenuSelectOneTagDeclaration {
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
Sun Apr 23 13:18:18 2006
@@ -41,6 +41,7 @@
 @UIComponentTag(
     uiComponent = "org.apache.myfaces.tobago.component.UISelectOneCommand",
     rendererType = "MenuCommand")
+@Deprecated
 public interface MenuSelectOneTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
     HasIdBindingAndRendered, HasLabel, IsDisabled, HasAction, HasCommandType, HasValue, IsImmediateCommand
{
 }

Modified: myfaces/tobago/trunk/example/demo/src/main/webapp/mini-howto/menubar.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/example/demo/src/main/webapp/mini-howto/menubar.jsp?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/webapp/mini-howto/menubar.jsp (original)
+++ myfaces/tobago/trunk/example/demo/src/main/webapp/mini-howto/menubar.jsp Sun Apr 23 13:18:18
2006
@@ -64,7 +64,7 @@
           <f:selectItems value="#{clientConfigController.localeItems}"/>
         </tc:menuradio>
       </tc:menu>
-      <%-- <tc:menucheck action="#{clientConfigController.submit}"
+      <%-- <tc:menuCheckbox action="#{clientConfigController.submit}"
      label="#{overviewBundle.menu_debug}"
      value="#{clientConfigController.debugMode}" />--%>
     </tc:menu>

Modified: myfaces/tobago/trunk/example/demo/src/main/webapp/overview/menubar.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/example/demo/src/main/webapp/overview/menubar.jsp?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/webapp/overview/menubar.jsp (original)
+++ myfaces/tobago/trunk/example/demo/src/main/webapp/overview/menubar.jsp Sun Apr 23 13:18:18
2006
@@ -74,7 +74,7 @@
                 <f:selectItems value="#{clientConfigController.localeItems}" />
               </tc:menuradio>
             </tc:menu>
-           <%-- <tc:menucheck action="#{clientConfigController.submit}"
+           <%-- <tc:menuCheckbox action="#{clientConfigController.submit}"
                 label="#{overviewBundle.menu_debug}"
                 value="#{clientConfigController.debugMode}" />--%>
           </tc:menu>

Modified: myfaces/tobago/trunk/example/demo/src/main/webapp/overview/toolbar.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/example/demo/src/main/webapp/overview/toolbar.jsp?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/webapp/overview/toolbar.jsp (original)
+++ myfaces/tobago/trunk/example/demo/src/main/webapp/overview/toolbar.jsp Sun Apr 23 13:18:18
2006
@@ -170,7 +170,7 @@
 
             <tc:menuItem action="http://www.atanion.com" type="navigate" disabled="true"
label="disabled" />
 
-            <tc:menucheck action="#{demo.clickButton}"  label="#{overviewBundle.toolbar_linkClickme}"
value="#{demo.boolTest}" />
+            <tc:menuCheckbox action="#{demo.clickButton}"  label="#{overviewBundle.toolbar_linkClickme}"
value="#{demo.boolTest}" />
           </tc:menu>
           <tc:menu label="Menu 2">
 
@@ -199,9 +199,9 @@
 
             <tc:menuSeparator/>
 
-            <tc:menucheck label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[0]}"
/>
-            <tc:menucheck label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[1]}"
/>
-            <tc:menucheck label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[2]}"
/>
+            <tc:menuCheckbox label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[0]}"
/>
+            <tc:menuCheckbox label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[1]}"
/>
+            <tc:menuCheckbox label="#{overviewBundle.toolbar_linkClickme}" value="#{demo.bool[2]}"
/>
 
           </tc:menu>
 

Modified: myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/menuBar.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/menuBar.jsp?rev=396312&r1=396311&r2=396312&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/menuBar.jsp (original)
+++ myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/menuBar.jsp Sun Apr
23 13:18:18 2006
@@ -33,7 +33,7 @@
             <tc:menuItem label="Print"/>
             <tc:menuSeparator/>
             <tc:menuItem label="Exit"/>
-            <tc:menucheck label="Administration Mode"/>
+            <tc:menuCheckbox label="Administration Mode"/>
           </tc:menu>
 
           <%-- code-sniplet-start id="menu" --%>



Mime
View raw message