myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "MyfacesBuilderPlugin" by SimonKitching
Date Tue, 18 Mar 2008 16:49:38 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/MyfacesBuilderPlugin

------------------------------------------------------------------------------
     * This property is used here for ..... 
     * </p>
     * <p>
-    * It is inelegant having to write a method that delegates, just in order to have
-    * something to hang the new documentation on. It isn't too bad as overriding the
-    * inherited docs is not something that needs to be done too often, but it would
-    * be nice to find a better way to do this...
+    * Where the component behaviour changes, then there will of course be a new
+    * implementation of the method so there is somewhere to put the new docs.
+    * </p>
+    * <p>
+    * Unfortunately in some cases the component is just a dumb holder for the property,
+    * and what changes is how this component class expects the corresponding renderer
+    * class to use this property. That's rather non-OO, but it's how JSF works. In this
+    * case we need new docs for the property even though the implementation has not
+    * changed; the best proposal so far is to write a trivial method body that just
+    * delegates to the parent method.
+    * </p>
+    * <p>
+    * Yes this is inelegant; it would be nice to find a better way to do this...
     * </p>
     * 
     * @mfp.property

Mime
View raw message