Author: jbq
Date: Wed Feb 21 06:50:46 2007
New Revision: 510042
URL: http://svn.apache.org/viewvc?view=rev&rev=510042
Log:
Line endings cleanup on *.vm and *.xml
Modified:
incubator/wicket/branches/wicket-1.x/wicket-auth-roles-examples/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-auth-roles/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-datetime/pom.xml (props
changed)
incubator/wicket/branches/wicket-1.x/wicket-datetime/src/assembly/bin.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-datetime/src/assembly/build.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-examples/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-extensions/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-jmx/pom.xml (props changed)
incubator/wicket/branches/wicket-1.x/wicket-jmx/src/assembly/bin.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-jmx/src/assembly/build.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-parent/src/assembly/bin.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-parent/src/assembly/build.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-parent/src/site/site.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-parent/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml
(contents, props changed)
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/context.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/portlet.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/web.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml (contents,
props changed)
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/assembly/bin.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/assembly/build.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/site/site.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-spring-annot-examples/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-spring-annot/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-spring-examples/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-spring/src/site/template/wicket-site.vm
(props changed)
incubator/wicket/branches/wicket-1.x/wicket-threadtest/pom.xml (props
changed)
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/webapp/WEB-INF/web.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml
(contents, props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleMarkupInheritance.xml
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml
(contents, props changed)
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-auth-roles-examples/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-auth-roles/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/wicket-datetime/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-datetime/src/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-datetime/src/assembly/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-examples/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-extensions/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/wicket-jmx/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/wicket-jmx/src/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-jmx/src/assembly/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-parent/src/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-parent/src/assembly/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/wicket-parent/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-parent/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml?view=diff&rev=510042&r1=510041&r2=510042
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml
(original)
+++ incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml Wed
Feb 21 06:50:46 2007
@@ -1,112 +1,112 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket-parent</artifactId>
- <version>1.3-incubating-SNAPSHOT</version>
- <relativePath>../wicket-parent</relativePath>
- </parent>
-
- <artifactId>wicket-portlet-examples</artifactId>
- <packaging>war</packaging>
-
- <name>Wicket Portlet Examples</name>
- <description></description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
-
<artifactId>surefire-report-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
-
<report>dependencies</report>
-
<report>project-team</report>
-
<report>mailing-list</report>
-
<report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changes-maven-plugin</artifactId>
- <version>2.0-beta-1</version>
- <reportSets>
- <reportSet>
- <reports>
-
<report>changes-report</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
-
<artifactId>surefire-report-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket-parent</artifactId>
+ <version>1.3-incubating-SNAPSHOT</version>
+ <relativePath>../wicket-parent</relativePath>
+ </parent>
+
+ <artifactId>wicket-portlet-examples</artifactId>
+ <packaging>war</packaging>
+
+ <name>Wicket Portlet Examples</name>
+ <description></description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>surefire-report-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+
<report>dependencies</report>
+
<report>project-team</report>
+
<report>mailing-list</report>
+
<report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>changes-maven-plugin</artifactId>
+ <version>2.0-beta-1</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+
<report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>surefire-report-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Propchange: incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/context.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/portlet.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-portlet-examples/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml?view=diff&rev=510042&r1=510041&r2=510042
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml (original)
+++ incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml Wed Feb 21
06:50:46 2007
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -14,34 +14,34 @@
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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket-parent</artifactId>
- <version>1.3-incubating-SNAPSHOT</version>
- <relativePath>../wicket-parent</relativePath>
- </parent>
-
- <artifactId>wicket-quickstart</artifactId>
- <packaging>war</packaging>
-
- <name>Wicket Quickstart</name>
- <description>Wicket Quickstart is designed to get you up and coding
your Wicket applications within minutes. No more creating your own project and
having to download dependencies yourself. This is an all-in-one package
allowing you to concentrate on your application, and Quickstart on the project
structure.</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket-extensions</artifactId>
- </dependency>
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket-parent</artifactId>
+ <version>1.3-incubating-SNAPSHOT</version>
+ <relativePath>../wicket-parent</relativePath>
+ </parent>
+
+ <artifactId>wicket-quickstart</artifactId>
+ <packaging>war</packaging>
+
+ <name>Wicket Quickstart</name>
+ <description>Wicket Quickstart is designed to get you up and coding
your Wicket applications within minutes. No more creating your own project and
having to download dependencies yourself. This is an all-in-one package
allowing you to concentrate on your application, and Quickstart on the project
structure.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket-extensions</artifactId>
+ </dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
@@ -56,78 +56,78 @@
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-management</artifactId>
<version>6.0.1</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.1.3</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
-
<artifactId>surefire-report-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
-
<report>dependencies</report>
-
<report>project-team</report>
-
<report>mailing-list</report>
-
<report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changes-maven-plugin</artifactId>
- <version>2.0-beta-1</version>
- <reportSets>
- <reportSet>
- <reports>
-
<report>changes-report</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
-
<artifactId>surefire-report-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
- <distributionManagement>
- <site>
- <id>wicket-site</id>
-
<url>scpexe://shell.sourceforge.net/home/groups/w/wi/wicket/htdocs/wicket-quickstart</url>
- </site>
- </distributionManagement>
-</project>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.1.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>surefire-report-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+
<report>dependencies</report>
+
<report>project-team</report>
+
<report>mailing-list</report>
+
<report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>changes-maven-plugin</artifactId>
+ <version>2.0-beta-1</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+
<report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>surefire-report-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <site>
+ <id>wicket-site</id>
+
<url>scpexe://shell.sourceforge.net/home/groups/w/wi/wicket/htdocs/wicket-quickstart</url>
+ </site>
+ </distributionManagement>
+</project>
Propchange: incubator/wicket/branches/wicket-1.x/wicket-quickstart/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/assembly/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-quickstart/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-spring-annot-examples/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-spring-annot/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-spring-examples/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-spring/src/site/template/wicket-site.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/wicket/branches/wicket-1.x/wicket-threadtest/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml?view=diff&rev=510042&r1=510041&r2=510042
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml
Wed Feb 21 06:50:46 2007
@@ -27,7 +27,7 @@
<body>
<section name="Ajax Counter">
<p>
- This example shows you how to use Wicket's Ajax behaviors and
components by building
+ This example shows you how to use Wicket's Ajax behaviors and
components by building
a simple counter that updates through Ajax link clicks.
</p>
<p>
@@ -45,169 +45,169 @@
</p>
<subsection name="Counter page">
<p>
- First we'll create a page that just counts the number of times
a link has been clicked.
+ First we'll create a page that just counts the number of times
a link has been clicked.
In the following markup you'll see a link and a label.
</p>
<h3>Listing 1 the page markup file</h3>
<source><![CDATA[<html>
<head></head>
-<body>
-<a href="#" wicket:id="link">click me</a>
-<p>
+<body>
+<a href="#" wicket:id="link">click me</a>
+<p>
Counter: <span wicket:id="counter">nr of times</span>
</body>
-</html>]]></source>
- <p>
- The link component will refresh the page and the label will
replace the text 'nr of times' with
- the count. Take a look at the following Java file to see how it
works on the Java side:
- </p>
- <h3>Listing 2 the page java file</h3>
- <source><![CDATA[package wicket.quickstart;
-
-import wicket.Component;
-import wicket.markup.html.basic.Label;
-import wicket.markup.html.link.Link;
-import wicket.model.Model;
-
-public class Index extends QuickStartPage {
- public Index() {
- Model model = new Model() {
- private int counter = 0;
-
- public Object getObject(Component arg0) {
- return new Integer(counter++);
- }
- };
- add(new Link("link") {
- public void onClick() {
- // do nothing.
- }
- });
- add(new Label("counter", model));
- }
-}
-]]></source>
- <p>
- In this class we created a <tt>Model</tt> subclass that
increases its counter
- everytime the <tt>getObject</tt> method gets called, and
returns its value.
- We set this model on the label component, so that each time the
label gets
- rendered the counter gets increased.
- </p>
- <p>
- The link doesn't do anything, just listen to the requests and
update the page.
- If you run this code in your application (download the
- <a href="/wicket-quickstart">Quickstart</a>
- project and copy/paste the code in the homepage for a quick
experience).
- </p>
- <p>
- The page gets fully refreshed with each link click. That is not
very web 2.0, so
- let's make it more modern by adding some Ajax stuff.
- </p>
-</subsection>
-<subsection name="Adding Ajax">
- <p>
- To make this a more modern UI we'll have to change a couple of
things. First we
- need to make the link an Ajax link. Wicket provides several
types of Ajax links,
- but the best one for our purposes is the
<tt>AjaxFallbackLink</tt>, as it provides
- a fallback to a normal request in case no Ajax is available.
- </p>
- <h3>Listing 3 the Ajaxified java file</h3>
- <source><![CDATA[package wicket.quickstart;
-
-import wicket.Component;
-import wicket.ajax.AjaxRequestTarget;
-import wicket.ajax.markup.html.AjaxFallbackLink;
-import wicket.markup.html.basic.Label;
-import wicket.model.Model;
-
-public class Index extends QuickStartPage {
- public Index() {
- Model model = new Model() {
- private int counter = 0;
-
- public Object getObject(Component arg0) {
- return new Integer(counter++);
- }
- };
- add(new AjaxFallbackLink("link") {
- public void onClick(AjaxRequestTarget target) {
- // add the components that need to be updated to
- // the target
- }
- });
- add(new Label("counter", model));
- }
-}
-]]></source>
- <p>
- As you can see, the <tt>Link</tt> has been replaced with the
- <tt>AjaxFallbackLink</tt>, and the <tt>onClick</tt> method
- now takes a new argument: the <tt>AjaxRequestTarget</tt>. If
- you want a component to be updated in the Ajax request, you'll
- have to add them to the target. So let's alter the file to
- make it possible to add the label to the request target.
- </p>
- <h3>Listing 4 the Ajaxified java file</h3>
- <source><![CDATA[package wicket.quickstart;
-
-import wicket.Component;
-import wicket.ajax.AjaxRequestTarget;
-import wicket.ajax.markup.html.AjaxFallbackLink;
-import wicket.markup.html.basic.Label;
-import wicket.model.Model;
-
-public class Index extends QuickStartPage {
- public Index() {
- Model model = new Model() {
- private int counter = 0;
-
- public Object getObject(Component arg0) {
- return new Integer(counter++);
- }
- };
- final Label label = new Label("counter", model);
- label.setOutputMarkupId(true);
- add(new AjaxFallbackLink("link") {
- public void onClick(AjaxRequestTarget target) {
- target.addComponent(label);
- }
- });
- add(label);
- }
-}
-]]></source>
- <p>
- We've moved the instantiation of the label to the beginning of
- the page constructor and made a local, final variable. This way
- we can reference the label in the event handler of the link
- component.
- </p>
- <p>
- We also had to call <tt>setOutputMarkupId(true)</tt> on the
label
- to be able to update the component when the request is returned
to
- the client browser. If we don't, Wicket will not know how to
update
- the markup in the client.
- </p>
- <p>
- If you put this code into your page's class, then you'll have a
- working Ajax updating counter.
- </p>
-</subsection>
-<subsection name="Summary">
- <p>
- Working with Ajax and Wicket using the standard Wicket
libraries doesn't
- require a degree in JavaScript. Even better, you don't
necessarily need
- to update your markup file to work with Ajax. In this (simple)
example we
- were able to add Ajax behavior to the page without touching the
markup
- file.
- </p>
- <p>
- The most important lesson here is that in order to update
components using
- Ajax is that you need to add those components to the
<tt>AjaxRequestTarget</tt>
- and that the components that are to be updated in that request,
should have
- <tt>setOutputMarkupId(true)</tt>.
- </p>
-</subsection>
+</html>]]></source>
+ <p>
+ The link component will refresh the page and the label will
replace the text 'nr of times' with
+ the count. Take a look at the following Java file to see how it
works on the Java side:
+ </p>
+ <h3>Listing 2 the page java file</h3>
+ <source><![CDATA[package wicket.quickstart;
+
+import wicket.Component;
+import wicket.markup.html.basic.Label;
+import wicket.markup.html.link.Link;
+import wicket.model.Model;
+
+public class Index extends QuickStartPage {
+ public Index() {
+ Model model = new Model() {
+ private int counter = 0;
+
+ public Object getObject(Component arg0) {
+ return new Integer(counter++);
+ }
+ };
+ add(new Link("link") {
+ public void onClick() {
+ // do nothing.
+ }
+ });
+ add(new Label("counter", model));
+ }
+}
+]]></source>
+ <p>
+ In this class we created a <tt>Model</tt> subclass that
increases its counter
+ everytime the <tt>getObject</tt> method gets called, and
returns its value.
+ We set this model on the label component, so that each time the
label gets
+ rendered the counter gets increased.
+ </p>
+ <p>
+ The link doesn't do anything, just listen to the requests and
update the page.
+ If you run this code in your application (download the
+ <a href="/wicket-quickstart">Quickstart</a>
+ project and copy/paste the code in the homepage for a quick
experience).
+ </p>
+ <p>
+ The page gets fully refreshed with each link click. That is not
very web 2.0, so
+ let's make it more modern by adding some Ajax stuff.
+ </p>
+</subsection>
+<subsection name="Adding Ajax">
+ <p>
+ To make this a more modern UI we'll have to change a couple of
things. First we
+ need to make the link an Ajax link. Wicket provides several
types of Ajax links,
+ but the best one for our purposes is the
<tt>AjaxFallbackLink</tt>, as it provides
+ a fallback to a normal request in case no Ajax is available.
+ </p>
+ <h3>Listing 3 the Ajaxified java file</h3>
+ <source><![CDATA[package wicket.quickstart;
+
+import wicket.Component;
+import wicket.ajax.AjaxRequestTarget;
+import wicket.ajax.markup.html.AjaxFallbackLink;
+import wicket.markup.html.basic.Label;
+import wicket.model.Model;
+
+public class Index extends QuickStartPage {
+ public Index() {
+ Model model = new Model() {
+ private int counter = 0;
+
+ public Object getObject(Component arg0) {
+ return new Integer(counter++);
+ }
+ };
+ add(new AjaxFallbackLink("link") {
+ public void onClick(AjaxRequestTarget target) {
+ // add the components that need to be updated to
+ // the target
+ }
+ });
+ add(new Label("counter", model));
+ }
+}
+]]></source>
+ <p>
+ As you can see, the <tt>Link</tt> has been replaced with the
+ <tt>AjaxFallbackLink</tt>, and the <tt>onClick</tt> method
+ now takes a new argument: the <tt>AjaxRequestTarget</tt>. If
+ you want a component to be updated in the Ajax request, you'll
+ have to add them to the target. So let's alter the file to
+ make it possible to add the label to the request target.
+ </p>
+ <h3>Listing 4 the Ajaxified java file</h3>
+ <source><![CDATA[package wicket.quickstart;
+
+import wicket.Component;
+import wicket.ajax.AjaxRequestTarget;
+import wicket.ajax.markup.html.AjaxFallbackLink;
+import wicket.markup.html.basic.Label;
+import wicket.model.Model;
+
+public class Index extends QuickStartPage {
+ public Index() {
+ Model model = new Model() {
+ private int counter = 0;
+
+ public Object getObject(Component arg0) {
+ return new Integer(counter++);
+ }
+ };
+ final Label label = new Label("counter", model);
+ label.setOutputMarkupId(true);
+ add(new AjaxFallbackLink("link") {
+ public void onClick(AjaxRequestTarget target) {
+ target.addComponent(label);
+ }
+ });
+ add(label);
+ }
+}
+]]></source>
+ <p>
+ We've moved the instantiation of the label to the beginning of
+ the page constructor and made a local, final variable. This way
+ we can reference the label in the event handler of the link
+ component.
+ </p>
+ <p>
+ We also had to call <tt>setOutputMarkupId(true)</tt> on the
label
+ to be able to update the component when the request is returned
to
+ the client browser. If we don't, Wicket will not know how to
update
+ the markup in the client.
+ </p>
+ <p>
+ If you put this code into your page's class, then you'll have a
+ working Ajax updating counter.
+ </p>
+</subsection>
+<subsection name="Summary">
+ <p>
+ Working with Ajax and Wicket using the standard Wicket
libraries doesn't
+ require a degree in JavaScript. Even better, you don't
necessarily need
+ to update your markup file to work with Ajax. In this (simple)
example we
+ were able to add Ajax behavior to the page without touching the
markup
+ file.
+ </p>
+ <p>
+ The most important lesson here is that in order to update
components using
+ Ajax is that you need to add those components to the
<tt>AjaxRequestTarget</tt>
+ and that the components that are to be updated in that request,
should have
+ <tt>setOutputMarkupId(true)</tt>.
+ </p>
+</subsection>
</section>
</body>
</document>
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleAjaxCounter.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleMarkupInheritance.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml?view=diff&rev=510042&r1=510041&r2=510042
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml
Wed Feb 21 06:50:46 2007
@@ -27,9 +27,9 @@
<body>
<section name="Using Fragments">
<p>
- This example shows you how to use fragments (Wicket 1.2
feature) to lessen the burden
- on extra markup files. Fragments are 'inline panels' and are a
quick way of using
- panel type components in pages without having to create a Panel
markup file and
+ This example shows you how to use fragments (Wicket 1.2
feature) to lessen the burden
+ on extra markup files. Fragments are 'inline panels' and are a
quick way of using
+ panel type components in pages without having to create a Panel
markup file and
class.
</p>
<p>
@@ -47,121 +47,121 @@
</p>
<subsection name="Creating a Fragment">
<p>
- First things first, let's create a page that we can add our
fragments to.
- We will add a <tt>Loop</tt> that will repeat markup and choose
a different
+ First things first, let's create a page that we can add our
fragments to.
+ We will add a <tt>Loop</tt> that will repeat markup and choose
a different
<tt>Fragment</tt> for each item in the loop.
</p>
<h3>Listing 1 the page markup file</h3>
- <source><![CDATA[<html>
-<head></head>
-<body>
-<ul>
-<li wicket:id="list"><span wicket:id="panel"></span></li>
-</ul>
-<wicket:fragment wicket:id="fragment1">panel 1</wicket:fragment>
-<wicket:fragment wicket:id="fragment2">panel 2</wicket:fragment>
-</body>
-</html>]]></source>
- <p>
- As you can see in this markup file, we already took care of
adding the
- fragment markup to the page in the <wicket:fragment>
tags. Each
- fragment can contain its own markup and components. Those
components
- need to be added to the <tt>Fragment</tt> instance in the Java
file, just as you
- would do with a panel and web markup container.
- </p>
- <h3>Listing 2 the page java file</h3>
- <source><![CDATA[package wicket.quickstart;
-
-import wicket.markup.html.list.Loop;
-import wicket.markup.html.panel.Fragment;
-
-public class Index extends QuickStartPage {
- public Index() {
- Loop loop = new Loop("list", 5) {
- protected void populateItem(LoopItem item) {
- String fragmentId = "fragment" + (item.getIteration() % 2 + 1);
- item.add(new Fragment("panel", fragmentId));
- }
- };
- add(loop);
- }
-}
-]]></source>
- <p>
- The <tt>Loop</tt> will render 5 items, and the
<tt>populateItem</tt> method
- will be called for each item. In each item we construct a
fragment identifier
- that corresponds to the identifier in the
<wicket:fragment>. The
- <tt>Fragment</tt> constructor takes the identifier of the
markup it needs to
- attach to, and the fragment identifier telling it where to find
the specific
- markup in the file.
- </p>
-</subsection>
-<subsection name="Adding components to fragments">
- <p>
- In the previous example we just showed different markup for
each fragment,
- but you can add components to the fragments as well. Let's add
a label to
- fragment 1.
- </p>
- <h3>Listing 3 adding a label to a fragment</h3>
- <source><![CDATA[<html>
-<head></head>
-<body>
-<ul>
-<li wicket:id="list"><span wicket:id="panel"></span></li>
-</ul>
-<wicket:fragment wicket:id="fragment1">panel 1 <span
wicket:id="label"></span></wicket:fragment>
-<wicket:fragment wicket:id="fragment2">panel 2</wicket:fragment>
-</body>
-</html>]]></source>
- <p>
- In order to add the component to the first fragment we'll
introduce a subclass for
- fragment one to encapsulate the component.
- </p>
- <h3>Listing 4 introducing a fragment subclass</h3>
- <source><![CDATA[package wicket.quickstart;
-
-import wicket.markup.html.basic.Label;
-import wicket.markup.html.list.Loop;
-import wicket.markup.html.panel.Fragment;
-
-public class Index extends QuickStartPage {
- public class Fragment1 extends Fragment {
- public Fragment1(String id, String markupId) {
- super(id, markupId);
- add(new Label("label", "Hello, World!"));
- }
- }
-
- public Index() {
- Loop loop = new Loop("list", 5) {
- protected void populateItem(LoopItem item) {
- int index = (item.getIteration() % 2 + 1);
- String fragmentId = "fragment" + index;
- if (index == 1) {
- item.add(new Fragment1("panel", fragmentId));
- } else {
- item.add(new Fragment("panel", fragmentId));
- }
- }
- };
- add(loop);
- }
-}
-]]></source>
- <p>
- The class <tt>Fragment1</tt> adds the label to itself. In the
loop's
- <tt>populateItem</tt> we alternate the fragments type between
<tt>Fragment</tt>
- and <tt>Fragment1</tt>. This means that in the final page on
one line you'll see
- <em>"panel 1 Hello, World!"</em> and on the other line just
<em>"panel 2"</em>.
- </p>
-</subsection>
-<subsection name="Summary">
- <p>
- Fragments make a quick way to add encapsulated components
without having to resort
- to setting the visibility flag on a markup container. For
fragments we introduced
- a new Wicket tag: <tt><wicket:fragment></tt>.
- </p>
-</subsection>
+ <source><![CDATA[<html>
+<head></head>
+<body>
+<ul>
+<li wicket:id="list"><span wicket:id="panel"></span></li>
+</ul>
+<wicket:fragment wicket:id="fragment1">panel 1</wicket:fragment>
+<wicket:fragment wicket:id="fragment2">panel 2</wicket:fragment>
+</body>
+</html>]]></source>
+ <p>
+ As you can see in this markup file, we already took care of
adding the
+ fragment markup to the page in the <wicket:fragment>
tags. Each
+ fragment can contain its own markup and components. Those
components
+ need to be added to the <tt>Fragment</tt> instance in the Java
file, just as you
+ would do with a panel and web markup container.
+ </p>
+ <h3>Listing 2 the page java file</h3>
+ <source><![CDATA[package wicket.quickstart;
+
+import wicket.markup.html.list.Loop;
+import wicket.markup.html.panel.Fragment;
+
+public class Index extends QuickStartPage {
+ public Index() {
+ Loop loop = new Loop("list", 5) {
+ protected void populateItem(LoopItem item) {
+ String fragmentId = "fragment" + (item.getIteration() % 2 + 1);
+ item.add(new Fragment("panel", fragmentId));
+ }
+ };
+ add(loop);
+ }
+}
+]]></source>
+ <p>
+ The <tt>Loop</tt> will render 5 items, and the
<tt>populateItem</tt> method
+ will be called for each item. In each item we construct a
fragment identifier
+ that corresponds to the identifier in the
<wicket:fragment>. The
+ <tt>Fragment</tt> constructor takes the identifier of the
markup it needs to
+ attach to, and the fragment identifier telling it where to find
the specific
+ markup in the file.
+ </p>
+</subsection>
+<subsection name="Adding components to fragments">
+ <p>
+ In the previous example we just showed different markup for
each fragment,
+ but you can add components to the fragments as well. Let's add
a label to
+ fragment 1.
+ </p>
+ <h3>Listing 3 adding a label to a fragment</h3>
+ <source><![CDATA[<html>
+<head></head>
+<body>
+<ul>
+<li wicket:id="list"><span wicket:id="panel"></span></li>
+</ul>
+<wicket:fragment wicket:id="fragment1">panel 1 <span
wicket:id="label"></span></wicket:fragment>
+<wicket:fragment wicket:id="fragment2">panel 2</wicket:fragment>
+</body>
+</html>]]></source>
+ <p>
+ In order to add the component to the first fragment we'll
introduce a subclass for
+ fragment one to encapsulate the component.
+ </p>
+ <h3>Listing 4 introducing a fragment subclass</h3>
+ <source><![CDATA[package wicket.quickstart;
+
+import wicket.markup.html.basic.Label;
+import wicket.markup.html.list.Loop;
+import wicket.markup.html.panel.Fragment;
+
+public class Index extends QuickStartPage {
+ public class Fragment1 extends Fragment {
+ public Fragment1(String id, String markupId) {
+ super(id, markupId);
+ add(new Label("label", "Hello, World!"));
+ }
+ }
+
+ public Index() {
+ Loop loop = new Loop("list", 5) {
+ protected void populateItem(LoopItem item) {
+ int index = (item.getIteration() % 2 + 1);
+ String fragmentId = "fragment" + index;
+ if (index == 1) {
+ item.add(new Fragment1("panel", fragmentId));
+ } else {
+ item.add(new Fragment("panel", fragmentId));
+ }
+ }
+ };
+ add(loop);
+ }
+}
+]]></source>
+ <p>
+ The class <tt>Fragment1</tt> adds the label to itself. In the
loop's
+ <tt>populateItem</tt> we alternate the fragments type between
<tt>Fragment</tt>
+ and <tt>Fragment1</tt>. This means that in the final page on
one line you'll see
+ <em>"panel 1 Hello, World!"</em> and on the other line just
<em>"panel 2"</em>.
+ </p>
+</subsection>
+<subsection name="Summary">
+ <p>
+ Fragments make a quick way to add encapsulated components
without having to resort
+ to setting the visibility flag on a markup container. For
fragments we introduced
+ a new Wicket tag: <tt><wicket:fragment></tt>.
+ </p>
+</subsection>
</section>
</body>
</document>
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/site/xdoc/ExampleUsingFragments.xml
------------------------------------------------------------------------------
svn:eol-style = native