You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/04/12 11:38:27 UTC
svn commit: r527854 - in /incubator/wicket/branches/wicket-1.x:
jdk-1.4/wicket-datetime/.settings/
jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/basic/
jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/...
Author: jbq
Date: Thu Apr 12 02:38:24 2007
New Revision: 527854
URL: http://svn.apache.org/viewvc?view=rev&rev=527854
Log:
* org.apache.wicket -> wicket
* Line endings cleanup
* Fix typos
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/.settings/org.eclipse.jdt.ui.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/basic/DateLabel.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterStateModel.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/Markup.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractSubmitLink.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/AbstractLink.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/EnclosureHandler.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/WicketContainerResolver.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltOutputTransformerContainer.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltTransformerBehavior.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/ComponentPropertyModel.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IWrapModel.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/ReloadingWicketServlet.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/UnitTestSettings.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/request/CryptedUrlWebRequestCodingStrategy.java
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/tester/Result.java (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java (contents, props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-auth-roles/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-auth-roles/.settings/org.eclipse.jdt.ui.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-jmx/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-jmx/.settings/org.eclipse.jdt.ui.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-objectssizeof-agent/.settings/org.eclipse.core.resources.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-objectssizeof-agent/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-spring-annot/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/.settings/org.eclipse.jdt.ui.prefs (props changed)
incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/src/test/java/wicket/util/license/ApacheLicenceHeaderTest.java (props changed)
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/basic/DateLabel.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterStateModel.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterStateModel.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterStateModel.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/filter/FilterStateModel.java Thu Apr 12 02:38:24 2007
@@ -19,7 +19,7 @@
import org.apache.wicket.model.Model;
/**
- * Model that wraps filter state locator to make its use transparent to org.apache.wicket
+ * Model that wraps filter state locator to make its use transparent to wicket
* components.
* <p>
* Example:
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs Thu Apr 12 02:38:24 2007
@@ -1,6 +1,6 @@
-#Fri Oct 27 14:12:12 PDT 2006
-eclipse.preferences.version=1
-encoding//.deprecations/DEPRECATE_wicket.markup.html.form.FormComponent.inputAsStringArray().xml=utf-8
-encoding//.deprecations/DEPRECATE_wicket.markup.html.list.ListView.setOptimizeItemRemoval(boolean).xml=utf-8
-encoding//.deprecations/DEPRECATE_wicket.markup.html.tree.Tree$TreePathsListView.getOptimizeItemRemoval().xml=utf-8
-encoding//src/java/wicket/Application_bg.properties=UTF-8
+#Fri Oct 27 14:12:12 PDT 2006
+eclipse.preferences.version=1
+encoding//.deprecations/DEPRECATE_wicket.markup.html.form.FormComponent.inputAsStringArray().xml=utf-8
+encoding//.deprecations/DEPRECATE_wicket.markup.html.list.ListView.setOptimizeItemRemoval(boolean).xml=utf-8
+encoding//.deprecations/DEPRECATE_wicket.markup.html.tree.Tree$TreePathsListView.getOptimizeItemRemoval().xml=utf-8
+encoding//src/java/wicket/Application_bg.properties=UTF-8
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/.settings/org.eclipse.core.resources.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/Markup.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/Markup.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/Markup.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/Markup.java Thu Apr 12 02:38:24 2007
@@ -455,7 +455,7 @@
}
/**
- * Reset the markup to its defaults, except for the org.apache.wicket
+ * Reset the markup to its defaults, except for the wicket
* namespace which remains unchanged.
*/
final void reset()
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractSubmitLink.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java Thu Apr 12 02:38:24 2007
@@ -1,174 +1,174 @@
-/*
- * 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.internal;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.wicket.Component;
-import org.apache.wicket.MarkupContainer;
-import org.apache.wicket.WicketRuntimeException;
-import org.apache.wicket.markup.ComponentTag;
-import org.apache.wicket.markup.MarkupException;
-import org.apache.wicket.markup.MarkupStream;
-import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.markup.parser.filter.EnclosureHandler;
-import org.apache.wicket.markup.resolver.EnclosureResolver;
-
-
-
-/**
- * An Enclosure are automatically created by Wicket. Do not create it yourself.
- * An Enclosure container is created if <wicket:enclosure> is found in the
- * markup. It is meant to solve the following situation. Instead of
- *
- * <pre>
- * <table wicket:id="label-container" class="notify"><tr><td><span wicket:id="label">[[notification]]</span></td></tr></table>
- *
- * WebMarkupContainer container=new WebMarkupContainer("label-container")
- * {
- * public boolean isVisible()
- * {
- * return hasNotification();
- * }
- * };
- * add(container);
- * container.add(new Label("label", notificationModel));
- * </pre>
- *
- * with Enclosure you are able to do the following:
- *
- * <pre>
- * <wicket:enclosure>
- * <table class="notify"><tr><td><span wicket:id="label">[[notification]]</span></td></tr></table>
- * </wicket:enclosure>
- *
- * add(new Label("label", notificationModel))
- * {
- * public boolean isVisible()
- * {
- * return hasNotification();
- * }
- * }
- * </pre>
- *
- * @see EnclosureResolver
- * @see EnclosureHandler
- *
- * @author Juergen Donnerstag
- */
-public class Enclosure extends WebMarkupContainer
-{
- private static final long serialVersionUID = 1L;
-
- private static final Log log = LogFactory.getLog(Enclosure.class);
-
- /** The child component to delegate the isVisible() call to */
- private Component childComponent;
-
- /** Id of the child component that will control visibility of the enclosure */
- private final CharSequence childId;
-
- /**
- * Construct.
- *
- * @param parent
- * @param id
- * @param childId
- */
- public Enclosure(final String id, final CharSequence childId)
- {
- super(id);
- this.childId = childId;
- }
-
- /**
- *
- * @see org.apache.wicket.MarkupContainer#isTransparentResolver()
- */
- public boolean isTransparentResolver()
- {
- return true;
- }
-
- /**
- *
- * @param childId
- * @return Child Component
- */
- private Component getChildComponent(final CharSequence childId)
- {
- MarkupContainer parent = getParent();
- while ((parent != null) && parent.isTransparentResolver())
- {
- parent = parent.getParent();
- }
-
- if (parent == null)
- {
- throw new WicketRuntimeException(
- "Unable to find parent component which is not a transparent resolver");
- }
-
- if (childId == null)
- {
- throw new MarkupException(
- "You most likely forgot to register the EnclosureHandler with the MarkupParserFactory");
- }
-
- final Component child = parent.get(childId.toString());
- if (child == null)
- {
- throw new MarkupException("Didn't find child component of <wicket:enclosure> with id='"
- + childId + "'. Component: " + this.toString());
- }
-
- return child;
- }
-
- /**
- *
- * @see org.apache.wicket.MarkupContainer#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
- * org.apache.wicket.markup.ComponentTag)
- */
- protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag)
- {
- if (childComponent == null)
- {
- childComponent = getChildComponent(childId);
- }
-
- if (childComponent == this)
- {
- throw new WicketRuntimeException(
- "Programming error: childComponent == enclose component; endless loop");
- }
- else if (childComponent != null)
- {
- // Delegate to child component
- setVisible(childComponent.isVisible());
- }
-
- if (isVisible() == true)
- {
- super.onComponentTagBody(markupStream, openTag);
- }
- else
- {
- markupStream.skipUntil(openTag.getName());
- }
- }
-}
+/*
+ * 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.internal;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.wicket.Component;
+import org.apache.wicket.MarkupContainer;
+import org.apache.wicket.WicketRuntimeException;
+import org.apache.wicket.markup.ComponentTag;
+import org.apache.wicket.markup.MarkupException;
+import org.apache.wicket.markup.MarkupStream;
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.parser.filter.EnclosureHandler;
+import org.apache.wicket.markup.resolver.EnclosureResolver;
+
+
+
+/**
+ * An Enclosure are automatically created by Wicket. Do not create it yourself.
+ * An Enclosure container is created if <wicket:enclosure> is found in the
+ * markup. It is meant to solve the following situation. Instead of
+ *
+ * <pre>
+ * <table wicket:id="label-container" class="notify"><tr><td><span wicket:id="label">[[notification]]</span></td></tr></table>
+ *
+ * WebMarkupContainer container=new WebMarkupContainer("label-container")
+ * {
+ * public boolean isVisible()
+ * {
+ * return hasNotification();
+ * }
+ * };
+ * add(container);
+ * container.add(new Label("label", notificationModel));
+ * </pre>
+ *
+ * with Enclosure you are able to do the following:
+ *
+ * <pre>
+ * <wicket:enclosure>
+ * <table class="notify"><tr><td><span wicket:id="label">[[notification]]</span></td></tr></table>
+ * </wicket:enclosure>
+ *
+ * add(new Label("label", notificationModel))
+ * {
+ * public boolean isVisible()
+ * {
+ * return hasNotification();
+ * }
+ * }
+ * </pre>
+ *
+ * @see EnclosureResolver
+ * @see EnclosureHandler
+ *
+ * @author Juergen Donnerstag
+ */
+public class Enclosure extends WebMarkupContainer
+{
+ private static final long serialVersionUID = 1L;
+
+ private static final Log log = LogFactory.getLog(Enclosure.class);
+
+ /** The child component to delegate the isVisible() call to */
+ private Component childComponent;
+
+ /** Id of the child component that will control visibility of the enclosure */
+ private final CharSequence childId;
+
+ /**
+ * Construct.
+ *
+ * @param parent
+ * @param id
+ * @param childId
+ */
+ public Enclosure(final String id, final CharSequence childId)
+ {
+ super(id);
+ this.childId = childId;
+ }
+
+ /**
+ *
+ * @see org.apache.wicket.MarkupContainer#isTransparentResolver()
+ */
+ public boolean isTransparentResolver()
+ {
+ return true;
+ }
+
+ /**
+ *
+ * @param childId
+ * @return Child Component
+ */
+ private Component getChildComponent(final CharSequence childId)
+ {
+ MarkupContainer parent = getParent();
+ while ((parent != null) && parent.isTransparentResolver())
+ {
+ parent = parent.getParent();
+ }
+
+ if (parent == null)
+ {
+ throw new WicketRuntimeException(
+ "Unable to find parent component which is not a transparent resolver");
+ }
+
+ if (childId == null)
+ {
+ throw new MarkupException(
+ "You most likely forgot to register the EnclosureHandler with the MarkupParserFactory");
+ }
+
+ final Component child = parent.get(childId.toString());
+ if (child == null)
+ {
+ throw new MarkupException("Didn't find child component of <wicket:enclosure> with id='"
+ + childId + "'. Component: " + this.toString());
+ }
+
+ return child;
+ }
+
+ /**
+ *
+ * @see org.apache.wicket.MarkupContainer#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
+ * org.apache.wicket.markup.ComponentTag)
+ */
+ protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag)
+ {
+ if (childComponent == null)
+ {
+ childComponent = getChildComponent(childId);
+ }
+
+ if (childComponent == this)
+ {
+ throw new WicketRuntimeException(
+ "Programming error: childComponent == enclose component; endless loop");
+ }
+ else if (childComponent != null)
+ {
+ // Delegate to child component
+ setVisible(childComponent.isVisible());
+ }
+
+ if (isVisible() == true)
+ {
+ super.onComponentTagBody(markupStream, openTag);
+ }
+ else
+ {
+ markupStream.skipUntil(openTag.getName());
+ }
+ }
+}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/AbstractLink.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/EnclosureHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java Thu Apr 12 02:38:24 2007
@@ -1,62 +1,62 @@
-/*
- * 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.resolver;
-
-import org.apache.wicket.MarkupContainer;
-import org.apache.wicket.markup.ComponentTag;
-import org.apache.wicket.markup.MarkupStream;
-import org.apache.wicket.markup.WicketTag;
-import org.apache.wicket.markup.html.internal.Enclosure;
-import org.apache.wicket.markup.parser.filter.EnclosureHandler;
-
-/**
- * This is a tag resolver which automatically adds a Enclosure container for
- * each <wicket:enclosure> tag. As this is no default resolver, it must be
- * added manually:
- *
- * @see EnclosureHandler
- * @see Enclosure
- *
- * @author Juergen Donnerstag
- */
-public class EnclosureResolver implements IComponentResolver
-{
- private static final long serialVersionUID = 1L;
-
- /**
- *
- * @see org.apache.wicket.markup.resolver.IComponentResolver#resolve(org.apache.wicket.MarkupContainer,
- * org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag)
- */
- public boolean resolve(final MarkupContainer container, final MarkupStream markupStream,
- final ComponentTag tag)
- {
- if ((tag instanceof WicketTag) && ((WicketTag)tag).isEnclosureTag())
- {
- String id = "enclosure-" + container.getPage().getAutoIndex();
- final Enclosure enclosure = new Enclosure(id, tag
- .getString(EnclosureHandler.CHILD_ATTRIBUTE));
- container.autoAdd(enclosure);
-
- // Yes, we handled the tag
- return true;
- }
-
- // We were not able to handle the tag
- return false;
- }
+/*
+ * 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.resolver;
+
+import org.apache.wicket.MarkupContainer;
+import org.apache.wicket.markup.ComponentTag;
+import org.apache.wicket.markup.MarkupStream;
+import org.apache.wicket.markup.WicketTag;
+import org.apache.wicket.markup.html.internal.Enclosure;
+import org.apache.wicket.markup.parser.filter.EnclosureHandler;
+
+/**
+ * This is a tag resolver which automatically adds a Enclosure container for
+ * each <wicket:enclosure> tag. As this is no default resolver, it must be
+ * added manually:
+ *
+ * @see EnclosureHandler
+ * @see Enclosure
+ *
+ * @author Juergen Donnerstag
+ */
+public class EnclosureResolver implements IComponentResolver
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ *
+ * @see org.apache.wicket.markup.resolver.IComponentResolver#resolve(org.apache.wicket.MarkupContainer,
+ * org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag)
+ */
+ public boolean resolve(final MarkupContainer container, final MarkupStream markupStream,
+ final ComponentTag tag)
+ {
+ if ((tag instanceof WicketTag) && ((WicketTag)tag).isEnclosureTag())
+ {
+ String id = "enclosure-" + container.getPage().getAutoIndex();
+ final Enclosure enclosure = new Enclosure(id, tag
+ .getString(EnclosureHandler.CHILD_ATTRIBUTE));
+ container.autoAdd(enclosure);
+
+ // Yes, we handled the tag
+ return true;
+ }
+
+ // We were not able to handle the tag
+ return false;
+ }
}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/EnclosureResolver.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/WicketContainerResolver.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltOutputTransformerContainer.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltOutputTransformerContainer.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltOutputTransformerContainer.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltOutputTransformerContainer.java Thu Apr 12 02:38:24 2007
@@ -69,7 +69,7 @@
// root element)
setTransformBodyOnly(false);
- // Make the XSLT processor happy and allow him to handle the org.apache.wicket
+ // Make the XSLT processor happy and allow him to handle the wicket
// tags and attributes which are in the wicket namespace
add(new AttributeModifier("xmlns:wicket", true, new Model("http://wicket.apache.org")));
}
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltTransformerBehavior.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltTransformerBehavior.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltTransformerBehavior.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/transformer/XsltTransformerBehavior.java Thu Apr 12 02:38:24 2007
@@ -29,7 +29,7 @@
* transformation to ensure the xml data are well formed (single root element).
* In addition the attribute
* <code>xmlns:wicket="http://wicket.apache.org"</code> is added to
- * the root element to allow the XSL processor to handle the org.apache.wicket
+ * the root element to allow the XSL processor to handle the wicket
* namespace.
* <p>
* The reason why the transformer can not be used to XSLT the ListViews output
@@ -75,9 +75,8 @@
{
tag.put("xmlns:wicket", "http://wicket.apache.org");
- // Make the XSLT processor happy and allow it to handle the
- // org.apache.wicket
- // tags and attributes that are in the wicket namespace
+ // Make the XSLT processor happy and allow it to handle the wicket tags
+ // and attributes that are in the wicket namespace
super.onComponentTag(component, tag);
}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/ComponentPropertyModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IWrapModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/ReloadingWicketServlet.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/ReloadingWicketServlet.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/ReloadingWicketServlet.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/ReloadingWicketServlet.java Thu Apr 12 02:38:24 2007
@@ -20,7 +20,7 @@
/**
* Custom WicketServlet that reloads the web applications when classes are
* modified. In order to reload your own classes, use include and exclude
- * patterns using wildcards. And in web.xml, point to the reloading org.apache.wicket
+ * patterns using wildcards. And in web.xml, point to the reloading wicket
* servlet instead of the original one.
*
* <p>
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/UnitTestSettings.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/request/CryptedUrlWebRequestCodingStrategy.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/request/CryptedUrlWebRequestCodingStrategy.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/request/CryptedUrlWebRequestCodingStrategy.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/request/CryptedUrlWebRequestCodingStrategy.java Thu Apr 12 02:38:24 2007
@@ -519,7 +519,8 @@
}
/**
- * No stack trace. We don't won't to tell the hacker internals of org.apache.wicket
+ * No stack trace. We won't tell the hackers about the internals of
+ * wicket
*
* @see java.lang.Throwable#getStackTrace()
*/
@@ -529,8 +530,8 @@
}
/**
- * No additional information. We don't won't to tell the hacker
- * internals of org.apache.wicket
+ * No additional information. We won't tell the hackers about the
+ * internals of wicket
*
* @see java.lang.Throwable#toString()
*/
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/tester/Result.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java Thu Apr 12 02:38:24 2007
@@ -1,60 +1,60 @@
-/*
- * 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.validation.validator;
-
-import java.util.regex.Pattern;
-
-/**
- * Validator for checking the form/pattern of email addresses.
- *
- * @deprecated see {@link EmailAddressValidator}
- *
- * @author Chris Turner
- * @author Jonathan Locke
- * @author Martijn Dashorst
- */
-public class EmailAddressPatternValidator extends PatternValidator
-{
- private static final long serialVersionUID = 1L;
-
- /** Singleton instance */
- private static final EmailAddressPatternValidator INSTANCE = new EmailAddressPatternValidator();
-
- /**
- * @return Instance of emailadress validator
- */
- public static EmailAddressPatternValidator getInstance()
- {
- return INSTANCE;
- }
-
- /**
- * Protected constructor to force use of static singleton accessor method.
- * Or override it to implement resourceKey(Component)
- */
- protected EmailAddressPatternValidator()
- {
- super(
- "^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)",
- Pattern.CASE_INSENSITIVE);
- }
-
- protected String resourceKey()
- {
- return "EmailAddressPatternValidator";
- }
-}
+/*
+ * 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.validation.validator;
+
+import java.util.regex.Pattern;
+
+/**
+ * Validator for checking the form/pattern of email addresses.
+ *
+ * @deprecated see {@link EmailAddressValidator}
+ *
+ * @author Chris Turner
+ * @author Jonathan Locke
+ * @author Martijn Dashorst
+ */
+public class EmailAddressPatternValidator extends PatternValidator
+{
+ private static final long serialVersionUID = 1L;
+
+ /** Singleton instance */
+ private static final EmailAddressPatternValidator INSTANCE = new EmailAddressPatternValidator();
+
+ /**
+ * @return Instance of emailadress validator
+ */
+ public static EmailAddressPatternValidator getInstance()
+ {
+ return INSTANCE;
+ }
+
+ /**
+ * Protected constructor to force use of static singleton accessor method.
+ * Or override it to implement resourceKey(Component)
+ */
+ protected EmailAddressPatternValidator()
+ {
+ super(
+ "^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)",
+ Pattern.CASE_INSENSITIVE);
+ }
+
+ protected String resourceKey()
+ {
+ return "EmailAddressPatternValidator";
+ }
+}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/validator/EmailAddressPatternValidator.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html Thu Apr 12 02:38:24 2007
@@ -1,30 +1,30 @@
-<html xmlns:wicket>
-<body>
- <wicket:enclosure child="label1">
- <table><tr><span wicket:id="label1">Test Label 1</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="label2">
- <table><tr><span wicket:id="label2">Test Label 2</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="label3"></wicket:enclosure>
-
- <wicket:enclosure child="label6">
- <table><tr><span wicket:id="label4">Test Label 2</span></tr></table>
- <table><tr><span wicket:id="label5">Test Label 2</span></tr></table>
- <table><tr><span wicket:id="label6">Test Label 2</span></tr></table>
- <table><tr><span wicket:id="label7">Test Label 2</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="container:label8">
- <span wicket:id="container">
- <span wicket:id="label8">Test Label 2</span>
- </span>
- </wicket:enclosure>
-
- <wicket:enclosure child="label9">
- <span wicket:id="label9">Test Label 2</span><p>
- </wicket:enclosure>
-</body>
-</html>
+<html xmlns:wicket>
+<body>
+ <wicket:enclosure child="label1">
+ <table><tr><span wicket:id="label1">Test Label 1</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="label2">
+ <table><tr><span wicket:id="label2">Test Label 2</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="label3"></wicket:enclosure>
+
+ <wicket:enclosure child="label6">
+ <table><tr><span wicket:id="label4">Test Label 2</span></tr></table>
+ <table><tr><span wicket:id="label5">Test Label 2</span></tr></table>
+ <table><tr><span wicket:id="label6">Test Label 2</span></tr></table>
+ <table><tr><span wicket:id="label7">Test Label 2</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="container:label8">
+ <span wicket:id="container">
+ <span wicket:id="label8">Test Label 2</span>
+ </span>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="label9">
+ <span wicket:id="label9">Test Label 2</span><p>
+ </wicket:enclosure>
+</body>
+</html>
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html Thu Apr 12 02:38:24 2007
@@ -1,32 +1,32 @@
-<html xmlns:wicket>
-<body>
- <wicket:enclosure>
- <table><tr><span wicket:id="label1">Test</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="label2">
- <table><tr><span wicket:id="label2">Test</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure>
- <table><tr><span wicket:id="label3">Test</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="label6">
- <table><tr><span wicket:id="label4">Test</span></tr></table>
- <table><tr><span wicket:id="label5">Test</span></tr></table>
- <table><tr><span wicket:id="label6">Test</span></tr></table>
- <table><tr><span wicket:id="label7">Test</span></tr></table>
- </wicket:enclosure>
-
- <wicket:enclosure child="container:label8">
- <span wicket:id="container">
- <span wicket:id="label8">Test</span>
- </span>
- </wicket:enclosure>
-
- <wicket:enclosure>
- <span wicket:id="label9">Test</span><p>
- </wicket:enclosure>
-</body>
-</html>
+<html xmlns:wicket>
+<body>
+ <wicket:enclosure>
+ <table><tr><span wicket:id="label1">Test</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="label2">
+ <table><tr><span wicket:id="label2">Test</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure>
+ <table><tr><span wicket:id="label3">Test</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="label6">
+ <table><tr><span wicket:id="label4">Test</span></tr></table>
+ <table><tr><span wicket:id="label5">Test</span></tr></table>
+ <table><tr><span wicket:id="label6">Test</span></tr></table>
+ <table><tr><span wicket:id="label7">Test</span></tr></table>
+ </wicket:enclosure>
+
+ <wicket:enclosure child="container:label8">
+ <span wicket:id="container">
+ <span wicket:id="label8">Test</span>
+ </span>
+ </wicket:enclosure>
+
+ <wicket:enclosure>
+ <span wicket:id="label9">Test</span><p>
+ </wicket:enclosure>
+</body>
+</html>
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java Thu Apr 12 02:38:24 2007
@@ -1,50 +1,50 @@
-/*
- * 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.internal;
-
-import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.markup.html.WebPage;
-import org.apache.wicket.markup.html.basic.Label;
-
-
-/**
- * Mock page for testing.
- *
- * @author Juergen Donnerstag
- */
-public class EnclosurePage_1 extends WebPage
-{
- private static final long serialVersionUID = 1L;
-
- /**
- * Construct.
- */
- public EnclosurePage_1()
- {
- add(new Label("label1", "Test Label 1"));
- add(new Label("label2", "Test Label 2"));
- add(new Label("label3", "Test Label 3").setVisible(false));
- add(new Label("label4", "Test Label 2"));
- add(new Label("label5", "Test Label 2"));
- add(new Label("label6", "Test Label 2"));
- add(new Label("label7", "Test Label 2"));
- WebMarkupContainer container = new WebMarkupContainer("container");
- add(container);
- container.add(new Label("label8", "Test Label 2"));
- add(new Label("label9", "Test Label 2"));
- }
-}
+/*
+ * 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.internal;
+
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.html.WebPage;
+import org.apache.wicket.markup.html.basic.Label;
+
+
+/**
+ * Mock page for testing.
+ *
+ * @author Juergen Donnerstag
+ */
+public class EnclosurePage_1 extends WebPage
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Construct.
+ */
+ public EnclosurePage_1()
+ {
+ add(new Label("label1", "Test Label 1"));
+ add(new Label("label2", "Test Label 2"));
+ add(new Label("label3", "Test Label 3").setVisible(false));
+ add(new Label("label4", "Test Label 2"));
+ add(new Label("label5", "Test Label 2"));
+ add(new Label("label6", "Test Label 2"));
+ add(new Label("label7", "Test Label 2"));
+ WebMarkupContainer container = new WebMarkupContainer("container");
+ add(container);
+ container.add(new Label("label8", "Test Label 2"));
+ add(new Label("label9", "Test Label 2"));
+ }
+}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_1.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java Thu Apr 12 02:38:24 2007
@@ -1,59 +1,59 @@
-/*
- * 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.internal;
-
-import org.apache.wicket.WicketTestCase;
-import org.apache.wicket.protocol.http.WebApplication;
-import org.apache.wicket.resource.DummyApplication;
-import org.apache.wicket.util.tester.WicketTester;
-
-
-/**
- *
- * @author Juergen Donnerstag
- */
-public class EnclosureTest extends WicketTestCase
-{
- /**
- * Construct.
- *
- * @param name
- */
- public EnclosureTest(final String name)
- {
- super(name);
- }
-
- /**
- *
- * @see org.apache.wicket.WicketTestCase#setUp()
- */
-
- protected void setUp() throws Exception
- {
- WebApplication app = new DummyApplication();
- tester = new WicketTester(app);
- }
-
- /**
- * @throws Exception
- */
- public void testRenderHomePage() throws Exception
- {
- executeTest(EnclosurePage_1.class, "EnclosurePageExpectedResult_1.html");
- }
-}
+/*
+ * 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.internal;
+
+import org.apache.wicket.WicketTestCase;
+import org.apache.wicket.protocol.http.WebApplication;
+import org.apache.wicket.resource.DummyApplication;
+import org.apache.wicket.util.tester.WicketTester;
+
+
+/**
+ *
+ * @author Juergen Donnerstag
+ */
+public class EnclosureTest extends WicketTestCase
+{
+ /**
+ * Construct.
+ *
+ * @param name
+ */
+ public EnclosureTest(final String name)
+ {
+ super(name);
+ }
+
+ /**
+ *
+ * @see org.apache.wicket.WicketTestCase#setUp()
+ */
+
+ protected void setUp() throws Exception
+ {
+ WebApplication app = new DummyApplication();
+ tester = new WicketTester(app);
+ }
+
+ /**
+ * @throws Exception
+ */
+ public void testRenderHomePage() throws Exception
+ {
+ executeTest(EnclosurePage_1.class, "EnclosurePageExpectedResult_1.html");
+ }
+}
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-auth-roles/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-auth-roles/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java?view=diff&rev=527854&r1=527853&r2=527854
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java Thu Apr 12 02:38:24 2007
@@ -29,7 +29,7 @@
public class ExampleApplication extends SpringWebApplication {
/**
- * this field holds a contact dao proxy that is safe to use in org.apache.wicket
+ * this field holds a contact dao proxy that is safe to use in wicket
* components
*/
private ContactDao contactDaoProxy;
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-jmx/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-jmx/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-objectssizeof-agent/.settings/org.eclipse.core.resources.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-objectssizeof-agent/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/jdk-1.5/wicket-spring-annot/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/testing/wicket-threadtest/src/test/java/wicket/util/license/ApacheLicenceHeaderTest.java
------------------------------------------------------------------------------
svn:eol-style = native