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/04/01 21:47:29 UTC

svn commit: r390739 [1/2] - in /incubator/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/component/ tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ tobago-core/src/main/resources/META-INF/ tobago-theme/tobago-th...

Author: bommel
Date: Sat Apr  1 11:47:24 2006
New Revision: 390739

URL: http://svn.apache.org/viewcvs?rev=390739&view=rev
Log:
next step for facelet

Added:
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java
Modified:
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/DateTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/InTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneChoiceTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneCommandTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneListboxTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeTagDeclaration.java
    incubator/tobago/trunk/tobago-core/src/main/resources/META-INF/faces-config.xml
    incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuBarRenderer.java
    incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/RichTextEditorRenderer.java
    incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
    incubator/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRenderer.java
    incubator/tobago/trunk/tobago-tool/tobago-tool-apt/pom.xml
    incubator/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FaceletAnnotationVisitor.java
    incubator/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,28 @@
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Copyright 2002-2005 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.
+ */
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 21:36:15
+ * To change this template use File | Settings | File Templates.
+ */
+public class UIMenu extends UIPanel {
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Menu";
+}

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,29 @@
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Copyright 2002-2005 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.
+ */
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 20:19:19
+ * To change this template use File | Settings | File Templates.
+ */
+public class UIMenuCommand extends UICommand {
+
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.MenuCommand";
+}

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,29 @@
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Copyright 2002-2005 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.
+ */
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 20:47:00
+ * To change this template use File | Settings | File Templates.
+ */
+public class UIMenuSeparator extends UIPanel {
+
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.MenuSeparator";
+}

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,29 @@
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Copyright 2002-2005 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.
+ */
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 21:16:45
+ * To change this template use File | Settings | File Templates.
+ */
+public class UISelectBooleanCommand extends UICommand {
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SelectBooleanCommand";
+
+}

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,29 @@
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Copyright 2002-2005 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.
+ */
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 20:58:31
+ * To change this template use File | Settings | File Templates.
+ */
+public class UISelectOneCommand extends UICommand {
+
+   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SelectOneCommand";
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -26,7 +26,7 @@
  * Renders a panel with border and title.
  */
 @Tag(name = "box")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Panel",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIPanel",
     RendererType = "Box")
 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -45,7 +45,7 @@
  */
 @Tag(name = "button")
 @BodyContentDescription(anyTagOf = "facestag")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Command",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UICommand",
     RendererType = "Button")
 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -33,7 +33,7 @@
  * Renders a calendar.
  */
 @Tag(name = "calendar", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Calendar",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UIOutput",
     RendererType = "Calendar")
 public interface CalendarTagDeclaration extends TobagoTagDeclaration, HasIdBindingAndRendered, HasValue {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -35,7 +35,7 @@
  * A panel with ability to span over more than one layout cells.
  */
 @Tag(name = "cell")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Cell",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UICell",
     RendererType = "Panel")
 public interface CellTagDeclaration extends TobagoBodyTagDeclaration, 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -19,7 +19,7 @@
  * Renders a column with checkboxes to mark selected row's.
  */
 @Tag(name = "columnSelector", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.ColumnSelector",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIColumnSelector",
     RendererType = "ColumnSelector")
 public interface ColumnSelectorTagDeclaration extends TobagoTagDeclaration, IsDisabled, IsRendered, HasBinding {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -36,7 +36,7 @@
  * parent UIData component.
  */
 @Tag(name = "column")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Column",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UIColumn",
     RendererType = "Column")
 public interface ColumnTagDeclaration extends TobagoTagDeclaration, HasIdBindingAndRendered, HasLabel {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/DateTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/DateTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/DateTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/DateTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -37,7 +37,7 @@
  * Renders a date input field.
  */
 @Tag(name = "date")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Input",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIInput",
     RendererType = RENDERER_TYPE_DATE)
 public interface DateTagDeclaration

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -35,7 +35,7 @@
  * Renders a file input field.
  */
 @Tag(name = "file")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.FileInput",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIFileInput",
     RendererType = "File")
 public interface FileTagDeclaration

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -29,7 +29,7 @@
  * To change this template use File | Settings | File Templates.
  */
 @Tag(name = "form")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Form",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIForm",
     RendererType = "Form")
 public interface FormTagDeclaration extends TobagoBodyTagDeclaration,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -37,7 +37,7 @@
  */
 
 @Tag(name = "gridLayout", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.GridLayout",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIGridLayout",
     RendererType = "GridLayout")
 public interface GridLayoutTagDeclaration extends TobagoTagDeclaration, HasId, HasBorder, HasCellspacing, HasMargin,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -32,7 +32,7 @@
  * Renders a 'hidden' input element.
  */
 @Tag(name = "hidden")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.HiddenInput",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIHiddenInput",
     RendererType = "Hidden")
 public interface HiddenTagDeclaration extends BeanTagDeclaration, HasId, HasBinding, HasValue {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -35,7 +35,7 @@
  *  Renders a Image.
  */
 @Tag(name = "image", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "javax.faces.Graphic",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UIGraphic",
     RendererType = "Image")
 public interface ImageTagDeclaration extends TobagoTagDeclaration,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/InTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/InTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/InTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/InTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -44,7 +44,7 @@
  */
 @Tag(name = "in")
 @BodyContentDescription(anyTagOf = "facestag")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Input",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIInput",
     RendererType = "In")
 public interface InTagDeclaration

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -39,7 +39,7 @@
  * Renders a label component.
  */
 @Tag(name = "label", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Label",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UILabel",
     RendererType = "Label")
 public interface LabelTagDeclaration extends BeanTagDeclaration, HasIdBindingAndRendered,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -44,7 +44,7 @@
  */
 @Tag(name = "link")
 @BodyContentDescription(anyTagOf = "facestag")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Command",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UICommand",
     RendererType = "Link")
 public interface LinkTagDeclaration extends CommandTagDeclaration,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -20,6 +20,7 @@
 import org.apache.myfaces.tobago.taglib.decl.HasWidth;
 import org.apache.myfaces.tobago.apt.annotation.Tag;
 import org.apache.myfaces.tobago.apt.annotation.BodyContentDescription;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
 
 /*
  * Created by IntelliJ IDEA.
@@ -40,6 +41,8 @@
         "org.apache.myfaces.tobago.taglib.component.MenuSelectBooleanTag",
         "org.apache.myfaces.tobago.taglib.component.MenuSelectOneTag",
         "org.apache.myfaces.tobago.taglib.component.MenuSeparatorTag" })
-
+@UIComponentTag(
+    UIComponent = "javax.faces.component.UIPanel",
+    RendererType = "MenuBar")
 public interface MenuBarTagDeclaration extends TobagoBodyTagDeclaration, HasIdBindingAndRendered, HasWidth {
 }

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTag.java Sat Apr  1 11:47:24 2006
@@ -17,39 +17,30 @@
  */
 
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_ACCESS_KEY;
-import static org.apache.myfaces.tobago.TobagoConstants.ATTR_COMMAND_TYPE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_IMAGE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL_WITH_ACCESS_KEY;
 import static org.apache.myfaces.tobago.TobagoConstants.RENDERER_TYPE_MENUCOMMAND;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
 import org.apache.myfaces.tobago.component.ComponentUtil;
-import org.apache.myfaces.tobago.taglib.decl.HasAction;
-import org.apache.myfaces.tobago.taglib.decl.HasActionListener;
-import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
-import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.taglib.decl.HasImage;
-import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
-import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
-import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+import org.apache.myfaces.tobago.component.UIMenuCommand;
 
 import javax.faces.component.UIComponent;
 
-/**
- * Renders a menu item.
- */
-@Tag(name = "menuItem")
+
 public class MenuCommandTag extends CommandTag
-    implements HasIdBindingAndRendered, HasLabelAndAccessKey, IsDisabled, HasAction,
-    HasActionListener, HasCommandType, HasImage, IsImmediateCommand {
+    implements MenuCommandTagDeclaration {
 
-  public static final String COMMAND_TYPE = "menuCommand";
+  //public static final String COMMAND_TYPE = "menuCommand";
 
   private String image;
   private String label;
   private String accessKey;
   private String labelWithAccessKey;
 
+  public String getComponentType() {
+    return UIMenuCommand.COMPONENT_TYPE;
+  }
+
   public void release() {
     super.release();
     image = null;
@@ -62,7 +53,7 @@
     super.setProperties(component);
     component.setRendererType(RENDERER_TYPE_MENUCOMMAND);
     ComponentUtil.setStringProperty(component, ATTR_IMAGE, image);
-    ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, COMMAND_TYPE);
+    //ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, COMMAND_TYPE);
     ComponentUtil.setStringProperty(component, ATTR_LABEL, label);
     ComponentUtil.setStringProperty(component, ATTR_ACCESS_KEY, accessKey);
     ComponentUtil.setStringProperty(component, ATTR_LABEL_WITH_ACCESS_KEY, labelWithAccessKey);

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,46 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.taglib.decl.HasAction;
+import org.apache.myfaces.tobago.taglib.decl.HasActionListener;
+import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
+import org.apache.myfaces.tobago.taglib.decl.HasImage;
+import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 21:14:17
+ * To change this template use File | Settings | File Templates.
+ */
+/**
+ * Renders a menu item.
+ */
+@Tag(name = "menuItem")
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UIMenuCommand",
+    RendererType = "MenuCommand")
+public interface MenuCommandTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration, HasIdBindingAndRendered,
+    HasLabelAndAccessKey, IsDisabled, HasAction, HasActionListener, HasCommandType, HasImage, IsImmediateCommand {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTag.java Sat Apr  1 11:47:24 2006
@@ -16,21 +16,7 @@
  * limitations under the License.
  */
 
-import org.apache.myfaces.tobago.apt.annotation.Tag;
-import org.apache.myfaces.tobago.taglib.decl.HasAction;
-import org.apache.myfaces.tobago.taglib.decl.HasBooleanValue;
-import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
-import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
-import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
-import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
-
-/**
- * Renders a checkable menuitem.
- */
-@Tag(name = "menucheck")
 public class MenuSelectBooleanTag extends SelectBooleanCommandTag
-    implements HasIdBindingAndRendered, IsDisabled, HasAction, HasCommandType,
-    HasBooleanValue, HasLabelAndAccessKey, IsImmediateCommand {
+    implements MenuSelectBooleanTagDeclaration {
 
 }

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,49 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+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.HasBooleanValue;
+import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 21:46:55
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a checkable menuitem.
+ */
+
+@Tag(name = "menucheck")
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UISelectBooleanCommand",
+    RendererType = "MenuCommand")
+
+public interface MenuSelectBooleanTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, IsDisabled, HasAction, HasCommandType, HasBooleanValue, HasLabelAndAccessKey,
+    IsImmediateCommand {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTag.java Sat Apr  1 11:47:24 2006
@@ -22,6 +22,7 @@
   */
 
 import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
 import org.apache.myfaces.tobago.taglib.decl.HasAction;
 import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
 import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
@@ -30,12 +31,8 @@
 import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
 import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
 
-/**
- * Renders a submenu with select one items.
- */
-@Tag(name = "menuradio")
+
 public class MenuSelectOneTag extends SelectOneCommandTag
-    implements HasIdBindingAndRendered, HasLabel, IsDisabled, HasAction,
-    HasCommandType, HasValue, IsImmediateCommand {
+    implements MenuSelectOneTagDeclaration {
 
 }

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,46 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.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;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 22:07:57
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a submenu with select one items.
+ */
+@Tag(name = "menuradio")
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UISelectOneCommand",
+    RendererType = "MenuCommand")
+public interface MenuSelectOneTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, HasLabel, IsDisabled, HasAction, HasCommandType, HasValue, IsImmediateCommand {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java Sat Apr  1 11:47:24 2006
@@ -21,32 +21,29 @@
   * $Id$
   */
 
-import static org.apache.myfaces.tobago.TobagoConstants.ATTR_COMMAND_TYPE;
 import org.apache.myfaces.tobago.apt.annotation.BodyContent;
 import org.apache.myfaces.tobago.apt.annotation.Tag;
-import org.apache.myfaces.tobago.component.ComponentUtil;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+import org.apache.myfaces.tobago.component.UIMenuSeparator;
 import org.apache.myfaces.tobago.taglib.decl.HasBinding;
 import org.apache.myfaces.tobago.taglib.decl.IsRendered;
 
 import javax.faces.component.UIComponent;
-import javax.faces.component.UIOutput;
 
-/**
- * Renders a separator.
- */
-@Tag(name = "menuSeparator", bodyContent = BodyContent.EMPTY)
+
+
 public class MenuSeparatorTag extends TobagoTag
-    implements IsRendered, HasBinding {
+    implements MenuSeparatorTagDeclaration {
 
-  public static final String MENU_TYPE = "menuSeparator";
+  //public static final String MENU_TYPE = "menuSeparator";
 
   protected void setProperties(UIComponent component) {
     super.setProperties(component);
     component.setRendererType(null);
-    ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, MENU_TYPE);
+    //ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, MENU_TYPE);
   }
 
   public String getComponentType() {
-    return UIOutput.COMPONENT_TYPE;
+    return UIMenuSeparator.COMPONENT_TYPE;
   }
 }

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,41 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.IsRendered;
+import org.apache.myfaces.tobago.taglib.decl.HasBinding;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.BodyContent;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 22:05:46
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a separator.
+ */
+@Tag(name = "menuSeparator", bodyContent = BodyContent.EMPTY)
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UIMenuSeparator")
+
+public interface MenuSeparatorTagDeclaration extends TobagoTagDeclaration, IsRendered, HasBinding {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTag.java Sat Apr  1 11:47:24 2006
@@ -17,36 +17,19 @@
  */
 
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_ACCESS_KEY;
-import static org.apache.myfaces.tobago.TobagoConstants.ATTR_COMMAND_TYPE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_IMAGE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL_WITH_ACCESS_KEY;
-import org.apache.myfaces.tobago.apt.annotation.BodyContentDescription;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
 import org.apache.myfaces.tobago.component.ComponentUtil;
-import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.taglib.decl.HasImage;
-import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
-import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.component.UIMenu;
 
 import javax.faces.component.UIComponent;
-import javax.faces.component.UIPanel;
 
-/**
- * Container component to hold submenus and items.
- */
-@Tag(name = "menu")
-@BodyContentDescription(
-    anyClassOf = { "org.apache.myfaces.tobago.taglib.component.MenuTag",
-        "org.apache.myfaces.tobago.taglib.component.MenuCommandTag",
-        "org.apache.myfaces.tobago.taglib.component.MenuSelectBooleanTag",
-        "org.apache.myfaces.tobago.taglib.component.MenuSelectOneTag",
-        "org.apache.myfaces.tobago.taglib.component.MenuSeparatorTag" })
 
 public class MenuTag extends TobagoTag
-    implements HasIdBindingAndRendered, HasLabelAndAccessKey, IsDisabled, HasImage {
+    implements MenuTagDeclaration {
 
-  public static final String MENU_TYPE = "menu";
+  //public static final String MENU_TYPE = "menu";
 
   private String label;
   private String image;
@@ -61,11 +44,11 @@
     ComponentUtil.setStringProperty(component, ATTR_ACCESS_KEY, accessKey);
     ComponentUtil.setStringProperty(component, ATTR_LABEL_WITH_ACCESS_KEY, labelWithAccessKey);
     ComponentUtil.setStringProperty(component, ATTR_IMAGE, image);
-    ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, "menu");
+    //ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, "menu");
   }
 
   public String getComponentType() {
-    return UIPanel.COMPONENT_TYPE;
+    return UIMenu.COMPONENT_TYPE;
   }
 
 

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,49 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.taglib.decl.HasImage;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.BodyContentDescription;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 21:49:41
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Container component to hold submenus and items.
+ */
+@Tag(name = "menu")
+@BodyContentDescription(
+    anyClassOf = { "org.apache.myfaces.tobago.taglib.component.MenuTag",
+        "org.apache.myfaces.tobago.taglib.component.MenuCommandTag",
+        "org.apache.myfaces.tobago.taglib.component.MenuSelectBooleanTag",
+        "org.apache.myfaces.tobago.taglib.component.MenuSelectOneTag",
+        "org.apache.myfaces.tobago.taglib.component.MenuSeparatorTag" })
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UIMenu")
+public interface MenuTagDeclaration extends TobagoTagDeclaration, HasIdBindingAndRendered, HasLabelAndAccessKey,
+    IsDisabled, HasImage {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -39,7 +39,7 @@
  */
 @Tag(name = "out")
 @BodyContentDescription(anyTagOf = "f:converter|f:convertNumber|f:convertDateTime|...")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Output",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIOutput",
     RendererType = "Out")
 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -37,7 +37,7 @@
  * TODO description of page tag
  */
 @Tag(name = "page")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Page",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIPage",
     RendererType = "Page")
 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -33,7 +33,7 @@
  * nested, such as in the case of facets.
  */
 @Tag(name = "panel")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Panel",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIPanel",
     RendererType = "Panel")
 public interface PanelTagDeclaration extends TobagoBodyTagDeclaration,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -33,7 +33,7 @@
  * Renders a progressbar.
  */
 @Tag(name = "progress", bodyContent = BodyContent.EMPTY)
-@UIComponentTag(ComponentType = "javax.faces.Output",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UIOutput",
     RendererType = "Progress")
 public interface ProgressTagDeclaration extends BeanTagDeclaration, HasIdBindingAndRendered, HasTip {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -36,7 +36,7 @@
  */
 @Tag(name = "selectBooleanCheckbox")
 @BodyContentDescription(anyTagOf = "<f:facet>* ")
-@UIComponentTag(ComponentType = "javax.faces.SelectBoolean",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UISelectBoolean",
     RendererType = "SelectBooleanCheckbox")
 public interface SelectBooleanCheckboxTagDeclaration extends InputTagDeclaration,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java Sat Apr  1 11:47:24 2006
@@ -17,7 +17,6 @@
  */
 
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_ACCESS_KEY;
-import static org.apache.myfaces.tobago.TobagoConstants.ATTR_COMMAND_TYPE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_LABEL_WITH_ACCESS_KEY;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_TIP;
@@ -25,6 +24,7 @@
 import static org.apache.myfaces.tobago.TobagoConstants.RENDERER_TYPE_MENUCOMMAND;
 import org.apache.myfaces.tobago.component.ComponentUtil;
 import org.apache.myfaces.tobago.component.UICommand;
+import org.apache.myfaces.tobago.component.UISelectBooleanCommand;
 
 import javax.faces.component.UIComponent;
 
@@ -35,7 +35,7 @@
  */
 public class SelectBooleanCommandTag extends CommandTag {
 
-  public static final String COMMAND_TYPE = "commandSelectBoolean";
+  //public static final String COMMAND_TYPE = "commandSelectBoolean";
   private String label;
   private String accessKey;
   private String labelWithAccessKey;
@@ -44,14 +44,14 @@
 
 
   public String getComponentType() {
-    return UICommand.COMPONENT_TYPE;
+    return UISelectBooleanCommand.COMPONENT_TYPE;
   }
 
   protected void setProperties(UIComponent component) {
     super.setProperties(component);
     component.setRendererType(RENDERER_TYPE_MENUCOMMAND);
     ComponentUtil.setStringProperty(component, ATTR_VALUE, value);
-    ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, COMMAND_TYPE);
+    //ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, COMMAND_TYPE);
     ComponentUtil.setStringProperty(component, ATTR_LABEL, label);
     ComponentUtil.setStringProperty(component, ATTR_ACCESS_KEY, accessKey);
     ComponentUtil.setStringProperty(component, ATTR_LABEL_WITH_ACCESS_KEY, labelWithAccessKey);

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -38,7 +38,7 @@
  */
 @Tag(name = "selectManyCheckbox")
 @BodyContentDescription(anyTagOf= "(<f:selectItems>|<f:selectItem>|<tc:selectItem>)+ <f:facet>* ")
-@UIComponentTag(ComponentType = "javax.faces.SelectMany",
+@UIComponentTag(
     UIComponent = "javax.faces.component.UISelectMany",
     RendererType = "SelectManyCheckbox")
 public interface SelectManyCheckboxTagDeclaration extends

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -37,7 +37,7 @@
  * Render a multi selection option listbox.
  */
 @Tag(name = "selectManyListbox")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.SelectMany",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UISelectMany",
     RendererType = "SelectManyListbox")
 

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -16,7 +16,6 @@
  * limitations under the License.
  */
 
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
 
 /**
  * Created: Aug 5, 2005 5:22:44 PM

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneChoiceTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneChoiceTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneChoiceTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneChoiceTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -43,7 +43,7 @@
  */
 @Tag(name = "selectOneChoice")
 @BodyContentDescription(anyTagOf = "(<f:selectItems>|<f:selectItem>|<tc:selectItem>)+ <f:facet>* ")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.SelectOne",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UISelectOne",
     RendererType = "SelectOneChoice")
 public interface SelectOneChoiceTagDeclaration

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneCommandTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneCommandTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneCommandTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneCommandTag.java Sat Apr  1 11:47:24 2006
@@ -16,11 +16,10 @@
  * limitations under the License.
  */
 
-import static org.apache.myfaces.tobago.TobagoConstants.ATTR_COMMAND_TYPE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_VALUE;
 import static org.apache.myfaces.tobago.TobagoConstants.RENDERER_TYPE_MENUCOMMAND;
 import org.apache.myfaces.tobago.component.ComponentUtil;
-import org.apache.myfaces.tobago.component.UICommand;
+import org.apache.myfaces.tobago.component.UISelectOneCommand;
 
 import javax.faces.component.UIComponent;
 
@@ -31,11 +30,10 @@
  */
 public class SelectOneCommandTag extends CommandTag {
 
-  public static final String COMMAND_TYPE = "commandSelectOne";
   private String value;
 
   public String getComponentType() {
-    return UICommand.COMPONENT_TYPE;
+    return UISelectOneCommand.COMPONENT_TYPE;
   }
 
   public void release() {
@@ -46,11 +44,8 @@
 
   protected void setProperties(UIComponent component) {
     super.setProperties(component);
-
     component.setRendererType(RENDERER_TYPE_MENUCOMMAND);
-
     ComponentUtil.setStringProperty(component, ATTR_VALUE, value);
-    ComponentUtil.setStringProperty(component, ATTR_COMMAND_TYPE, COMMAND_TYPE);
   }
 
   public String getValue() {

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneListboxTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneListboxTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneListboxTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneListboxTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -42,7 +42,7 @@
  */
 @Tag(name = "selectOneListbox")
 @BodyContentDescription(anyTagOf = "(<f:selectItems>|<f:selectItem>|<tc:selectItem>)+ <f:facet>* ")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.SelectOne",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UISelectOne",
     RendererType = "SelectOneListbox")
 public interface SelectOneListboxTagDeclaration extends SelectOneTagDeclaration, HasId, HasValue, IsDisabled,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -40,7 +40,7 @@
  */
 @Tag(name = "selectOneRadio")
 @BodyContentDescription(anyTagOf = "(<f:selectItems>|<f:selectItem>|<tc:selectItem>)+ <f:facet>* ")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.SelectOne",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UISelectOne",
     RendererType = "SelectOneRadio")
 public interface SelectOneRadioTagDeclaration extends SelectOneTagDeclaration, HasValue, IsDisabled, HasId,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTag.java Sat Apr  1 11:47:24 2006
@@ -18,23 +18,15 @@
 
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_FOR;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_RENDER_RANGE;
-import org.apache.myfaces.tobago.apt.annotation.BodyContent;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
-import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
+
 import org.apache.myfaces.tobago.component.ComponentUtil;
-import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
 
 import javax.faces.component.UIComponent;
 import javax.faces.component.UIOutput;
 
-/**
- * Renders a set of option related to and same type as the <strong>for</strong>
- * component.
- */
-@Tag(name = "selectReference", bodyContent = BodyContent.EMPTY)
+
 public class SelectReferenceTag extends TobagoTag
-    implements HasIdBindingAndRendered {
+    implements SelectReferenceTagDeclaration {
 
   private String forComponent;
   private String renderRange;
@@ -53,11 +45,6 @@
     renderRange = null;
   }
 
-  /**
-   * Id of the component, this is related to.
-   */
-  @TagAttribute(required = true)
-  @UIComponentTagAttribute()
   public void setFor(String forComponent) {
     this.forComponent = forComponent;
   }
@@ -72,11 +59,6 @@
     return renderRange;
   }
 
-  /**
-   * Range of items to render.
-   */
-  @TagAttribute(required = true)
-  @UIComponentTagAttribute()
   public void setRenderRange(String renderRange) {
     this.renderRange = renderRange;
   }

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,56 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.BodyContent;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 22:02:37
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a set of option related to and same type as the <strong>for</strong>
+ * component.
+ */
+@Tag(name = "selectReference", bodyContent = BodyContent.EMPTY)
+@UIComponentTag(
+    UIComponent = "javax.faces.component.UIOutput",
+    RendererType = "SelectReference")
+public interface SelectReferenceTagDeclaration extends TobagoTagDeclaration, HasIdBindingAndRendered {
+  /**
+   * Id of the component, this is related to.
+   */
+  @TagAttribute(required = true)
+  @UIComponentTagAttribute()
+  void setFor(String forComponent);
+
+  /**
+   * Range of items to render.
+   */
+  @TagAttribute(required = true)
+  @UIComponentTagAttribute()
+  void setRenderRange(String renderRange);
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -42,7 +42,7 @@
  * Renders a multiline text input control.
  */
 @Tag(name = "textarea")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Input",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIInput",
     RendererType = "Textarea")
 public interface TextAreaTagDeclaration extends TextInputTagDeclaration, HasIdBindingAndRendered,

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -36,7 +36,7 @@
  * Renders a time input field.
  */
 @Tag(name = "time")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.Input",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIInput",
     RendererType=RENDERER_TYPE_TIME)
 public interface TimeTagDeclaration

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java Sat Apr  1 11:47:24 2006
@@ -17,35 +17,20 @@
  */
 
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_IMAGE;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
 import org.apache.myfaces.tobago.component.ComponentUtil;
-import org.apache.myfaces.tobago.taglib.decl.HasAction;
-import org.apache.myfaces.tobago.taglib.decl.HasBooleanValue;
-import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
-import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.taglib.decl.HasImage;
-import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
-import org.apache.myfaces.tobago.taglib.decl.HasTip;
-import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
-import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
 
 import javax.faces.component.UIComponent;
 
 
-/**
- * Renders a selectable command button within a toolbar.
- */
-@Tag(name = "toolBarCheck")
+
 public class ToolBarSelectBooleanTag extends SelectBooleanCommandTag
-    implements HasIdBindingAndRendered, HasLabelAndAccessKey, HasCommandType,
-    HasImage, IsDisabled, HasAction, HasBooleanValue, HasTip, IsImmediateCommand {
+    implements ToolBarSelectBooleanTagDeclaration {
 
   private String image;
 
 
   protected void setProperties(UIComponent component) {
     super.setProperties(component);
-
     ComponentUtil.setStringProperty(component, ATTR_IMAGE, image);
   }
 

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,49 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
+import org.apache.myfaces.tobago.taglib.decl.HasImage;
+import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
+import org.apache.myfaces.tobago.taglib.decl.HasAction;
+import org.apache.myfaces.tobago.taglib.decl.HasBooleanValue;
+import org.apache.myfaces.tobago.taglib.decl.HasTip;
+import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 22:35:28
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a selectable command button within a toolbar.
+ */
+@Tag(name = "toolBarCheck")
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UISelectBooleanCommand",
+    RendererType = "MenuCommand")
+public interface ToolBarSelectBooleanTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, HasLabelAndAccessKey, HasCommandType, HasImage, IsDisabled, HasAction, HasBooleanValue,
+    HasTip, IsImmediateCommand {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTag.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTag.java Sat Apr  1 11:47:24 2006
@@ -17,6 +17,7 @@
  */
 
 import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
 import org.apache.myfaces.tobago.taglib.decl.HasAction;
 import org.apache.myfaces.tobago.taglib.decl.HasCommandType;
 import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
@@ -24,12 +25,8 @@
 import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
 import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
 
-/**
- * Renders a set of radio command button's within a toolbar.
- */
-@Tag(name = "toolBarSelectOne")
+
 public class ToolBarSelectOneTag extends SelectOneCommandTag
-    implements HasIdBindingAndRendered, IsDisabled, HasAction, HasCommandType,
-    HasValue, IsImmediateCommand {
+    implements ToolBarSelectOneTagDeclaration {
 
 }

Added: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java?rev=390739&view=auto
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java (added)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -0,0 +1,45 @@
+package org.apache.myfaces.tobago.taglib.component;
+
+/*
+ * Copyright 2002-2005 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.taglib.decl.HasIdBindingAndRendered;
+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;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+
+/*
+ * Created by IntelliJ IDEA.
+ * User: bommel
+ * Date: 31.03.2006
+ * Time: 22:36:59
+ * To change this template use File | Settings | File Templates.
+ */
+
+/**
+ * Renders a set of radio command button's within a toolbar.
+ */
+@Tag(name = "toolBarSelectOne")
+@UIComponentTag(
+    UIComponent = "org.apache.myfaces.tobago.component.UISelectOneCommand",
+    RendererType = "MenuCommand")
+public interface ToolBarSelectOneTagDeclaration extends TobagoTagDeclaration, CommandTagDeclaration,
+    HasIdBindingAndRendered, IsDisabled, HasAction, HasCommandType, HasValue, IsImmediateCommand {
+}

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java?rev=390739&r1=390738&r2=390739&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java Sat Apr  1 11:47:24 2006
@@ -59,7 +59,7 @@
 
 @Tag(name = "toolBar")
 @BodyContentDescription(anyTagOf = "(<tc:toolBarCommand>|<tc:toolBarSelectBoolean>|<tc:toolBarSelectOne>)* ")
-@UIComponentTag(ComponentType = "org.apache.myfaces.tobago.ToolBar",
+@UIComponentTag(
     UIComponent = "org.apache.myfaces.tobago.component.UIToolBar",
     RendererType = "ToolBar")
 public interface ToolBarTagDeclaration extends PanelTagDeclaration {