You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/06/04 05:06:27 UTC

svn commit: r662953 - /myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java

Author: lu4242
Date: Tue Jun  3 20:06:27 2008
New Revision: 662953

URL: http://svn.apache.org/viewvc?rev=662953&view=rev
Log:
Component generation for myfaces core 1.2

Added:
    myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java   (with props)

Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java?rev=662953&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java Tue Jun  3 20:06:27 2008
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ *
+ * UIMessage is the base component class for components
+ * that display a multiple messages on behalf of a component.
+ */
+@JSFComponent
+(clazz = "javax.faces.component.UIMessages",
+defaultRendererType = "javax.faces.Messages"
+)
+abstract class _UIMessages extends UIComponentBase
+{
+
+  static public final String COMPONENT_FAMILY =
+    "javax.faces.Messages";
+  static public final String COMPONENT_TYPE =
+    "javax.faces.Messages";
+
+  /**
+   * Specifies whether only messages (FacesMessage objects) not associated with a
+   * specific component should be displayed, ie whether messages should be ignored
+   * if they are attached to a particular component. Defaults to false.
+   *
+   * @return  the new globalOnly value
+   */
+  @JSFProperty
+  (defaultValue = "false")
+  public abstract boolean isGlobalOnly();
+
+  /**
+   * Specifies whether the detailed information from the message should be shown. 
+   * Default to false.
+   *
+   * @return  the new showDetail value
+   */
+  @JSFProperty
+  (defaultValue = "true")
+  public abstract boolean isShowDetail();
+
+  /**
+   * Specifies whether the summary information from the message should be shown.
+   * Defaults to true.
+   *
+   * @return  the new showSummary value
+   */
+  @JSFProperty
+  (defaultValue = "false")
+  public abstract boolean isShowSummary();
+  
+}

Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL