You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2007/08/12 10:09:18 UTC
svn commit: r565013 - in /wicket/trunk/jdk-1.4/wicket/src:
main/java/org/apache/wicket/markup/
main/java/org/apache/wicket/markup/html/panel/
test/java/org/apache/wicket/markup/html/autolink/
Author: jdonnerstag
Date: Sun Aug 12 01:09:17 2007
New Revision: 565013
URL: http://svn.apache.org/viewvc?view=rev&rev=565013
Log:
fixed wicket-564: Problem with Autolinks inside panel preview code
Added:
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html (with props)
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java (with props)
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MarkupStream.java
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/panel/Panel.java
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/AutolinkTest.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MarkupStream.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MarkupStream.java?view=diff&rev=565013&r1=565012&r2=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MarkupStream.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MarkupStream.java Sun Aug 12 01:09:17 2007
@@ -380,12 +380,34 @@
*/
public void skipRawMarkup()
{
- while (current instanceof RawMarkup)
+ while (true)
{
- if (next() == null)
+ if (current instanceof RawMarkup)
{
- break;
+ if (next() != null)
+ {
+ continue;
+ }
}
+ else if ((current instanceof ComponentTag) && !(current instanceof WicketTag))
+ {
+ ComponentTag tag = (ComponentTag)current;
+ if (tag.isAutoComponentTag())
+ {
+ if (next() != null)
+ {
+ continue;
+ }
+ }
+ else if (tag.isClose() && tag.getOpenTag().isAutoComponentTag())
+ {
+ if (next() != null)
+ {
+ continue;
+ }
+ }
+ }
+ break;
}
}
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/panel/Panel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/panel/Panel.java?view=diff&rev=565013&r1=565012&r2=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/panel/Panel.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/panel/Panel.java Sun Aug 12 01:09:17 2007
@@ -17,6 +17,7 @@
package org.apache.wicket.markup.html.panel;
import org.apache.wicket.markup.ComponentTag;
+import org.apache.wicket.markup.MarkupException;
import org.apache.wicket.markup.MarkupStream;
import org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup;
import org.apache.wicket.markup.html.internal.HtmlHeaderContainer;
@@ -28,6 +29,7 @@
* A panel is a reusable component that holds markup and other components.
* <p>
* Whereas WebMarkupContainer is an inline container like
+ *
* <pre>
* ...
* <span wicket:id="xxx">
@@ -36,8 +38,10 @@
* </span>
* ...
* </pre>
- * a Panel has its own associated markup file and the container content is
- * taken from that file, like:
+ *
+ * a Panel has its own associated markup file and the container content is taken
+ * from that file, like:
+ *
* <pre>
* <span wicket:id="mypanel"/>
*
@@ -60,68 +64,74 @@
// register "wicket:panel"
WicketTagIdentifier.registerWellKnownTagName("panel");
}
-
+
/** If if tag was an open-close tag */
private boolean wasOpenCloseTag = false;
-
+
+ /**
+ * @see org.apache.wicket.Component#Component(String)
+ */
+ public Panel(final String id)
+ {
+ super(id);
+ }
+
+ /**
+ * @see org.apache.wicket.Component#Component(String, IModel)
+ */
+ public Panel(final String id, final IModel model)
+ {
+ super(id, model);
+ }
+
/**
- * @see org.apache.wicket.Component#Component(String)
- */
- public Panel(final String id)
- {
- super(id);
- }
-
- /**
- * @see org.apache.wicket.Component#Component(String, IModel)
- */
- public Panel(final String id, final IModel model)
- {
- super(id, model);
- }
-
- /**
- *
- * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
- */
- protected void onComponentTag(final ComponentTag tag)
- {
- if (tag.isOpenClose())
- {
- this.wasOpenCloseTag = true;
-
- // Convert <span wicket:id="myPanel" /> into
- // <span wicket:id="myPanel">...</span>
- tag.setType(XmlTag.OPEN);
- }
- super.onComponentTag(tag);
- }
-
- /**
- *
- * @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag)
- */
- protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)
- {
- // Render the associated markup
- renderAssociatedMarkup("panel",
- "Markup for a panel component has to contain part '<wicket:panel>'");
+ *
+ * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
+ */
+ protected void onComponentTag(final ComponentTag tag)
+ {
+ if (tag.isOpenClose())
+ {
+ wasOpenCloseTag = true;
+
+ // Convert <span wicket:id="myPanel" /> into
+ // <span wicket:id="myPanel">...</span>
+ tag.setType(XmlTag.OPEN);
+ }
+ super.onComponentTag(tag);
+ }
- if (this.wasOpenCloseTag == false)
- {
+ /**
+ *
+ * @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
+ * org.apache.wicket.markup.ComponentTag)
+ */
+ protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)
+ {
+ // Render the associated markup
+ renderAssociatedMarkup("panel",
+ "Markup for a panel component has to contain part '<wicket:panel>'");
+
+ if (wasOpenCloseTag == false)
+ {
// Skip any raw markup in the body
markupStream.skipRawMarkup();
- }
- }
+ if (markupStream.get().closes(openTag) == false)
+ {
+ throw new MarkupException("close tag not found for tag: " + openTag.toString() +
+ ". Component: " + this.toString());
+ }
+ }
+ }
- /**
- * Check the associated markup file for a wicket header tag
- *
- * @see org.apache.wicket.Component#renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer)
- */
- public void renderHead(HtmlHeaderContainer container)
- {
- this.renderHeadFromAssociatedMarkupFile(container);
- super.renderHead(container);
- }
+ /**
+ * Check the associated markup file for a wicket header tag
+ *
+ * @see org.apache.wicket.Component#renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer)
+ */
+ public void renderHead(HtmlHeaderContainer container)
+ {
+ renderHeadFromAssociatedMarkupFile(container);
+ super.renderHead(container);
+ }
}
Modified: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/AutolinkTest.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/AutolinkTest.java?view=diff&rev=565013&r1=565012&r2=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/AutolinkTest.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/AutolinkTest.java Sun Aug 12 01:09:17 2007
@@ -67,4 +67,13 @@
{
executeTest(PageB.class, "PageBExpectedResult.html");
}
+
+ /**
+ *
+ * @throws Exception
+ */
+ public void test_4() throws Exception
+ {
+ executeTest(Index.class, "Index_ExpectedResult.html");
+ }
}
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html Sun Aug 12 01:09:17 2007
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>QuickStart</title>
+ </head>
+ <body>
+ <wicket:extend>
+ <h1>QuickStart - Index</h1>
+ <p>This is your first Wicket application.</p>
+ </wicket:extend>
+
+ <!-- ensure offline preview -->
+ <div wicket:id="linkPanel">
+ <ul>
+ <li>
+ <a href="Index.html">Index</a>
+ </li>
+ <li>
+ <a href="SubPage.html">SubPage</a>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
+
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java Sun Aug 12 01:09:17 2007
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.markup.html.autolink;
+
+import org.apache.wicket.PageParameters;
+
+/**
+ * Basic bookmarkable index page.
+ *
+ * NOTE: You can get session properties from QuickStartSession via
+ * getQuickStartSession()
+ */
+public class Index extends QuickStartPage
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructor that is invoked when page is invoked without a session.
+ *
+ * @param parameters
+ * Page parameters
+ */
+ public Index(final PageParameters parameters)
+ {
+ }
+}
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html Sun Aug 12 01:09:17 2007
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>QuickStart</title>
+ </head>
+ <body>
+ <wicket:child><wicket:extend>
+ <h1>QuickStart - Index</h1>
+ <p>This is your first Wicket application.</p>
+ </wicket:extend></wicket:child>
+
+ <!-- ensure offline preview -->
+ <div wicket:id="linkPanel"><wicket:panel>
+ <ul>
+ <li>
+ <a href="?wicket:bookmarkablePage=%3Aorg.apache.wicket.markup.html.autolink.Index" wicket:id="indexLink">Index</a>
+ </li>
+ <li>
+ <a href="?wicket:bookmarkablePage=%3Aorg.apache.wicket.markup.html.autolink.SubPage" wicket:id="subPageLink">SubPage</a>
+ </li>
+ </ul>
+</wicket:panel></div>
+ </body>
+</html>
+
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/Index_ExpectedResult.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html Sun Aug 12 01:09:17 2007
@@ -0,0 +1,10 @@
+<wicket:panel>
+ <ul>
+ <li>
+ <a href="#" wicket:id="indexLink">Index</a>
+ </li>
+ <li>
+ <a href="#" wicket:id="subPageLink">SubPage</a>
+ </li>
+ </ul>
+</wicket:panel>
\ No newline at end of file
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java Sun Aug 12 01:09:17 2007
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.markup.html.autolink;
+
+import org.apache.wicket.markup.html.link.BookmarkablePageLink;
+import org.apache.wicket.markup.html.panel.Panel;
+
+/**
+ * Panel with a link inside
+ *
+ * @author Rüdiger Schulz <ru...@darkprophet.de>
+ *
+ */
+public class LinkPanel extends Panel
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Construct.
+ *
+ * @param id
+ */
+ public LinkPanel(String id)
+ {
+ super(id);
+ add(new BookmarkablePageLink("indexLink", Index.class));
+ add(new BookmarkablePageLink("subPageLink", SubPage.class));
+ }
+}
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/LinkPanel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html Sun Aug 12 01:09:17 2007
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>QuickStart</title>
+ </head>
+ <body>
+ <wicket:child>
+ <h1>QuickStart</h1>
+ <p>This is your first Wicket application.</p>
+ </wicket:child>
+
+ <!-- ensure offline preview -->
+ <div wicket:id="linkPanel">
+ <ul>
+ <li>
+ <a href="Index.html">Index</a>
+ </li>
+ <li>
+ <a href="SubPage.html">SubPage</a>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
+
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java Sun Aug 12 01:09:17 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.markup.html.autolink;
+
+import org.apache.wicket.markup.html.WebPage;
+
+/**
+ * Base class for all pages in the QuickStart application. Any page which
+ * subclasses this page can get session properties from QuickStartSession via
+ * getQuickStartSession().
+ */
+public abstract class QuickStartPage extends WebPage
+{
+ /**
+ * Construct.
+ */
+ public QuickStartPage()
+ {
+ add(new LinkPanel("linkPanel"));
+ }
+}
\ No newline at end of file
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/QuickStartPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html Sun Aug 12 01:09:17 2007
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>QuickStart</title>
+ </head>
+ <body>
+ <wicket:extend>
+ <h1>QuickStart - SubPage</h1>
+ <p>This is your first Wicket application.</p>
+ </wicket:extend>
+
+ <!-- ensure offline preview -->
+ <div wicket:id="linkPanel">
+ <ul>
+ <li>
+ <a href="Index.html">Index</a>
+ </li>
+ <li>
+ <a href="SubPage.html">SubPage</a>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
+
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java?view=auto&rev=565013
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java (added)
+++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java Sun Aug 12 01:09:17 2007
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.markup.html.autolink;
+
+/**
+ *
+ */
+public class SubPage extends QuickStartPage
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Construct.
+ */
+ public SubPage()
+ {
+ // this is just here so that something could link here
+ }
+}
Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/autolink/SubPage.java
------------------------------------------------------------------------------
svn:eol-style = native