myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r526672 - in /myfaces/core/branches/jsf12: api/src/test/java/javax/faces/component/html/ build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/
Date Mon, 09 Apr 2007 08:15:57 GMT
Author: mbr
Date: Mon Apr  9 01:15:56 2007
New Revision: 526672

URL: http://svn.apache.org/viewvc?view=rev&rev=526672
Log:
default renderertype must be javax.faces.Link

Added:
    myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/
    myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
  (with props)
Modified:
    myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml

Added: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java?view=auto&rev=526672
==============================================================================
--- myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
(added)
+++ myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
Mon Apr  9 01:15:56 2007
@@ -0,0 +1,40 @@
+/*
+ * 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 org.testng.Assert;
+import org.testng.annotations.Test;
+
+/**
+ * @author Mathias Broekelmann (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
+public class HtmlOutputLinkTest
+{
+
+    /**
+     * Test method for {@link javax.faces.component.UIComponentBase#getRendererType()}.
+     */
+    @Test
+    public void testRendererType()
+    {
+        Assert.assertEquals("javax.faces.Link", new HtmlOutputLink().getRendererType());
+    }
+
+}

Propchange: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/html/HtmlOutputLinkTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml?view=diff&rev=526672&r1=526671&r2=526672
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml
(original)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml
Mon Apr  9 01:15:56 2007
@@ -50,7 +50,7 @@
             <mfp:tag-name>h:outputLink</mfp:tag-name>
             <mfp:tag-class>org.apache.myfaces.taglib.html.HtmlOutputLinkTag</mfp:tag-class>
 
-            <mfp:renderer-type>javax.faces.Label</mfp:renderer-type>
+            <mfp:renderer-type>javax.faces.Link</mfp:renderer-type>
         </component-extension>
     </component>
 </faces-config>



Mime
View raw message