forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r481386 - /forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java
Date Fri, 01 Dec 2006 20:57:38 GMT
Author: rgardler
Date: Fri Dec  1 12:57:37 2006
New Revision: 481386

URL: http://svn.apache.org/viewvc?view=rev&rev=481386
Log:
Conform to new method signature

Modified:
    forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java

Modified: forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java?view=diff&rev=481386&r1=481385&r2=481386
==============================================================================
--- forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java
(original)
+++ forrest/trunk/whiteboard/forrest2/wicket-demo/src/java/org/apache/forrest/examples/reader/NavigationReader.java
Fri Dec  1 12:57:37 2006
@@ -13,11 +13,11 @@
 public class NavigationReader extends AbstractReader {
 
 	public AbstractSourceDocument read(IController controller, URI requestURI,
-			Location location) throws MalformedURLException,
+			Location location, URI sourceURI) throws MalformedURLException,
 			ProcessingException {
 		String content = "<navigation><item label=\"Item 1\"/><item label=\"Item
2\"/><item label=\"Item 3\"/></navigation>";
 		String type = "org.apache.forrest.example.Navigation";
-		XMLSourceDocument doc = new XMLSourceDocument(content, type);
+		XMLSourceDocument doc = new XMLSourceDocument(requestURI, content, type);
 		return doc;
 	}
 



Mime
View raw message