click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r916581 - in /click/trunk/click/framework/src/org/apache/click: Control.java Page.java
Date Fri, 26 Feb 2010 06:23:08 GMT
Author: medgar
Date: Fri Feb 26 06:23:08 2010
New Revision: 916581

URL: http://svn.apache.org/viewvc?rev=916581&view=rev
Log:
CLK-633

Modified:
    click/trunk/click/framework/src/org/apache/click/Control.java
    click/trunk/click/framework/src/org/apache/click/Page.java

Modified: click/trunk/click/framework/src/org/apache/click/Control.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/Control.java?rev=916581&r1=916580&r2=916581&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/Control.java (original)
+++ click/trunk/click/framework/src/org/apache/click/Control.java Fri Feb 26 06:23:08 2010
@@ -24,6 +24,7 @@
 
 import javax.servlet.ServletContext;
 
+import org.apache.click.element.Element;
 import org.apache.click.util.HtmlStringBuffer;
 
 /**
@@ -274,7 +275,7 @@
      *
      * @return the list of HEAD elements to be included in the page
      */
-    public List getHeadElements();
+    public List<Element> getHeadElements();
 
     /**
      * Return HTML element identifier attribute "id" value.
@@ -316,7 +317,7 @@
      *
      * @return the localized messages <tt>Map</tt> of the Control
      */
-    public Map getMessages();
+    public Map<String, String> getMessages();
 
     /**
      * Return the name of the Control. Each control name must be unique in the

Modified: click/trunk/click/framework/src/org/apache/click/Page.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/Page.java?rev=916581&r1=916580&r2=916581&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/Page.java (original)
+++ click/trunk/click/framework/src/org/apache/click/Page.java Fri Feb 26 06:23:08 2010
@@ -150,7 +150,7 @@
      */
     public static final String PAGE_MESSAGES = "click-page";
 
-    // ----------------------------------------------------- Instance Variables
+    // Instance Variables -----------------------------------------------------
 
     /** The list of page controls. */
     protected List<Control> controls;
@@ -207,7 +207,7 @@
      */
     protected boolean includeControlHeadElements = true;
 
-    // --------------------------------------------------------- Event Handlers
+    // Event Handlers ---------------------------------------------------------
 
     /**
      * The on Security Check event handler. This event handler is invoked after
@@ -356,7 +356,7 @@
     public void onDestroy() {
     }
 
-    // --------------------------------------------------------- Public Methods
+    // Public Methods ---------------------------------------------------------
 
     /**
      * Add the control to the page. The control will be added to the pages model



Mime
View raw message