incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r409717 - /incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
Date Fri, 26 May 2006 18:29:02 GMT
Author: awiner
Date: Fri May 26 11:29:01 2006
New Revision: 409717

URL: http://svn.apache.org/viewvc?rev=409717&view=rev
Log:
ADFFACES-13:  value attribute of <h:commandLink> isn't used as link label with ADF Faces

Modified:
    incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java?rev=409717&r1=409716&r2=409717&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/renderkit/htmlBasic/HtmlCommandLinkRenderer.java
Fri May 26 11:29:01 2006
@@ -46,7 +46,6 @@
     return true;
   }
 
-
   public void encodeChildren(FacesContext context,
                              UIComponent component) throws IOException
   {
@@ -80,7 +79,7 @@
 
       protected String getText(FacesBean bean)
       {
-        return null;
+        return toString(component.getAttributes().get("value"));
       }
 
       protected String getShortDesc(FacesBean bean)



Mime
View raw message