You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/07/03 08:17:39 UTC
svn commit: r960158 - in /click/trunk/click/framework/src/org/apache/click:
ClickServlet.java service/ConfigService.java
Author: sabob
Date: Sat Jul 3 06:17:38 2010
New Revision: 960158
URL: http://svn.apache.org/viewvc?rev=960158&view=rev
Log:
javadoc
Modified:
click/trunk/click/framework/src/org/apache/click/ClickServlet.java
click/trunk/click/framework/src/org/apache/click/service/ConfigService.java
Modified: click/trunk/click/framework/src/org/apache/click/ClickServlet.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ClickServlet.java?rev=960158&r1=960157&r2=960158&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ClickServlet.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ClickServlet.java Sat Jul 3 06:17:38 2010
@@ -1705,9 +1705,10 @@ public class ClickServlet extends HttpSe
}
/**
- * Return a new Page instance for the given path.
+ * Return a new Page instance for the given path. The path must start with
+ * a <tt>"/"</tt>.
*
- * @param path the Page path configured in the click.xml file
+ * @param path the path which maps to a Page class
* @param request the Page request
* @return a new Page object
* @throws IllegalArgumentException if the Page is not found
Modified: click/trunk/click/framework/src/org/apache/click/service/ConfigService.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/ConfigService.java?rev=960158&r1=960157&r2=960158&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/service/ConfigService.java (original)
+++ click/trunk/click/framework/src/org/apache/click/service/ConfigService.java Sat Jul 3 06:17:38 2010
@@ -288,7 +288,8 @@ public interface ConfigService {
public String getPagePath(Class<? extends Page> pageClass);
/**
- * Return the page <tt>Class</tt> for the given path.
+ * Return the page <tt>Class</tt> for the given path. The path must start
+ * with a <tt>"/"</tt>.
*
* @param path the page path
* @return the page class for the given path