You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/04/27 20:25:41 UTC
svn commit: r397599 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
Author: bommel
Date: Thu Apr 27 11:25:38 2006
New Revision: 397599
URL: http://svn.apache.org/viewcvs?rev=397599&view=rev
Log:
fixed documentation
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java?rev=397599&r1=397598&r2=397599&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java Thu Apr 27 11:25:38 2006
@@ -44,16 +44,16 @@
* tag to the button. Label's and Image's on those menu tag's are ignored
* and replaced by the renderer.
* <pre>
- * <tobago:button commandName="alert('test 0')" type="script"
+ * <tc:button onclick="alert('test 0')"
* label="Alert 0" >
* <f:facet name="menupopup">
- * <tobago:menu>
- * <tobago:menuItem action="alert('test 1')" type="script" label="Alert 1"/>
- * <tobago:menuItem action="alert('test 2')" type="script" label="Alert 2"/>
- * <tobago:menuItem action="alert('test 3')" type="script" label="Alert 3"/>
- * </tobago:menu>
+ * <tc:menu>
+ * <tc:menuItem onclick="alert('test 1')" label="Alert 1"/>
+ * <tc:menuItem onclick="alert('test 2')" label="Alert 2"/>
+ * <tc:menuItem onclick="alert('test 3')" label="Alert 3"/>
+ * </tc:menu>
* </f:facet>
- * </tobago:button>
+ * </tc:button>
* </pre>
*/