Return-Path: Delivered-To: apmail-incubator-click-commits-archive@minotaur.apache.org Received: (qmail 94809 invoked from network); 8 May 2009 18:13:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 May 2009 18:13:40 -0000 Received: (qmail 32737 invoked by uid 500); 8 May 2009 18:13:40 -0000 Delivered-To: apmail-incubator-click-commits-archive@incubator.apache.org Received: (qmail 32729 invoked by uid 500); 8 May 2009 18:13:40 -0000 Mailing-List: contact click-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-commits@incubator.apache.org Received: (qmail 32719 invoked by uid 99); 8 May 2009 18:13:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2009 18:13:40 +0000 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; Fri, 08 May 2009 18:13:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92AF62388BB4; Fri, 8 May 2009 18:13:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r773057 - in /incubator/click/trunk/click/framework/src/org/apache/click: control/AbstractLink.java control/Panel.java element/CssStyle.java element/JsScript.java Date: Fri, 08 May 2009 18:13:16 -0000 To: click-commits@incubator.apache.org From: sabob@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090508181316.92AF62388BB4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sabob Date: Fri May 8 18:13:15 2009 New Revision: 773057 URL: http://svn.apache.org/viewvc?rev=773057&view=rev Log: docs and formatting changes Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java?rev=773057&r1=773056&r2=773057&view=diff ============================================================================== --- incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java (original) +++ incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractLink.java Fri May 8 18:13:15 2009 @@ -72,17 +72,6 @@ // ----------------------------------------------------------- Constructors /** - * Return the links html tag: a. - * - * @see AbstractControl#getTag() - * - * @return this controls html tag - */ - public String getTag() { - return "a"; - } - - /** * Create an AbstractLink for the given name. * * @param name the page link name @@ -103,6 +92,17 @@ // ------------------------------------------------------ Public Attributes /** + * Return the link html tag: a. + * + * @see AbstractControl#getTag() + * + * @return this controls html tag + */ + public String getTag() { + return "a"; + } + + /** * Return true if the AbstractLink is a disabled. If the link is disabled * it will be rendered as <span> element with a HTML class attribute * of "disabled". Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java?rev=773057&r1=773056&r2=773057&view=diff ============================================================================== --- incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java (original) +++ incubator/click/trunk/click/framework/src/org/apache/click/control/Panel.java Fri May 8 18:13:15 2009 @@ -289,13 +289,13 @@ * Create a Panel with the given name, id attribute and template path. * * @param name the name of the panel - * @param template the template path * @param id the id HTML attribute value + * @param template the template path */ public Panel(String name, String id, String template) { setName(name); - setTemplate(template); setId(id); + setTemplate(template); } /** Modified: incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java?rev=773057&r1=773056&r2=773057&view=diff ============================================================================== --- incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java (original) +++ incubator/click/trunk/click/framework/src/org/apache/click/element/CssStyle.java Fri May 8 18:13:15 2009 @@ -348,6 +348,8 @@ buffer.closeTag(); + buffer.append("\n"); + // Render CDATA tag if necessary renderCharacterDataPrefix(buffer); @@ -355,6 +357,8 @@ renderCharacterDataSuffix(buffer); + buffer.append("\n"); + buffer.elementEnd(getTag()); renderConditionalCommentSuffix(buffer); Modified: incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java?rev=773057&r1=773056&r2=773057&view=diff ============================================================================== --- incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java (original) +++ incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java Fri May 8 18:13:15 2009 @@ -348,6 +348,8 @@ buffer.closeTag(); + buffer.append("\n"); + // Render CDATA tag if necessary renderCharacterDataPrefix(buffer); @@ -355,6 +357,8 @@ renderCharacterDataSuffix(buffer); + buffer.append("\n"); + buffer.elementEnd(getTag()); renderConditionalCommentSuffix(buffer);