You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by da...@apache.org on 2009/12/15 23:10:51 UTC

svn commit: r891030 - /wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java

Author: dashorst
Date: Tue Dec 15 22:10:51 2009
New Revision: 891030

URL: http://svn.apache.org/viewvc?rev=891030&view=rev
Log:
Fix compiler issue

Modified:
    wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java?rev=891030&r1=891029&r2=891030&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/compref/XmlPage.java Tue Dec 15 22:10:51 2009
@@ -19,6 +19,7 @@
 
 import java.util.List;
 
+import org.apache.wicket.markup.MarkupType;
 import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.markup.html.basic.Label;
 import org.apache.wicket.markup.html.list.ListItem;
@@ -44,9 +45,9 @@
 	 * @see org.apache.wicket.MarkupContainer#getMarkupType()
 	 */
 	@Override
-	public String getMarkupType()
+	public MarkupType getMarkupType()
 	{
-		return "xml";
+		return new MarkupType("xml", "text/xml");
 	}
 
 	/** list view for rendering person objects. */