You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2008/12/13 22:41:13 UTC

svn commit: r726273 - in /myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces: component/PortletNamingContainerUIViewRoot.java preference/Preference.java

Author: mfreedman
Date: Sat Dec 13 13:41:12 2008
New Revision: 726273

URL: http://svn.apache.org/viewvc?rev=726273&view=rev
Log:
PORTLETBRIDGE-55: Fixes PortletnamingContainer so that it indicates it implements NamingContainer

Modified:
    myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/component/PortletNamingContainerUIViewRoot.java
    myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/preference/Preference.java

Modified: myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/component/PortletNamingContainerUIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/component/PortletNamingContainerUIViewRoot.java?rev=726273&r1=726272&r2=726273&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/component/PortletNamingContainerUIViewRoot.java (original)
+++ myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/component/PortletNamingContainerUIViewRoot.java Sat Dec 13 13:41:12 2008
@@ -27,7 +27,7 @@
  * implements the behavior.
  */
 @PortletNamingContainer
-public class PortletNamingContainerUIViewRoot extends UIViewRoot implements Serializable
+public class PortletNamingContainerUIViewRoot extends UIViewRoot implements Serializable, NamingContainer
 {
 
   //TODO: This should be regenerated each time this is modified.  Can this be added to maven?

Modified: myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/preference/Preference.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/preference/Preference.java?rev=726273&r1=726272&r2=726273&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/preference/Preference.java (original)
+++ myfaces/portlet-bridge/core/trunk/api/src/main/java/javax/portlet/faces/preference/Preference.java Sat Dec 13 13:41:12 2008
@@ -28,7 +28,8 @@
   /**
    * Sets the name of this preference.
    *
-   * @param the new name for this preference.
+   * @param name
+   *        the new name for this preference.
    */   
   public void setName(String name);
 
@@ -46,8 +47,6 @@
    * If there are no values associated with this preference, or the 
    * backing preference database is unavailable, it returns null.
    *
-   * @param def the value to be returned in the event that there is no 
-   *            value available associated with this <code>key</code>.
    *
    * @return the first value associated with this preference, or <code>null</code>
    *         if there isn't an associated value or the backing