myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r950923 - in /myfaces/tobago/trunk/tobago-extension: tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/ tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/ tobago-tagli...
Date Thu, 03 Jun 2010 09:39:57 GMT
Author: lofwyr
Date: Thu Jun  3 09:39:56 2010
New Revision: 950923

URL: http://svn.apache.org/viewvc?rev=950923&view=rev
Log:
javadoc

Modified:
    myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuCheckboxExtensionHandler.java
    myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuRadioExtensionHandler.java
    myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/TobagoMenuExtensionHandler.java
    myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
    myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
    myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
    myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java

Modified: myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuCheckboxExtensionHandler.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuCheckboxExtensionHandler.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuCheckboxExtensionHandler.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuCheckboxExtensionHandler.java
Thu Jun  3 09:39:56 2010
@@ -21,16 +21,17 @@ import com.sun.facelets.tag.jsf.Componen
 import org.apache.myfaces.tobago.component.Facets;
 import org.apache.myfaces.tobago.component.UISelectBooleanCheckbox;
 
-// XXX check if this is correct
-// todo: remove the facet
 /**
-  <pre>
-    &lt;tc:menuCommand label="" action="">
-      &lt;f:facet name="items">
-        &lt;tc:selectBooleanCheckbox value=""/>
-      &lt;/f:facet>
-    &lt;/tc:menuCommand>
-  </pre>
+ * Facelets handler for the <code>&lt;tx:menuCheckbox></code> extension
tag.
+ * <pre>
+ * &lt;tx:menuCheckbox/></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="checkbox">
+ *     &lt;tc:selectBooleanCheckbox/>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 public class MenuCheckboxExtensionHandler extends TobagoMenuExtensionHandler {
 

Modified: myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuRadioExtensionHandler.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuRadioExtensionHandler.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuRadioExtensionHandler.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/MenuRadioExtensionHandler.java
Thu Jun  3 09:39:56 2010
@@ -21,9 +21,21 @@ import com.sun.facelets.tag.jsf.Componen
 import org.apache.myfaces.tobago.component.Facets;
 import org.apache.myfaces.tobago.component.UISelectOneRadio;
 
-/*
- * Date: Aug 10, 2007
- * Time: 10:18:54 PM
+/**
+ * Facelets handler for the <code>&lt;tx:menuRadio></code> extension tag.
+ * <pre>
+ * &lt;tx:menuRadio>
+ *   &lt;tc:selectItems/> &lt;!-- body -->
+ * &lt;/tx:menuRadio></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="radio">
+ *     &lt;tc:selectOneRadio>
+ *       &lt;tc:selectItems/> &lt;!-- body -->
+ *     &lt;/tc:selectOneRadio>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 public class MenuRadioExtensionHandler extends TobagoMenuExtensionHandler {
 

Modified: myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/TobagoMenuExtensionHandler.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/TobagoMenuExtensionHandler.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/TobagoMenuExtensionHandler.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/extension/TobagoMenuExtensionHandler.java
Thu Jun  3 09:39:56 2010
@@ -33,9 +33,9 @@ import javax.faces.component.UIComponent
 import javax.faces.component.UIViewRoot;
 import java.io.IOException;
 
-/*
- * Date: Aug 10, 2007
- * Time: 9:40:24 PM
+
+/**
+ * Base class of the Facelets handlers for the &lt;tx:menuXXX /> extension tags.
  */
 public abstract class TobagoMenuExtensionHandler extends ComponentHandler {
 

Modified: myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
Thu Jun  3 09:39:56 2010
@@ -38,7 +38,16 @@ import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.tagext.BodyTagSupport;
 
 /**
- * Renders a checkable menuitem.
+ * Renders a menu item like a check box.
+ * <pre>
+ * &lt;tx:menuCheckbox/></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="checkbox">
+ *     &lt;tc:selectBooleanCheckbox/>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 @Tag(name = "menuCheckbox", tagExtraInfoClassName = "org.apache.myfaces.tobago.internal.taglib.component.CommandTagExtraInfo")
 @ExtensionTag(baseClassName = "org.apache.myfaces.tobago.internal.taglib.component.MenuCheckboxTag")

Modified: myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.1/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
Thu Jun  3 09:39:56 2010
@@ -39,7 +39,20 @@ import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.tagext.BodyTagSupport;
 
 /**
- * Renders a submenu with select one items (like a radio button).
+ * Renders menu items like radio buttons (select one).
+ * <pre>
+ * &lt;tx:menuRadio>
+ *   &lt;tc:selectItems/> &lt;!-- body -->
+ * &lt;/tx:menuRadio></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="radio">
+ *     &lt;tc:selectOneRadio>
+ *       &lt;tc:selectItems/> &lt;!-- body -->
+ *     &lt;/tc:selectOneRadio>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 @Tag(name = "menuRadio", tagExtraInfoClassName = "org.apache.myfaces.tobago.internal.taglib.component.CommandTagExtraInfo")
 @ExtensionTag(baseClassName = "org.apache.myfaces.tobago.internal.taglib.MenuRadioTag")

Modified: myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java
Thu Jun  3 09:39:56 2010
@@ -34,7 +34,16 @@ import javax.faces.webapp.FacetTag;
 import javax.servlet.jsp.JspException;
 
 /**
- * Renders a checkable menu item.
+ * Renders a menu item like a check box.
+ * <pre>
+ * &lt;tx:menuCheckbox/></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="checkbox">
+ *     &lt;tc:selectBooleanCheckbox/>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 @Tag(name = "menuCheckbox", tagExtraInfoClassName = "org.apache.myfaces.tobago.internal.taglib.component.CommandTagExtraInfo")
 @ExtensionTag(baseClassName = "org.apache.myfaces.tobago.internal.taglib.component.MenuCheckboxTag")

Modified: myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java?rev=950923&r1=950922&r2=950923&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-taglib-extension/src/main/java-jsf-1.2/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java
Thu Jun  3 09:39:56 2010
@@ -34,7 +34,20 @@ import javax.faces.webapp.FacetTag;
 import javax.servlet.jsp.JspException;
 
 /**
- * Renders a sub menu with select one items (like a radio button).
+ * Renders menu items like radio buttons (select one).
+ * <pre>
+ * &lt;tx:menuRadio>
+ *   &lt;tc:selectItems/> &lt;!-- body -->
+ * &lt;/tx:menuRadio></pre>
+ * is the short form of
+ * <pre>
+ * &lt;tc:menuCommand>
+ *   &lt;f:facet name="radio">
+ *     &lt;tc:selectOneRadio>
+ *       &lt;tc:selectItems/> &lt;!-- body -->
+ *     &lt;/tc:selectOneRadio>
+ *   &lt;/f:facet>
+ * &lt;/tc:menuCommand></pre>
  */
 @Tag(name = "menuRadio", tagExtraInfoClassName = "org.apache.myfaces.tobago.internal.taglib.component.CommandTagExtraInfo")
 @ExtensionTag(baseClassName = "org.apache.myfaces.tobago.internal.taglib.MenuRadioTag")



Mime
View raw message