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 2009/07/10 04:14:28 UTC

svn commit: r792783 - in /myfaces/core/trunk/api/src/main/java/javax/faces/component/html: _HtmlOutcomeTargetButton.java _HtmlOutcomeTargetLink.java

Author: lu4242
Date: Fri Jul 10 02:14:27 2009
New Revision: 792783

URL: http://svn.apache.org/viewvc?rev=792783&view=rev
Log:
MYFACES-2262 implement outcomtarget renderers (generate classes)

Added:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java   (with props)
    myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java   (with props)

Added: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java?rev=792783&view=auto
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java (added)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java Fri Jul 10 02:14:27 2009
@@ -0,0 +1,52 @@
+/*
+ * 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.html;
+
+import javax.faces.component.UIOutcomeTarget;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ * 
+ * @since 2.0
+ */
+@JSFComponent
+(
+clazz = "javax.faces.component.html.HtmlOutcomeTargetButton",template=true,
+implementz = "javax.faces.component.behavior.ClientBehaviorHolder"
+)
+abstract class _HtmlOutcomeTargetButton extends UIOutcomeTarget implements _FocusBlurProperties,
+_EventProperties, _StyleProperties, _UniversalProperties, _AccesskeyProperty,
+_TabindexProperty, _AltProperty
+{
+
+  static public final String COMPONENT_FAMILY =
+    "javax.faces.Output";
+  static public final String COMPONENT_TYPE =
+    "javax.faces.HtmlOutcomeTargetButton";
+
+  /**
+   * HTML: the value to put as image attribute
+   * 
+   * @return
+   */
+  @JSFProperty
+  public abstract String getImage(); 
+}

Propchange: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetButton.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java?rev=792783&view=auto
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java (added)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java Fri Jul 10 02:14:27 2009
@@ -0,0 +1,52 @@
+/*
+ * 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.html;
+
+import javax.faces.component.UIOutcomeTarget;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ * 
+ * @since 2.0
+ */
+@JSFComponent
+(
+clazz = "javax.faces.component.html.HtmlOutcomeTargetLink",template=true,
+implementz = "javax.faces.component.behavior.ClientBehaviorHolder"
+)
+abstract class _HtmlOutcomeTargetLink extends UIOutcomeTarget implements _FocusBlurProperties,
+_EventProperties, _StyleProperties, _UniversalProperties, _AccesskeyProperty,
+_TabindexProperty, _AltProperty, _LinkProperties
+{
+
+  static public final String COMPONENT_FAMILY =
+    "javax.faces.Output";
+  static public final String COMPONENT_TYPE =
+    "javax.faces.HtmlOutcomeTargetLink";
+
+  /**
+   * HTML: the value to put as image attribute
+   * 
+   * @return
+   */
+  @JSFProperty
+  public abstract String getImage(); 
+}

Propchange: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlOutcomeTargetLink.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL