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/05/16 15:52:34 UTC
svn commit: r538592 - in /incubator/wicket/trunk:
jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/
jdk-1.4/wicket-extensions/src/test...
Author: jbq
Date: Wed May 16 06:52:28 2007
New Revision: 538592
URL: http://svn.apache.org/viewvc?view=rev&rev=538592
Log:
Cleanup line endings
Modified:
incubator/wicket/trunk/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.js (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/AbstractTree.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/SelectedPathReplacementModel.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree$DefaultNodePanel.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/TreeState.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/package.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/tree.css (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/AbstractTreePage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/BorderedPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/PageBorder.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/PageBorder.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageExpectedResult_1-1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageExpectedResult_1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHead.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHead.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHeadExpectedResult_1-1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHeadExpectedResult_1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTag.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTag.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTagExpectedResult_1-1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTagExpectedResult_1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorder.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorder.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorderExpectedResult_1-1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorderExpectedResult_1.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/.settings/org.eclipse.jdt.core.prefs (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/.settings/org.eclipse.jdt.ui.prefs (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/pom.xml (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/Initializer.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityContributor.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/velocity.properties (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/wicket.properties (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPanelTest.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/test.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/testWithMarkup.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptContributorTest.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/testTemplate.vm (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application_ru.xml (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application_th_TH.xml (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MergedMarkup.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/ContextImage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/DefaultAbstractTree.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/DefaultTreeState.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/ITreeState.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/ITreeStateListener.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/Tree.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/Tree.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/package.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree-table.css (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree.css (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree.js (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractRenderableColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractTreeColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/ColumnLocation.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/IColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/IRenderable.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/MiddleColumnsView.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/PropertyRenderableColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/PropertyTreeColumn.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/SideColumnsView.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable$TreeFragment.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IObjectClassAwareModel.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/IValidatorAddListener.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java (contents, props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/SetResponsePageTest$Page3.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/SetResponsePageTest.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTest.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageToNormalPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageToNormalPage.java (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/NormalPage.html (props changed)
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/NormalPage.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_da_DK.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_de.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_fa_IR.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_ja.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_pt_BR.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_ru.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_th_TH.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_zh_CN.xml (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/Person.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/TemplatePage.html (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/TemplatePage.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/VelocityTemplateApplication.java (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/fields.vm (props changed)
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/persons.vm (props changed)
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/DatePicker.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/AbstractTree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/SelectedPathReplacementModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree$DefaultNodePanel.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/Tree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/TreeState.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tree/tree.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/AbstractTreePage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/BorderedPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java Wed May 16 06:52:28 2007
@@ -1,125 +1,125 @@
-/*
- * 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.extensions.markup.html.tree;
-
-import java.util.List;
-
-import javax.swing.tree.DefaultMutableTreeNode;
-import javax.swing.tree.TreeModel;
-
-import org.apache.wicket.ResourceReference;
-import org.apache.wicket.extensions.markup.html.tree.Tree;
-import org.apache.wicket.markup.html.image.Image;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * tree implementation.
- *
- * @author Eelco Hillenius
- */
-public class MyTree extends Tree
-{
- private static final long serialVersionUID = 1L;
-
- private static final ResourceReference folderOpen = new ResourceReference(MyTree.class, "folderopen.gif");
- private static final ResourceReference folder = new ResourceReference(MyTree.class, "folder.gif");
- private static final ResourceReference nodeImage = new ResourceReference(MyTree.class, "node.gif");
-
- /** Log. */
- private static final Logger log = LoggerFactory.getLogger(MyTree.class);
-
- /**
- * Construct.
- *
- * @param id
- * The id of this component
- * @param model
- * the tree model
- */
- public MyTree(String id, TreeModel model)
- {
- super(id, model);
- }
-
- /**
- * @see org.apache.wicket.extensions.markup.html.tree.Tree#junctionLinkClicked(javax.swing.tree.DefaultMutableTreeNode)
- */
- protected void junctionLinkClicked(DefaultMutableTreeNode node)
- {
- super.junctionLinkClicked(node);
- log.info("tree junction link was clicked, user object: " + node.getUserObject());
- }
-
- /**
- * @see org.apache.wicket.extensions.markup.html.tree.Tree#nodeLinkClicked(javax.swing.tree.DefaultMutableTreeNode)
- */
- protected void nodeLinkClicked(DefaultMutableTreeNode node)
- {
- super.nodeLinkClicked(node);
- log.info("tree node link was clicked, user object: " + node.getUserObject());
- }
-
- /**
- * @see org.apache.wicket.markup.html.tree.Tree#getNodeImage(javax.swing.tree.DefaultMutableTreeNode)
- */
- protected Image getNodeImage(final DefaultMutableTreeNode node)
- {
- if (node.isLeaf())
- {
- Image img = new Image(NODE_IMAGE_NAME, nodeImage);
- return img;
- }
- else
- {
- // we want the image to be dynamic, yet resolve to a static image.
- return new Image(NODE_IMAGE_NAME)
- {
- private static final long serialVersionUID = 1L;
-
- protected ResourceReference getImageResourceReference()
- {
- if (isExpanded(node))
- {
- return folderOpen;
- }
- else
- {
- return folder;
- }
- }
- };
- }
- }
-
- /**
- * @see org.apache.wicket.extensions.markup.html.tree.Tree#getNodeLabel(javax.swing.tree.DefaultMutableTreeNode)
- */
- protected String getNodeLabel(DefaultMutableTreeNode node)
- {
- Object userObject = node.getUserObject();
- if (userObject instanceof List)
- {
- return "<sub>";
- }
- else
- {
- return String.valueOf(node.getUserObject());
- }
- }
+/*
+ * 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.extensions.markup.html.tree;
+
+import java.util.List;
+
+import javax.swing.tree.DefaultMutableTreeNode;
+import javax.swing.tree.TreeModel;
+
+import org.apache.wicket.ResourceReference;
+import org.apache.wicket.extensions.markup.html.tree.Tree;
+import org.apache.wicket.markup.html.image.Image;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * tree implementation.
+ *
+ * @author Eelco Hillenius
+ */
+public class MyTree extends Tree
+{
+ private static final long serialVersionUID = 1L;
+
+ private static final ResourceReference folderOpen = new ResourceReference(MyTree.class, "folderopen.gif");
+ private static final ResourceReference folder = new ResourceReference(MyTree.class, "folder.gif");
+ private static final ResourceReference nodeImage = new ResourceReference(MyTree.class, "node.gif");
+
+ /** Log. */
+ private static final Logger log = LoggerFactory.getLogger(MyTree.class);
+
+ /**
+ * Construct.
+ *
+ * @param id
+ * The id of this component
+ * @param model
+ * the tree model
+ */
+ public MyTree(String id, TreeModel model)
+ {
+ super(id, model);
+ }
+
+ /**
+ * @see org.apache.wicket.extensions.markup.html.tree.Tree#junctionLinkClicked(javax.swing.tree.DefaultMutableTreeNode)
+ */
+ protected void junctionLinkClicked(DefaultMutableTreeNode node)
+ {
+ super.junctionLinkClicked(node);
+ log.info("tree junction link was clicked, user object: " + node.getUserObject());
+ }
+
+ /**
+ * @see org.apache.wicket.extensions.markup.html.tree.Tree#nodeLinkClicked(javax.swing.tree.DefaultMutableTreeNode)
+ */
+ protected void nodeLinkClicked(DefaultMutableTreeNode node)
+ {
+ super.nodeLinkClicked(node);
+ log.info("tree node link was clicked, user object: " + node.getUserObject());
+ }
+
+ /**
+ * @see org.apache.wicket.markup.html.tree.Tree#getNodeImage(javax.swing.tree.DefaultMutableTreeNode)
+ */
+ protected Image getNodeImage(final DefaultMutableTreeNode node)
+ {
+ if (node.isLeaf())
+ {
+ Image img = new Image(NODE_IMAGE_NAME, nodeImage);
+ return img;
+ }
+ else
+ {
+ // we want the image to be dynamic, yet resolve to a static image.
+ return new Image(NODE_IMAGE_NAME)
+ {
+ private static final long serialVersionUID = 1L;
+
+ protected ResourceReference getImageResourceReference()
+ {
+ if (isExpanded(node))
+ {
+ return folderOpen;
+ }
+ else
+ {
+ return folder;
+ }
+ }
+ };
+ }
+ }
+
+ /**
+ * @see org.apache.wicket.extensions.markup.html.tree.Tree#getNodeLabel(javax.swing.tree.DefaultMutableTreeNode)
+ */
+ protected String getNodeLabel(DefaultMutableTreeNode node)
+ {
+ Object userObject = node.getUserObject();
+ if (userObject instanceof List)
+ {
+ return "<sub>";
+ }
+ else
+ {
+ return String.valueOf(node.getUserObject());
+ }
+ }
}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/MyTree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/PageBorder.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/PageBorder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageExpectedResult_1-1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageExpectedResult_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHead.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHead.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHeadExpectedResult_1-1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoHtmlHeadExpectedResult_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTag.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTag.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTagExpectedResult_1-1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageNoWicketHeadTagExpectedResult_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorder.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorderExpectedResult_1-1.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreePageWithBorderExpectedResult_1.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java Wed May 16 06:52:28 2007
@@ -1,90 +1,90 @@
-/*
- * 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.extensions.markup.html.tree;
-
-import org.apache.wicket.WicketTestCase;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * Test for the Tree component. Also tests header insertion as that is what the
- * Tree component uses.
- *
- * @author Juergen Donnerstag
- * @author Eelco Hillenius
- */
-public class TreeTest extends WicketTestCase
-{
- private static final Logger log = LoggerFactory.getLogger(TreeTest.class);
-
- /**
- * Create the test.
- *
- * @param name
- * The test name
- */
- public TreeTest(String name)
- {
- super(name);
- }
-
- /**
- * Test Tree put on a plain page. Tests first render, and render after a
- * node click.
- *
- * @throws Exception
- */
- public void testRenderTreePage_1() throws Exception
- {
- executeTest(TreePage.class, "TreePageExpectedResult_1.html");
-
- executedListener(TreePage.class,
- tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
- "TreePageExpectedResult_1-1.html");
- }
-
- /**
- * Test Tree put on a page with a border. Tests first render, and render
- * after a node click.
- *
- * @throws Exception
- */
- public void testRenderTreePageWithBorder_1() throws Exception
- {
- executeTest(TreePageWithBorder.class, "TreePageWithBorderExpectedResult_1.html");
-
- executedListener(TreePageWithBorder.class,
- tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
- "TreePageWithBorderExpectedResult_1-1.html");
- }
-
- /**
- * Test Tree put on a plain page with a html head section, but without a
- * wicket:head tag. Tests first render, and render after a node click.
- *
- * @throws Exception
- */
- public void testRenderTreePageNoWicketHeadTag_1() throws Exception
- {
- executeTest(TreePageNoWicketHeadTag.class, "TreePageNoWicketHeadTagExpectedResult_1.html");
-
- executedListener(TreePageNoWicketHeadTag.class,
- tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
- "TreePageNoWicketHeadTagExpectedResult_1-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.extensions.markup.html.tree;
+
+import org.apache.wicket.WicketTestCase;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * Test for the Tree component. Also tests header insertion as that is what the
+ * Tree component uses.
+ *
+ * @author Juergen Donnerstag
+ * @author Eelco Hillenius
+ */
+public class TreeTest extends WicketTestCase
+{
+ private static final Logger log = LoggerFactory.getLogger(TreeTest.class);
+
+ /**
+ * Create the test.
+ *
+ * @param name
+ * The test name
+ */
+ public TreeTest(String name)
+ {
+ super(name);
+ }
+
+ /**
+ * Test Tree put on a plain page. Tests first render, and render after a
+ * node click.
+ *
+ * @throws Exception
+ */
+ public void testRenderTreePage_1() throws Exception
+ {
+ executeTest(TreePage.class, "TreePageExpectedResult_1.html");
+
+ executedListener(TreePage.class,
+ tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
+ "TreePageExpectedResult_1-1.html");
+ }
+
+ /**
+ * Test Tree put on a page with a border. Tests first render, and render
+ * after a node click.
+ *
+ * @throws Exception
+ */
+ public void testRenderTreePageWithBorder_1() throws Exception
+ {
+ executeTest(TreePageWithBorder.class, "TreePageWithBorderExpectedResult_1.html");
+
+ executedListener(TreePageWithBorder.class,
+ tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
+ "TreePageWithBorderExpectedResult_1-1.html");
+ }
+
+ /**
+ * Test Tree put on a plain page with a html head section, but without a
+ * wicket:head tag. Tests first render, and render after a node click.
+ *
+ * @throws Exception
+ */
+ public void testRenderTreePageNoWicketHeadTag_1() throws Exception
+ {
+ executeTest(TreePageNoWicketHeadTag.class, "TreePageNoWicketHeadTagExpectedResult_1.html");
+
+ executedListener(TreePageNoWicketHeadTag.class,
+ tester.getLastRenderedPage().get("tree:tree:3:node:junctionLink"),
+ "TreePageNoWicketHeadTagExpectedResult_1-1.html");
+ }
+}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/Initializer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityContributor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/velocity.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/wicket.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityPanelTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/test.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/markup/html/velocity/testWithMarkup.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptContributorTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/VelocityJavascriptPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/test/java/wicket/contrib/velocity/testTemplate.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application_ru.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application_th_TH.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/MergedMarkup.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/ContextImage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/DefaultAbstractTree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/DefaultTreeState.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/ITreeState.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/ITreeStateListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/Tree.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/Tree.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree-table.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/res/tree.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractRenderableColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/AbstractTreeColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/ColumnLocation.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/IColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/IRenderable.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/MiddleColumnsView.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/PropertyRenderableColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/PropertyTreeColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/SideColumnsView.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable$TreeFragment.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/tree/table/TreeTable.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java Wed May 16 06:52:28 2007
@@ -1,109 +1,109 @@
-/*
- * 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.repeater;
-
-import java.util.Iterator;
-
-import org.apache.wicket.Component;
-import org.apache.wicket.markup.MarkupStream;
-import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.model.IModel;
-
-/**
- * Base class for repeaters. This container renders each of its children using
- * its own markup.
- *
- * The children are collected using {@link #renderIterator()} method. This class
- * will take care of properly positioning and rewinding its markup stream so
- * before each child renders it points to the beginning of this component. Each
- * child is rendered by a call to {@link #renderChild(Component)}. A typical
- * implementation simply does <code>child.render(getMarkupStream());</code>.
- *
- * @author Igor Vaynberg (ivaynberg)
- */
-public abstract class AbstractRepeater extends WebMarkupContainer
-{
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor
- *
- * @param id
- */
- public AbstractRepeater(String id)
- {
- super(id);
- }
-
- /**
- * Constructor
- *
- * @param id
- * @param model
- */
- public AbstractRepeater(String id, IModel model)
- {
- super(id, model);
- }
-
- /**
- * Returns an iterator for the collection of child components to be
- * rendered. Users can override this to change order of rendered children.
- *
- * @return iterator over child components to be rendered
- */
- protected abstract Iterator renderIterator();
-
- /**
- * Renders all child items in no specified order
- *
- * @param markupStream
- * The markup stream
- */
- protected final void onRender(final MarkupStream markupStream)
- {
- final int markupStart = markupStream.getCurrentIndex();
-
- Iterator it = renderIterator();
- if (it.hasNext())
- {
- do
- {
- markupStream.setCurrentIndex(markupStart);
- renderChild((Component)it.next());
- }
- while (it.hasNext());
- }
- else
- {
- markupStream.skipComponent();
- }
- }
-
- /**
- * Render a single child. This method can be overridden to modify how a
- * single child component is rendered.
- *
- * @param child
- * Child component to be rendered
- */
- protected void renderChild(final Component child)
- {
- child.render(getMarkupStream());
- }
-
-}
+/*
+ * 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.repeater;
+
+import java.util.Iterator;
+
+import org.apache.wicket.Component;
+import org.apache.wicket.markup.MarkupStream;
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.model.IModel;
+
+/**
+ * Base class for repeaters. This container renders each of its children using
+ * its own markup.
+ *
+ * The children are collected using {@link #renderIterator()} method. This class
+ * will take care of properly positioning and rewinding its markup stream so
+ * before each child renders it points to the beginning of this component. Each
+ * child is rendered by a call to {@link #renderChild(Component)}. A typical
+ * implementation simply does <code>child.render(getMarkupStream());</code>.
+ *
+ * @author Igor Vaynberg (ivaynberg)
+ */
+public abstract class AbstractRepeater extends WebMarkupContainer
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructor
+ *
+ * @param id
+ */
+ public AbstractRepeater(String id)
+ {
+ super(id);
+ }
+
+ /**
+ * Constructor
+ *
+ * @param id
+ * @param model
+ */
+ public AbstractRepeater(String id, IModel model)
+ {
+ super(id, model);
+ }
+
+ /**
+ * Returns an iterator for the collection of child components to be
+ * rendered. Users can override this to change order of rendered children.
+ *
+ * @return iterator over child components to be rendered
+ */
+ protected abstract Iterator renderIterator();
+
+ /**
+ * Renders all child items in no specified order
+ *
+ * @param markupStream
+ * The markup stream
+ */
+ protected final void onRender(final MarkupStream markupStream)
+ {
+ final int markupStart = markupStream.getCurrentIndex();
+
+ Iterator it = renderIterator();
+ if (it.hasNext())
+ {
+ do
+ {
+ markupStream.setCurrentIndex(markupStart);
+ renderChild((Component)it.next());
+ }
+ while (it.hasNext());
+ }
+ else
+ {
+ markupStream.skipComponent();
+ }
+ }
+
+ /**
+ * Render a single child. This method can be overridden to modify how a
+ * single child component is rendered.
+ *
+ * @param child
+ * Child component to be rendered
+ */
+ protected void renderChild(final Component child)
+ {
+ child.render(getMarkupStream());
+ }
+
+}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IObjectClassAwareModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java Wed May 16 06:52:28 2007
@@ -1,34 +1,34 @@
-/*
- * 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.util.collections;
-
-import java.util.Iterator;
-
-/**
- * Base class for read-only iterators. Calls to {@link #remove()} will result in
- * an {@link UnsupportedOperationException}
- *
- * @author Igor Vaynberg (ivaynberg)
- */
-public abstract class ReadOnlyIterator implements Iterator
-{
- public final void remove()
- {
- throw new UnsupportedOperationException("Iterator " + getClass().getName()
- + " is a read-only iterator. Calls to remove() are not allowed");
- }
-}
+/*
+ * 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.util.collections;
+
+import java.util.Iterator;
+
+/**
+ * Base class for read-only iterators. Calls to {@link #remove()} will result in
+ * an {@link UnsupportedOperationException}
+ *
+ * @author Igor Vaynberg (ivaynberg)
+ */
+public abstract class ReadOnlyIterator implements Iterator
+{
+ public final void remove()
+ {
+ throw new UnsupportedOperationException("Iterator " + getClass().getName()
+ + " is a read-only iterator. Calls to remove() are not allowed");
+ }
+}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/collections/ReadOnlyIterator.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java Wed May 16 06:52:28 2007
@@ -1,70 +1,70 @@
-/*
- * 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;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-/**
- * A compound {@link IValidator}. Once an error is reported against the
- * {@link IValidatable} being checked, the rest of the validator chain is
- * ignored.
- *
- * @author Igor Vaynberg (ivaynberg)
- */
-public class CompoundValidator implements IValidator
-{
- private static final long serialVersionUID = 1L;
-
- private List validators = new ArrayList(2);
-
- /**
- * Constructor
- */
- public CompoundValidator()
- {
- }
-
- /**
- * Adds a validator to the chain of validators
- *
- * @param validator
- * @return this for chaining
- */
- public final CompoundValidator add(IValidator validator)
- {
- if (validator == null)
- {
- throw new IllegalArgumentException("Argument `validator` cannot be null");
- }
- validators.add(validator);
- return this;
- }
-
- /**
- * @see org.apache.wicket.validation.IValidator#validate(org.apache.wicket.validation.IValidatable)
- */
- public final void validate(IValidatable validatable)
- {
- Iterator it = validators.iterator();
- while (it.hasNext() && validatable.isValid())
- {
- ((IValidator)it.next()).validate(validatable);
- }
- }
-}
+/*
+ * 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;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * A compound {@link IValidator}. Once an error is reported against the
+ * {@link IValidatable} being checked, the rest of the validator chain is
+ * ignored.
+ *
+ * @author Igor Vaynberg (ivaynberg)
+ */
+public class CompoundValidator implements IValidator
+{
+ private static final long serialVersionUID = 1L;
+
+ private List validators = new ArrayList(2);
+
+ /**
+ * Constructor
+ */
+ public CompoundValidator()
+ {
+ }
+
+ /**
+ * Adds a validator to the chain of validators
+ *
+ * @param validator
+ * @return this for chaining
+ */
+ public final CompoundValidator add(IValidator validator)
+ {
+ if (validator == null)
+ {
+ throw new IllegalArgumentException("Argument `validator` cannot be null");
+ }
+ validators.add(validator);
+ return this;
+ }
+
+ /**
+ * @see org.apache.wicket.validation.IValidator#validate(org.apache.wicket.validation.IValidatable)
+ */
+ public final void validate(IValidatable validatable)
+ {
+ Iterator it = validators.iterator();
+ while (it.hasNext() && validatable.isValid())
+ {
+ ((IValidator)it.next()).validate(validatable);
+ }
+ }
+}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/CompoundValidator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/IValidatorAddListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java?view=diff&rev=538592&r1=538591&r2=538592
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java Wed May 16 06:52:28 2007
@@ -1,115 +1,115 @@
-/*
- * 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;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-/**
- * This implementation of {@link IValidatable} is meant to be used outside of
- * wicket. It allows other parts of the application to utilize
- * {@link IValidator}s to validate values.
- *
- * Example: <code>
- * class WebService {
- * public void addUser(String firstName, String lastName) {
- * Validatable standin=new Validatable();
- * standin.setValue(firstName);
- * new FirstNameValidator().validate(standin);
- * standing.setValue(lastName);
- * new LastNameValidator().validate(standin);
- * if (!standin.isValid()) {
- * // roll your own ValidationException
- * throw new ValidationException(standin.getErrors());
- * } else {
- * // add user here
- * }
- * }
- * }
- * </code>
- *
- * @author Igor Vaynberg (ivaynberg)
- */
-public class Validatable implements IValidatable
-{
-
- private Object value;
- private ArrayList errors;
-
- /**
- * Constructor
- */
- public Validatable()
- {
- }
-
- /**
- * Sets the value object that will be returned by {@link #getValue()}
- *
- * @param value
- */
- public void setValue(Object value)
- {
- this.value = value;
- }
-
- /**
- * @see org.apache.wicket.validation.IValidatable#getValue()
- */
- public Object getValue()
- {
- return value;
- }
-
- /**
- * @see org.apache.wicket.validation.IValidatable#error(org.apache.wicket.validation.IValidationError)
- */
- public void error(IValidationError error)
- {
- if (errors == null)
- {
- errors = new ArrayList();
- }
- errors.add(error);
- }
-
- /**
- * @return umodifiable list of any errors reported against this validatable
- * instance
- */
- public List getErrors()
- {
- if (errors == null)
- {
- return Collections.EMPTY_LIST;
- }
- else
- {
- return Collections.unmodifiableList(errors);
- }
- }
-
- /**
- * @see org.apache.wicket.validation.IValidatable#isValid()
- */
- public boolean isValid()
- {
- return errors == null;
- }
-
-}
+/*
+ * 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;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * This implementation of {@link IValidatable} is meant to be used outside of
+ * wicket. It allows other parts of the application to utilize
+ * {@link IValidator}s to validate values.
+ *
+ * Example: <code>
+ * class WebService {
+ * public void addUser(String firstName, String lastName) {
+ * Validatable standin=new Validatable();
+ * standin.setValue(firstName);
+ * new FirstNameValidator().validate(standin);
+ * standing.setValue(lastName);
+ * new LastNameValidator().validate(standin);
+ * if (!standin.isValid()) {
+ * // roll your own ValidationException
+ * throw new ValidationException(standin.getErrors());
+ * } else {
+ * // add user here
+ * }
+ * }
+ * }
+ * </code>
+ *
+ * @author Igor Vaynberg (ivaynberg)
+ */
+public class Validatable implements IValidatable
+{
+
+ private Object value;
+ private ArrayList errors;
+
+ /**
+ * Constructor
+ */
+ public Validatable()
+ {
+ }
+
+ /**
+ * Sets the value object that will be returned by {@link #getValue()}
+ *
+ * @param value
+ */
+ public void setValue(Object value)
+ {
+ this.value = value;
+ }
+
+ /**
+ * @see org.apache.wicket.validation.IValidatable#getValue()
+ */
+ public Object getValue()
+ {
+ return value;
+ }
+
+ /**
+ * @see org.apache.wicket.validation.IValidatable#error(org.apache.wicket.validation.IValidationError)
+ */
+ public void error(IValidationError error)
+ {
+ if (errors == null)
+ {
+ errors = new ArrayList();
+ }
+ errors.add(error);
+ }
+
+ /**
+ * @return umodifiable list of any errors reported against this validatable
+ * instance
+ */
+ public List getErrors()
+ {
+ if (errors == null)
+ {
+ return Collections.EMPTY_LIST;
+ }
+ else
+ {
+ return Collections.unmodifiableList(errors);
+ }
+ }
+
+ /**
+ * @see org.apache.wicket.validation.IValidatable#isValid()
+ */
+ public boolean isValid()
+ {
+ return errors == null;
+ }
+
+}
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/validation/Validatable.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/SetResponsePageTest$Page3.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/SetResponsePageTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageToNormalPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageToNormalPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/NormalPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/NormalPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_da_DK.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_de.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_fa_IR.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_ja.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_pt_BR.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_ru.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_th_TH.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput_zh_CN.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/Person.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/TemplatePage.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/TemplatePage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/VelocityTemplateApplication.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/fields.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/persons.vm
------------------------------------------------------------------------------
svn:eol-style = native