Return-Path: Delivered-To: apmail-myfaces-commits-archive@www.apache.org Received: (qmail 60607 invoked from network); 24 May 2008 21:00:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2008 21:00:30 -0000 Received: (qmail 82412 invoked by uid 500); 24 May 2008 21:00:31 -0000 Delivered-To: apmail-myfaces-commits-archive@myfaces.apache.org Received: (qmail 82347 invoked by uid 500); 24 May 2008 21:00:31 -0000 Mailing-List: contact commits-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list commits@myfaces.apache.org Received: (qmail 82337 invoked by uid 99); 24 May 2008 21:00:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 May 2008 14:00:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 May 2008 20:59:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92BBC2388A59; Sat, 24 May 2008 14:00:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r659874 [3/4] - in /myfaces/tomahawk/trunk: core/ core/src/main/conf/ core/src/main/conf/META-INF/ core/src/main/java/org/apache/myfaces/component/ core/src/main/java/org/apache/myfaces/component/html/ext/ core/src/main/java/org/apache/myfa... Date: Sat, 24 May 2008 20:59:44 -0000 To: commits@myfaces.apache.org From: lu4242@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080524210006.92BBC2388A59@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/regexprvalidator/RegExprValidator.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/regexprvalidator/RegExprValidator.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/regexprvalidator/RegExprValidator.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/regexprvalidator/RegExprValidator.java Sat May 24 13:59:15 2008 @@ -29,6 +29,17 @@ import org.apache.myfaces.validator.ValidatorBase; /** + * A custom validator for reg. expr., based upons Jakarta Commons. + * + * Unless otherwise specified, all attributes accept static values or EL expressions. + * + * @JSFValidator + * name = "t:validateRegExpr" + * tagClass = "org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag" + * + * @JSFJspProperty name = "message" returnType = "java.lang.String" longDesc = "alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)" + * @JSFJspProperty name = "detailMessage" returnType = "java.lang.String" longDesc = "alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)" + * @JSFJspProperty name = "summaryMessage" returnType = "java.lang.String" longDesc = "alternate validation error summary message format string" * @author mwessendorf (latest modification by $Author$) * @version $Revision$ $Date$ */ @@ -90,6 +101,9 @@ // -------------------------------------------------------- GETTER & SETTER /** + * the pattern, which is the base of the validation + * + * @JSFProperty * @return the pattern, on which a value should be validated */ public String getPattern() Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/savestate/UISaveState.java Sat May 24 13:59:15 2008 @@ -56,6 +56,11 @@ * then the object will simply be saved into the new view, thus extending * its lifetime. *

+ * + * @JSFComponent + * name = "t:saveState" + * tagClass = "org.apache.myfaces.custom.savestate.SaveStateTag" + * @JSFJspProperty name = "name" returnType = "java.lang.String" tagExcluded = "true" * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java Sat May 24 13:59:15 2008 @@ -33,6 +33,11 @@ * Renderer for the Schedule component that delegates the actual rendering * to a compact or detailed renderer, depending on the mode of the ScheduleModel *

+ * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Panel" + * type = "org.apache.myfaces.Schedule" * * @author Jurgen Lust (latest modification by $Author: skitching $) * @author Bruno Aranda (adaptation of Jurgen's code to myfaces) Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/UISchedule.java Sat May 24 13:59:15 2008 @@ -38,12 +38,17 @@ * This class contains all 'interactive' stuff for the Schedule component, meaning * actions and actionListeners. * + * @JSFComponent + * parent = "org.apache.myfaces.custom.schedule.UIScheduleBase" + * * @author Jurgen Lust * @version $Revision$ */ public class UISchedule extends UIScheduleBase implements Serializable, ActionSource { + public static final String COMPONENT_TYPE = "org.apache.myfaces.UISchedule"; + private class ScheduleActionListener implements ActionListener { //~ Methods ------------------------------------------------------------ @@ -153,11 +158,20 @@ return null; } + /** + * @JSFProperty + * returnSignature="java.lang.String" + */ public MethodBinding getAction() { return _action; } + /** + * @JSFProperty + * returnSignature="void" + * methodSignature="javax.faces.event.ActionEvent" + */ public MethodBinding getActionListener() { return _actionListener; @@ -172,6 +186,8 @@ * The last date and time of day that was clicked. This is set when * submitOnClick is true, and the schedule is clicked by the user. * + * @JSFProperty + * tagExcluded = "true" * @return the last clicked date and time */ public Date getLastClickedDateAndTime() @@ -180,6 +196,11 @@ } /** + * @JSFProperty + * returnSignature="void" + * methodSignature="org.apache.myfaces.custom.schedule.ScheduleMouseEvent" + * stateHolder="true" + * * @return the method binding to the mouse listener method */ public MethodBinding getMouseListener() Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneCountry/SelectOneCountryRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneCountry/SelectOneCountryRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneCountry/SelectOneCountryRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneCountry/SelectOneCountryRenderer.java Sat May 24 13:59:15 2008 @@ -34,6 +34,11 @@ import org.apache.myfaces.renderkit.html.ext.HtmlMenuRenderer; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.SelectOneCountryRenderer" + * * @author Sylvain Vieujot (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneLanguage/SelectOneLanguageRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneLanguage/SelectOneLanguageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneLanguage/SelectOneLanguageRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/selectOneLanguage/SelectOneLanguageRenderer.java Sat May 24 13:59:15 2008 @@ -34,6 +34,11 @@ import org.apache.myfaces.renderkit.html.ext.HtmlMenuRenderer; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.SelectOneLanguageRenderer" + * * @author Sylvain Vieujot (latest modification by $Author$) * @version $Revision$ $Date: 2005-05-11 12:14:23 -0400 (Wed, 11 May 2005) $ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/sortheader/HtmlSortHeaderRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/sortheader/HtmlSortHeaderRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/sortheader/HtmlSortHeaderRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/sortheader/HtmlSortHeaderRenderer.java Sat May 24 13:59:15 2008 @@ -48,6 +48,11 @@ * Revision 1.2 2004/04/22 09:20:55 manolito * derive from HtmlLinkRendererBase instead of HtmlLinkRenderer * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Command" + * type = "org.apache.myfaces.SortHeader" + * */ public class HtmlSortHeaderRenderer extends HtmlLinkRenderer Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/stylesheet/StylesheetRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/stylesheet/StylesheetRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/stylesheet/StylesheetRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/stylesheet/StylesheetRenderer.java Sat May 24 13:59:15 2008 @@ -28,6 +28,11 @@ import java.io.IOException; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Output" + * type = "org.apache.myfaces.Stylesheet" + * * @author mwessendorf (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/swapimage/HtmlSwapImageRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/swapimage/HtmlSwapImageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/swapimage/HtmlSwapImageRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/swapimage/HtmlSwapImageRenderer.java Sat May 24 13:59:15 2008 @@ -36,6 +36,11 @@ import java.io.IOException; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Graphic" + * type = "org.apache.myfaces.SwapImage" + * * @author Thomas Spiegl * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/HtmlTabbedPaneRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/HtmlTabbedPaneRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/HtmlTabbedPaneRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/HtmlTabbedPaneRenderer.java Sat May 24 13:59:15 2008 @@ -42,6 +42,11 @@ import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Panel" + * type = "org.apache.myfaces.TabbedPane" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/TabChangeListenerTag.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/TabChangeListenerTag.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/TabChangeListenerTag.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tabbedpane/TabChangeListenerTag.java Sat May 24 13:59:15 2008 @@ -32,6 +32,10 @@ /** * Tag to add a tab change listeners to a {@link org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane} * + * @JSFJspTag + * name="t:tabChangeListener" + * bodyContent="empty" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ @@ -45,7 +49,10 @@ { } - + /** + * @JSFJspAttribute + * required = "true" + */ public void setType(String type) { this.type = type; Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTree.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTree.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTree.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTree.java Sat May 24 13:59:15 2008 @@ -39,6 +39,8 @@ /** + * A tree data component. + * Unless otherwise specified, all attributes accept static values or EL expressions. h *

* Tree implementation based on javax.swing.JTree. *

@@ -52,6 +54,15 @@ * rootNode. *

* + * @JSFComponent + * name = "t:tree" + * tagClass = "org.apache.myfaces.custom.tree.taglib.TreeTag" + * type = "org.apache.myfaces.HtmlTree" + * + * @JSFJspProperty name = "headerClass" returnType = "java.lang.String" + * @JSFJspProperty name = "footerClass" returnType = "java.lang.String" + * @JSFJspProperty name = "expandRoot" returnType = "java.lang.String" + * @JSFJspProperty name = "style" tagExcluded = "true" * @author Oliver Rossmueller * @version $Revision$ $Date$ */ @@ -105,6 +116,11 @@ } + /** + * @JSFProperty + * jspName = "value" + * required = "true" + */ public TreeModel getModel(FacesContext context) { ValueBinding binding = getValueBinding("model"); @@ -146,6 +162,7 @@ /** + * @JSFProperty * @return Returns the var. */ public String getVar() @@ -180,6 +197,9 @@ return null; } + /** + * @JSFProperty + */ public String getIconLine() { return getStringValue(iconLine, "iconLine"); @@ -190,7 +210,9 @@ this.iconLine = iconLine; } - + /** + * @JSFProperty + */ public String getIconNoline() { return getStringValue(iconNoline, "iconNoline"); @@ -202,7 +224,9 @@ this.iconNoline = iconNoline; } - + /** + * @JSFProperty + */ public String getIconChildFirst() { return getStringValue(iconChildFirst, "iconChildFirst"); @@ -215,6 +239,9 @@ } + /** + * @JSFProperty + */ public String getIconChildMiddle() { return getStringValue(iconChildMiddle, "iconChildMiddle"); @@ -227,6 +254,9 @@ } + /** + * @JSFProperty + */ public String getIconChildLast() { return getStringValue(iconChildLast, "iconChildLast"); @@ -239,6 +269,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeOpen() { return getStringValue(iconNodeOpen, "iconNodeOpen"); @@ -251,6 +284,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeOpenFirst() { return getStringValue(iconNodeOpenFirst, "iconNodeOpenFirst"); @@ -263,6 +299,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeOpenMiddle() { return getStringValue(iconNodeOpenMiddle, "iconNodeOpenMiddle"); @@ -275,6 +314,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeOpenLast() { return getStringValue(iconNodeOpenLast, "iconNodeOpenLast"); @@ -287,6 +329,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeClose() { return getStringValue(iconNodeClose, "iconNodeClose"); @@ -299,6 +344,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeCloseFirst() { return getStringValue(iconNodeCloseFirst, "iconNodeCloseFirst"); @@ -311,6 +359,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeCloseMiddle() { return getStringValue(iconNodeCloseMiddle, "iconNodeCloseMiddle"); @@ -323,6 +374,9 @@ } + /** + * @JSFProperty + */ public String getIconNodeCloseLast() { return getStringValue(iconNodeCloseLast, "iconNodeCloseLast"); @@ -335,6 +389,9 @@ } + /** + * @JSFProperty + */ public String getNodeClass() { return getStringValue(nodeClass, "nodeClass"); @@ -348,6 +405,7 @@ /** + * @JSFProperty * @return Returns the rowClasses. */ public String getRowClasses() @@ -366,6 +424,7 @@ /** + * @JSFProperty * @return Returns the columnClasses. */ public String getColumnClasses() @@ -384,6 +443,7 @@ /** + * @JSFProperty * @return Returns the selectedNodeClass. */ public String getSelectedNodeClass() @@ -401,6 +461,9 @@ } + /** + * @JSFProperty + */ public String getIconClass() { return getStringValue(iconClass, "iconClass"); @@ -413,6 +476,12 @@ } + /** + * Time interval the tree will remain registered as a TreeModelListener + * without being accessed + * + * @JSFProperty + */ public long getExpireListeners() { if(expireListeners != null) Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java Sat May 24 13:59:15 2008 @@ -21,10 +21,21 @@ import javax.faces.component.UIColumn; /** + * Renders a HTML input of type "treeColumn". + *

+ * This tag outlines the column where the tree structure will be + * render as part of the tree table. Unless otherwise specified, + * all attributes accept static values or EL expressions. + *

*

* Tree column model. This column is used to provide the place holder for the * tree. This is used in conjunction with the table format display. *

+ * + * @JSFComponent + * name = "t:treeColumn" + * tagClass = "org.apache.myfaces.custom.tree.taglib.TreeColumnTag" + * * @author David Le Strat */ public class HtmlTreeColumn extends UIColumn Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java Sat May 24 13:59:15 2008 @@ -31,6 +31,7 @@ * Represents a single node of a three. A custom html link component representing the expand/collapse icon * is held as a facet named expandCollapse. * + * @JSFComponent * @author Oliver Rossmueller * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java Sat May 24 13:59:15 2008 @@ -32,6 +32,11 @@ import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.HtmlTreeCheckbox" + * type = "org.apache.myfaces.HtmlTreeCheckbox" + * * @author David Le Strat */ public class HtmlTreeCheckboxRenderer extends HtmlCheckboxRendererBase Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java Sat May 24 13:59:15 2008 @@ -33,6 +33,11 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.HtmlTree" + * type = "org.apache.myfaces.HtmlTreeImageCommandLink" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java Sat May 24 13:59:15 2008 @@ -27,6 +27,11 @@ import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Command" + * type = "org.apache.myfaces.HtmlTreeNode" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java Sat May 24 13:59:15 2008 @@ -44,6 +44,11 @@ import java.util.List; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.HtmlTree" + * type = "org.apache.myfaces.HtmlTree" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java Sat May 24 13:59:15 2008 @@ -32,6 +32,10 @@ /** + * @JSFJspTag + * name="t:iconProvider" + * bodyContent="empty" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ @@ -46,7 +50,10 @@ { } - + /** + * @JSFJspAttribute + * required = "true" + */ public void setType(String type) { this.type = type; Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java Sat May 24 13:59:15 2008 @@ -34,6 +34,10 @@ /** * Tag to add a tree selection listeners to a {@link HtmlTree} * + * @JSFJspTag + * name="t:treeSelectionListener" + * bodyContent="empty" + * * @author Oliver Rossmueller * @version $Revision$ $Date$ */ @@ -48,6 +52,10 @@ } + /** + * @JSFJspAttribute + * required = "true" + */ public void setType(String type) { this.type = type; Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java Sat May 24 13:59:15 2008 @@ -45,6 +45,11 @@ import java.util.HashMap; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.HtmlTree2" + * type = "org.apache.myfaces.HtmlTree2" + * * @author Sean Schofield * @author Chris Barlow * @author Hans Bergsten (Some code taken from an example in his O'Reilly JavaServer Faces book. Copied with permission) Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java Sat May 24 13:59:15 2008 @@ -50,6 +50,7 @@ * specified by the var property. {@link javax.faces.render.Renderer}s of this * component should use the appropriate facet to assist in rendering. * + * @JSFComponent * @author Sean Schofield * @author Hans Bergsten (Some code taken from an example in his O'Reilly JavaServer Faces book. Copied with permission) * @version $Revision$ $Date$ @@ -57,9 +58,9 @@ public class UITreeData extends UIComponentBase implements NamingContainer, Tree { private Log log = LogFactory.getLog(UITreeData.class); - public static final String COMPONENT_TYPE = "org.apache.myfaces.Tree2"; + public static final String COMPONENT_TYPE = "org.apache.myfaces.UITree2"; public static final String COMPONENT_FAMILY = "org.apache.myfaces.HtmlTree2"; - private static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.Tree2"; + //private static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.Tree2"; private static final String MISSING_NODE = "org.apache.myfaces.tree2.MISSING_NODE"; private static final int PROCESS_DECODES = 1; private static final int PROCESS_VALIDATORS = 2; @@ -80,7 +81,7 @@ */ public UITreeData() { - setRendererType(DEFAULT_RENDERER_TYPE); + //setRendererType(DEFAULT_RENDERER_TYPE); } @@ -289,6 +290,8 @@ /** * Gets the value of the TreeData. * + * @JSFProperty + * required="true" * @return The value * * @deprecated @@ -315,7 +318,8 @@ /** * Return the request-scope attribute under which the data object for the current node will be exposed * when iterating. This property is not enabled for value binding expressions. - * + * + * @JSFProperty * @return The iterator attribute */ public String getVar() Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java Sat May 24 13:59:15 2008 @@ -29,8 +29,20 @@ import javax.servlet.jsp.tagext.TagSupport; /** + * Registers an org.apache.myfaces.custom.updateactionlistener.UpdateActionListener + * at the parent component (which must be an ActionSource). + * + * When the parent's action fires the specified value is evaluated, + * then written into the specified property. + * + * Unless otherwise specified, all attributes accept static values or EL expressions. + * * JSF 1.2 introduces a "setPropertyActionListener" with the same functionality like this. * + * @JSFJspTag + * name="t:updateActionListener" + * bodyContent="JSP" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ @@ -47,16 +59,39 @@ { } + /** + * A value-binding that specifies a property to be updated when + * the parent's action occurs. + * + * @JSFJspAttribute + * required="true" + */ public void setProperty(String property) { _property = property; } + /** + * A literal value or value-binding that specifies what + * will be assigned to the destination specified by the + * property attribute. + * + * @JSFJspAttribute + * required="true" + */ public void setValue(String value) { _value = value; } + /** + * The name of a registered Converter object which will be + * invoked to convert the value into an appropriate datatype + * for assigning to the specified property. If not specified + * then an appropriate converter will be selected automatically. + * + * @JSFJspAttribute + */ public void setConverter(String converter) { _converter = converter; Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java Sat May 24 13:59:15 2008 @@ -27,6 +27,12 @@ /** + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Command" + * type = "org.apache.myfaces.Button" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java Sat May 24 13:59:15 2008 @@ -46,6 +46,21 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.Checkbox" + * type = "org.apache.myfaces.Checkbox" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectBoolean" + * type = "org.apache.myfaces.Checkbox" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectMany" + * type = "org.apache.myfaces.Checkbox" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java Sat May 24 13:59:15 2008 @@ -29,6 +29,11 @@ /** * X-CHECKED: tlddoc h:panelGrid 1.0 final * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Panel" + * type = "org.apache.myfaces.Grid" + * * @author Martin Marinschek (latest modification by $Author: grantsmith $) * @version $Revision: 169655 $ $Date: 2005-05-11 18:45:06 +0200 (Wed, 11 May 2005) $ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java Sat May 24 13:59:15 2008 @@ -33,6 +33,11 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Panel" + * type = "org.apache.myfaces.Group" + * * @author Martin Marinschek (latest modification by $Author: mmarinschek $) * @version $Revision: 167446 $ $Date: 2004-12-23 13:03:09Z $ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java Sat May 24 13:59:15 2008 @@ -22,6 +22,11 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Graphic" + * type = "org.apache.myfaces.Image" + * * @author Martin Marinschek (latest modification by $Author: mmarinschek $) * @author Bruno Aranda * @version $Revision: 167446 $ $Date: 2004-12-23 13:03:09Z $ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java Sat May 24 13:59:15 2008 @@ -33,6 +33,11 @@ import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Command" + * type = "org.apache.myfaces.Link" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java Sat May 24 13:59:15 2008 @@ -29,6 +29,16 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.Listbox" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectMany" + * type = "org.apache.myfaces.Listbox" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java Sat May 24 13:59:15 2008 @@ -29,6 +29,16 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.Menu" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectMany" + * type = "org.apache.myfaces.Menu" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java Sat May 24 13:59:15 2008 @@ -42,6 +42,11 @@ import java.util.Map; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Message" + * type = "org.apache.myfaces.Message" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java Sat May 24 13:59:15 2008 @@ -31,6 +31,11 @@ import java.text.MessageFormat; /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Messages" + * type = "org.apache.myfaces.Messages" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java Sat May 24 13:59:15 2008 @@ -38,6 +38,17 @@ /** + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.Radio" + * type = "org.apache.myfaces.Radio" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.Radio" + * * @author Manfred Geiler (latest modification by $Author$) * @author Thomas Spiegl * @version $Revision$ $Date$ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java Sat May 24 13:59:15 2008 @@ -33,6 +33,11 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Input" + * type = "org.apache.myfaces.Secret" + * * @author Manfred Geiler (latest modification by $Author$) * @author Bruno Aranda * @version $Revision$ $Date$ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java Sat May 24 13:59:15 2008 @@ -52,6 +52,11 @@ /** * Renderer for the Tomahawk extended HtmlDataTable component. * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Data" + * type = "org.apache.myfaces.Table" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java Sat May 24 13:59:15 2008 @@ -37,6 +37,16 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Input" + * type = "org.apache.myfaces.Text" + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Output" + * type = "org.apache.myfaces.Text" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java Sat May 24 13:59:15 2008 @@ -31,6 +31,11 @@ /** + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Input" + * type = "org.apache.myfaces.Textarea" + * * @author Manfred Geiler (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld (original) +++ myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld Sat May 24 13:59:15 2008 @@ -235,7 +235,7 @@ commandButton - org.apache.myfaces.taglib.html.ext.HtmlCommandButtonTag + org.apache.myfaces.generated.taglib.html.ext.HtmlCommandButtonTag JSP Extends standard commandButton by user role support. @@ -251,7 +251,7 @@ commandLink - org.apache.myfaces.taglib.html.ext.HtmlCommandLinkTag + org.apache.myfaces.generated.taglib.html.ext.HtmlCommandLinkTag JSP Extends standard commandLink by user role support and the HTML target attribute. @@ -277,7 +277,7 @@ dataTable - org.apache.myfaces.taglib.html.ext.HtmlDataTableTag + org.apache.myfaces.generated.taglib.html.ext.HtmlDataTableTag JSP Extended data_table that adds some additional features to the standard @@ -297,7 +297,7 @@ inputHidden - org.apache.myfaces.taglib.html.ext.HtmlInputHiddenTag + org.apache.myfaces.generated.taglib.html.ext.HtmlInputHiddenTag JSP Extends standard inputHidden by providing additional MyFaces goodies. @@ -311,7 +311,7 @@ inputSecret - org.apache.myfaces.taglib.html.ext.HtmlInputSecretTag + org.apache.myfaces.generated.taglib.html.ext.HtmlInputSecretTag JSP Extends standard inputSecret, adding the "redisplay" property. @@ -332,7 +332,7 @@ inputText - org.apache.myfaces.taglib.html.ext.HtmlInputTextTag + org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextTag JSP Extends standard inputText by user role support. @@ -397,7 +397,7 @@ inputTextarea - org.apache.myfaces.taglib.html.ext.HtmlInputTextareaTag + org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextareaTag JSP Extends standard inputTextarea by user role support. @@ -414,7 +414,7 @@ graphicImage - org.apache.myfaces.taglib.html.ext.HtmlGraphicImageTag + org.apache.myfaces.generated.taglib.html.ext.HtmlGraphicImageTag JSP Extends standard graphicImage. @@ -433,7 +433,7 @@ message - org.apache.myfaces.taglib.html.ext.HtmlMessageTag + org.apache.myfaces.generated.taglib.html.ext.HtmlMessageTag JSP MyFaces extension to the standard messages tag: see summaryDetailSeparator attribute. @@ -450,7 +450,7 @@ messages - org.apache.myfaces.taglib.html.ext.HtmlMessagesTag + org.apache.myfaces.generated.taglib.html.ext.HtmlMessagesTag JSP MyFaces extension to the standard messages tag: see showInputLabel attribute. @@ -467,7 +467,7 @@ outputLabel - org.apache.myfaces.taglib.html.ext.HtmlOutputLabelTag + org.apache.myfaces.generated.taglib.html.ext.HtmlOutputLabelTag JSP Extends standard outputLabel with user role support. @@ -482,7 +482,7 @@ outputText - org.apache.myfaces.taglib.html.ext.HtmlOutputTextTag + org.apache.myfaces.generated.taglib.html.ext.HtmlOutputTextTag JSP Extends standard outputText with user role support. @@ -497,7 +497,7 @@ panelGrid - org.apache.myfaces.taglib.html.ext.HtmlPanelGridTag + org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGridTag JSP Extends standard panelGrid with user role support. @@ -513,7 +513,7 @@ panelGroup - org.apache.myfaces.taglib.html.ext.HtmlPanelGroupTag + org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGroupTag JSP Extends standard panelGroup with user role support. @@ -530,7 +530,7 @@ selectOneMenu - org.apache.myfaces.taglib.html.ext.HtmlSelectOneMenuTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneMenuTag JSP Extends standard selectOneMenu with user role support. @@ -547,7 +547,7 @@ selectManyMenu - org.apache.myfaces.taglib.html.ext.HtmlSelectManyMenuTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyMenuTag JSP Extends standard selectManyMenu with user role support. @@ -564,7 +564,7 @@ selectOneRadio - org.apache.myfaces.taglib.html.ext.HtmlSelectOneRadioTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneRadioTag JSP Implements the standard html selectOneRadio tag, with additional features. @@ -621,7 +621,7 @@ selectBooleanCheckbox - org.apache.myfaces.taglib.html.ext.HtmlSelectBooleanCheckboxTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectBooleanCheckboxTag JSP Extends standard selectBooleanCheckbox with user role support. @@ -637,7 +637,7 @@ selectManyCheckbox - org.apache.myfaces.taglib.html.ext.HtmlSelectManyCheckboxTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyCheckboxTag JSP Extends standard selectManyCheckbox with user role support. @@ -657,7 +657,7 @@ selectOneListbox - org.apache.myfaces.taglib.html.ext.HtmlSelectOneListboxTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneListboxTag JSP Extends standard selectOneListbox with user role support. @@ -674,7 +674,7 @@ selectManyListbox - org.apache.myfaces.taglib.html.ext.HtmlSelectManyListboxTag + org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyListboxTag JSP Extends standard selectManyListbox with user role support. Modified: myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRenderCactus.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRenderCactus.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRenderCactus.java (original) +++ myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRenderCactus.java Sat May 24 13:59:15 2008 @@ -35,7 +35,7 @@ import org.apache.cactus.ServletTestCase; import org.apache.cactus.WebRequest; -import org.apache.myfaces.custom.date.HtmlInputDate.UserData; +import org.apache.myfaces.custom.date.AbstractHtmlInputDate.UserData; public class HtmlDateRenderCactus extends ServletTestCase { private FacesContext facesContext; Modified: myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRendererTest.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRendererTest.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRendererTest.java (original) +++ myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/HtmlDateRendererTest.java Sat May 24 13:59:15 2008 @@ -35,7 +35,7 @@ import junit.framework.TestCase; import org.apache.myfaces.application.ApplicationFactoryImpl; -import org.apache.myfaces.custom.date.HtmlInputDate.UserData; +import org.apache.myfaces.custom.date.AbstractHtmlInputDate.UserData; import org.easymock.MockControl; import org.easymock.classextension.MockClassControl; Modified: myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/UserDataTest.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/UserDataTest.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/UserDataTest.java (original) +++ myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/date/UserDataTest.java Sat May 24 13:59:15 2008 @@ -7,7 +7,7 @@ import java.util.Date; import java.util.Locale; -import org.apache.myfaces.custom.date.HtmlInputDate.UserData; +import org.apache.myfaces.custom.date.AbstractHtmlInputDate.UserData; import junit.framework.TestCase; Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/aliasBean.jsp URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/aliasBean.jsp?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/aliasBean.jsp (original) +++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/aliasBean.jsp Sat May 24 13:59:15 2008 @@ -39,7 +39,7 @@

In this example, the customerAddress bean is a managed bean, but the address bean isn't defined anywhere.
- After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have + After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have generic address subforms (ok, this one is a very simple form, but you get the idea).

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/filteredStylesheet.jsp URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/filteredStylesheet.jsp?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/filteredStylesheet.jsp (original) +++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/filteredStylesheet.jsp Sat May 24 13:59:15 2008 @@ -44,7 +44,7 @@
 .tableBack
 {
-	background-image: url(#{environmentInfo.requestContextPath}/images/logo.jpg)
+	background-image: url(#{environmentInfo.requestContextPath}/images/logo.jpg)
 }
 		

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp (original) +++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp Sat May 24 13:59:15 2008 @@ -34,6 +34,7 @@ var="example_messages"/> + @@ -65,6 +66,7 @@ + Modified: myfaces/tomahawk/trunk/sandbox/core/pom.xml URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/pom.xml?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/pom.xml (original) +++ myfaces/tomahawk/trunk/sandbox/core/pom.xml Sat May 24 13:59:15 2008 @@ -139,7 +139,14 @@ myfaces-impl test - + + + maven-taglib + maven-taglib-plugin + 1.4.2 + test + + org.apache.shale shale-test @@ -171,12 +178,80 @@ src/main/resources + + **/*.vm + + + + org.apache.myfaces.buildtools + myfaces-builder-plugin + 1.0.1-SNAPSHOT + + + + + org.apache.myfaces.taglib + org.apache.myfaces.shared_tomahawk.taglib + + + build-metadata + + + + makefacesconfig + + META-INF/faces-config.xml + + + make-config + + + + makecomp + + make-components + + + + maketags + + make-tags + + + + makesandboxtld + + META-INF/myfaces_sandbox.tld + src/main/conf/META-INF/myfaces_sandbox-base.tld + tomahawk.vm + + s + http://myfaces.apache.org/sandbox + Tomahawk sandbox tag library. + Enhanced standard JSP actions and custom MyFaces actions. + + + tomahawk-sandbox + + + + make-config + + + + + + + @@ -250,6 +327,7 @@ generate-site + @@ -290,7 +369,7 @@ net.sourceforge.maven-taglib maven-taglib-plugin - ${basedir}/target/tlddoc-site + ${basedir}/target/classes/META-INF ${basedir}/target/site/tlddoc @@ -307,6 +386,7 @@ + maven-javadoc-plugin 2.4 @@ -352,7 +433,7 @@ net.sourceforge.maven-taglib maven-taglib-plugin - ${basedir}/target/tlddoc-site + ${basedir}/target/classes/META-INF ${basedir}/target/tlddoc Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/HtmlAccordionPanelRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/HtmlAccordionPanelRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/HtmlAccordionPanelRenderer.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/HtmlAccordionPanelRenderer.java Sat May 24 13:59:15 2008 @@ -39,7 +39,10 @@ /** * @author Martin Marinschek * - * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Panel" + * type = "org.apache.myfaces.AccordionPanel" * * @version $Revision: $ $Date: $ *

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/HtmlAjaxChildComboBoxRenderer.java Sat May 24 13:59:15 2008 @@ -43,6 +43,11 @@ /** * Renderer for component HtmlAjaxChildComboBox + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.SelectOne" + * type = "org.apache.myfaces.AjaxChildComboBox" * * @author Sharath Reddy */ Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AutoUpdateDataTableRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AutoUpdateDataTableRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AutoUpdateDataTableRenderer.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AutoUpdateDataTableRenderer.java Sat May 24 13:59:15 2008 @@ -34,6 +34,12 @@ import java.io.IOException; /** + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "javax.faces.Data" + * type = "org.apache.myfaces.AutoUpdateDataTable" + * * @author Jörg Artaker * @author Thomas Huber * @version $Revision: $ $Date: $ Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/CAPTCHARenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/CAPTCHARenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/CAPTCHARenderer.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/CAPTCHARenderer.java Sat May 24 13:59:15 2008 @@ -47,7 +47,16 @@ import org.apache.myfaces.renderkit.html.util.AddResourceFactory; import org.apache.myfaces.renderkit.html.util.ResourceLoader; import org.apache.myfaces.shared_tomahawk.renderkit.html.HTML; - +/** + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.CAPTCHA" + * type = "org.apache.myfaces.CAPTCHA" + * + * @author Hazem Saleh + * + */ public class CAPTCHARenderer extends Renderer implements ResourceLoader { public void encodeBegin(FacesContext context, UIComponent component) Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScript.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScript.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScript.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScript.java Sat May 24 13:59:15 2008 @@ -21,6 +21,10 @@ import javax.faces.component.UIComponentBase; /** + * @JSFComponent + * name = "s:validationScript" + * tagClass = "org.apache.myfaces.custom.clientvalidation.validationscript.ValidationScriptTag" + * * @author cagatay (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScriptRenderer.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScriptRenderer.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScriptRenderer.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/clientvalidation/validationscript/ValidationScriptRenderer.java Sat May 24 13:59:15 2008 @@ -28,6 +28,12 @@ import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils; /** + * + * @JSFRenderer + * renderKitId = "HTML_BASIC" + * family = "org.apache.myfaces.clientvalidation" + * type = "org.apache.myfaces.clientvalidation.ValidationScriptRenderer" + * * @author cagatay (latest modification by $Author$) * @version $Revision$ $Date$ */ Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java Sat May 24 13:59:15 2008 @@ -39,8 +39,6 @@ import org.apache.myfaces.validator.ValidatorBase; /** - * @author Mike Kienenberger (latest modification by $Author$) - * @version $Revision$ $Date$ * * Validates this component against another component. * @@ -122,7 +120,15 @@ * - Operator names should be localized. * - The default message key should be localized. * - Perhaps an exception should be thrown if the two values are not Comparable and no Comparator is specified. + * + * @JSFValidator + * name = "s:validateCompareTo" + * tagClass = "org.apache.myfaces.custom.comparetovalidator.ValidateCompareToTag" + * + * @JSFJspProperty name = "message" returnType = "java.lang.String" longDesc = "alternate validation error message format string" * + * @author Mike Kienenberger (latest modification by $Author$) + * @version $Revision$ $Date$ */ public class CompareToValidator extends ValidatorBase { /** @@ -356,6 +362,9 @@ // -------------------------------------------------------- GETTER & SETTER /** + * The JSF id of the component with which to compare values. + * + * @JSFProperty * @return the foreign component_id, on which a value should be validated */ public String getFor() { @@ -371,6 +380,12 @@ _foreignComponentName = string; } + /** + * Operator for comparison: equals: eq, ==, =, not equals: ne, !=, greater than: gt, >, less than: lt, <, greater than or equals: ge, >=, less than or equals: le, <= + * + * @JSFProperty + * @return + */ public String getOperator() { if (_operator != null) return _operator; @@ -383,6 +398,13 @@ this._operator = operator; } + /** + * Value binding for an alternate java.util.Comparator object if component + * values don't implement Comparable + * + * @JSFProperty + * @return + */ public Object getComparator() { if (_comparator != null) return _comparator; @@ -395,6 +417,12 @@ this._comparator = comparator; } + /** + * custom operator name in error message (ie "after" instead of "greater than" for dates) + * + * @JSFProperty + * @return + */ public String getAlternateOperatorName() { if (_alternateOperatorName != null) return _alternateOperatorName; Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java Sat May 24 13:59:15 2008 @@ -24,6 +24,11 @@ /** * base class for all the conversation components + * + * @JSFComponent + * configExcluded = "true" + * tagClass = "org.apache.myfaces.custom.conversation.AbstractConversationTag" + * * @author imario@apache.org */ public class AbstractConversationComponent extends UICommand @@ -60,7 +65,9 @@ } /** - * the conversation name + * the name of the conversation. Notice: required if tag not as child of startConversation tag. + * + * @JSFProperty */ public String getName() { Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java Sat May 24 13:59:15 2008 @@ -28,8 +28,14 @@ import javax.faces.component.UIComponent; /** + * puts a bean into the conversation context + * * add a bean under context control * + * @JSFComponent + * name = "s:conversation" + * tagClass = "org.apache.myfaces.custom.conversation.ConversationTag" + * * @author imario@apache.org */ public class UIConversation extends AbstractConversationComponent Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java Sat May 24 13:59:15 2008 @@ -31,6 +31,10 @@ /** * end a conversation * + * @JSFComponent + * name = "s:endConversation" + * tagClass = "org.apache.myfaces.custom.conversation.EndConversationTag" + * * @author imario@apache.org */ public class UIEndConversation extends AbstractConversationComponent @@ -123,6 +127,14 @@ }; } + /** + * end the conversation only if the action outcome matches the given onOutcome. + * + * This can be a comma separated list. + * + * @JSFProperty + * @return + */ public String getOnOutcome() { if (onOutcome != null) @@ -142,6 +154,12 @@ this.onOutcome = onOutcome; } + /** + * on exception use the given outcome for further navigation + * + * @JSFProperty + * @return + */ public String getErrorOutcome() { if (errorOutcome != null) @@ -161,6 +179,12 @@ this.errorOutcome = errorOutcome; } + /** + * true|false|valueBinding - true if the conversation should be restarted immediately + * + * @JSFProperty + * @return + */ public Boolean getRestart() { if (restart != null) @@ -180,6 +204,15 @@ this.restart = restart; } + /** + * the action which should be called in case of a restart + * + * @JSFProperty + * methodSignature = "java.lang.String" + * returnSignature = "void" + * stateHolder = "true" + * @return + */ public MethodBinding getRestartAction() { return restartAction; Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java Sat May 24 13:59:15 2008 @@ -26,6 +26,9 @@ /** *

+ * Ensures a named conversation is running + *

+ *

* check if a conversation is active. *

*

@@ -33,6 +36,12 @@ * check this before ANY rendering - and maybe to invoke a navigation then *

* + * @JSFComponent + * name = "s:ensureConversation" + * tagClass = "org.apache.myfaces.custom.conversation.EnsureConversationTag" + * + * @JSFJspProperty name="action" longDesc = "the action which should be called in case of a not running conversation" + * * @author imario@apache.org */ public class UIEnsureConversation extends AbstractConversationComponent @@ -136,6 +145,12 @@ } } + /** + * redirect to the given view if the conversation is not running + * + * @JSFProperty + * @return + */ public String getRedirectTo() { if (redirectTo != null) @@ -154,4 +169,31 @@ { this.redirectTo = redirectTo; } + + /** + * Delegate the check to the action method at all. The user has to check if + * a conversation is running. A action method is mandatory. + * + * @JSFProperty + * @return + */ + public Boolean getPreCheck() + { + if (preCheck != null) + { + return preCheck; + } + ValueBinding vb = getValueBinding("preCheck"); + if (vb == null) + { + return null; + } + return (Boolean) vb.getValue(getFacesContext()); + } + + public void setPreCheck(Boolean preCheck) + { + this.preCheck = preCheck; + } + } Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java Sat May 24 13:59:15 2008 @@ -26,9 +26,16 @@ import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils; /** + * Separates the current context from the children. e.g. commandLinks will start a + * new conversation context + * * separate the current context from the to be rendered children. * E.g. when you render commandLinks they will start a new conversationContext * + * @JSFComponent + * name = "s:separateConversationContext" + * tagClass = "org.apache.myfaces.custom.conversation.SeparateConversationContextTag" + * * @author imario@apache.org */ public class UISeparateConversationContext extends UIComponentBase Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java Sat May 24 13:59:15 2008 @@ -30,6 +30,10 @@ /** * start a conversation * + * @JSFComponent + * name = "s:startConversation" + * tagClass = "org.apache.myfaces.custom.conversation.StartConversationTag" + * * @author imario@apache.org */ public class UIStartConversation extends AbstractConversationComponent @@ -182,6 +186,12 @@ }; } + /** + * true|false - if this conversation requires a persistence manager. Default: false + * + * @JSFProperty + * @return + */ public Boolean getPersistence() { if (persistence != null) Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java Sat May 24 13:59:15 2008 @@ -25,14 +25,26 @@ * Simple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the * base timezone, rather than GMT. * + * Convert date time using normal system timezone like it should * + * @JSFConverter + * name = "s:convertDateTime" + * tagClass = "org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag" + * + * @JSFJspProperty name = "dateStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full" + * @JSFJspProperty name = "locale" returnType = "java.util.Locale" longDesc = "locale" + * @JSFJspProperty name = "pattern" returnType = "java.lang.String" longDesc = "Custom formatting pattern" + * @JSFJspProperty name = "timeStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full" + * @JSFJspProperty name = "timeZone" returnType = "java.util.TimeZone" longDesc = "timeZone" + * @JSFJspProperty name = "type" returnType = "java.lang.String" longDesc = "date|time|both" + * * User: treeder * Date: Oct 28, 2005 * Time: 7:19:01 PM */ public class DateTimeConverter extends javax.faces.convert.DateTimeConverter { - public static final String CONVERTER_ID = org.apache.myfaces.custom.convertDateTime.DateTimeConverter.class.getName(); + public static final String CONVERTER_ID = "org.apache.myfaces.custom.convertDateTime.DateTimeConverter"; public DateTimeConverter() {