From commits-return-27016-archive-asf-public=cust-asf.ponee.io@tapestry.apache.org Sun Feb 25 23:23:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5248818076D for ; Sun, 25 Feb 2018 23:23:02 +0100 (CET) Received: (qmail 61203 invoked by uid 500); 25 Feb 2018 22:23:01 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 61191 invoked by uid 99); 25 Feb 2018 22:23:01 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Feb 2018 22:23:01 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 6CF3C3A09B0 for ; Sun, 25 Feb 2018 22:22:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1025968 [3/7] - in /websites/production/tapestry/content: ./ 2009/09/13/ 2009/10/27/ 2009/11/25/ 2010/07/18/ 2010/07/24/ 2010/10/11/ 2010/10/31/ 2010/11/18/ 2010/11/19/ 2010/12/16/ 2010/12/17/ 2011/01/10/ 2011/01/18/ 2011/03/23/ 2011/03/29... Date: Sun, 25 Feb 2018 22:22:56 -0000 To: commits@tapestry.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20180225222259.6CF3C3A09B0@svn01-us-west.apache.org> Modified: websites/production/tapestry/content/dependencies-tools-and-plugins.html ============================================================================== --- websites/production/tapestry/content/dependencies-tools-and-plugins.html (original) +++ websites/production/tapestry/content/dependencies-tools-and-plugins.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Dependencies, Tools and Plugins

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/developer-bible.html ============================================================================== --- websites/production/tapestry/content/developer-bible.html (original) +++ websites/production/tapestry/content/developer-bible.html Sun Feb 25 22:22:54 2018 @@ -64,21 +64,6 @@

Developer Bible

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/developer-information.html ============================================================================== --- websites/production/tapestry/content/developer-information.html (original) +++ websites/production/tapestry/content/developer-information.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Developer Information

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/development-dashboard.html ============================================================================== --- websites/production/tapestry/content/development-dashboard.html (original) +++ websites/production/tapestry/content/development-dashboard.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Development Dashboard

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/documentation-improvement-tasks.html ============================================================================== --- websites/production/tapestry/content/documentation-improvement-tasks.html (original) +++ websites/production/tapestry/content/documentation-improvement-tasks.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Documentation Improvement Tasks

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/documentation.html ============================================================================== --- websites/production/tapestry/content/documentation.html (original) +++ websites/production/tapestry/content/documentation.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Documentation

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/dom.html ============================================================================== --- websites/production/tapestry/content/dom.html (original) +++ websites/production/tapestry/content/dom.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

DOM

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/download.html ============================================================================== --- websites/production/tapestry/content/download.html (original) +++ websites/production/tapestry/content/download.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

Download

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/downloadboxes-v2.html ============================================================================== --- websites/production/tapestry/content/downloadboxes-v2.html (original) +++ websites/production/tapestry/content/downloadboxes-v2.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

downloadBoxes-v2

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/enum-parameter-recipe.html ============================================================================== --- websites/production/tapestry/content/enum-parameter-recipe.html (original) +++ websites/production/tapestry/content/enum-parameter-recipe.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Enum Parameter Recipe

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/environmental-services.html ============================================================================== --- websites/production/tapestry/content/environmental-services.html (original) +++ websites/production/tapestry/content/environmental-services.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Environmental Services

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/error-page-recipe.html ============================================================================== --- websites/production/tapestry/content/error-page-recipe.html (original) +++ websites/production/tapestry/content/error-page-recipe.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Error Page Recipe

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/exploring-the-project.html ============================================================================== --- websites/production/tapestry/content/exploring-the-project.html (original) +++ websites/production/tapestry/content/exploring-the-project.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

Exploring the Project

-
- - -

- - -

Page Title

- -
@@ -276,13 +261,13 @@ public class Index - + - + - Templates and Parameters + Templates and Parameters - + Modified: websites/production/tapestry/content/extending-the-if-component.html ============================================================================== --- websites/production/tapestry/content/extending-the-if-component.html (original) +++ websites/production/tapestry/content/extending-the-if-component.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Extending the If Component

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/first.html ============================================================================== --- websites/production/tapestry/content/first.html (original) +++ websites/production/tapestry/content/first.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

First

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/footer.html ============================================================================== --- websites/production/tapestry/content/footer.html (original) +++ websites/production/tapestry/content/footer.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Footer

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/forms-and-form-components-faq.html ============================================================================== --- websites/production/tapestry/content/forms-and-form-components-faq.html (original) +++ websites/production/tapestry/content/forms-and-form-components-faq.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Forms and Form Components FAQ

-
- - -

- - -

Page Title

- -
@@ -93,11 +78,11 @@

Forms and Form Components

Main article: Forms and Validation

Contents

+/*]]>*/

What is the t:formdata hidden field for?

In Tapestry, rendering a form can be a complicated process; inside the body of the Form component are many of field components: TextField, Select, TextArea, and so forth. Each of these must pull data out of your data model and convert it to the string form used inside the client web browser. In addition, JavaScript to support client-side validation must be generated. This can be further complicated by the use of Loop and If components, or made really complicated by the use of Block (to render portions of other pages: this is what the BeanEditForm component does).

Along the way, the Form is generating unique form control names for each field component, as it renders.

When the client-side Form is submitted, an event is triggered on the server-side Form component. It now needs to locate each component, in turn, inform the component of its control name, and allow the component to read the corresponding query parameter. The component then converts the client-side string back into a server-side value and performs validations before updating the data model.

That's where t:formdata comes in. While components are rendering, they are using the FormSupport environmental object to record callbacks:

FormSupport.java (partial)
public interface FormSupport extends ClientElement

Modified: websites/production/tapestry/content/forms-and-form-components.html
==============================================================================
--- websites/production/tapestry/content/forms-and-form-components.html (original)
+++ websites/production/tapestry/content/forms-and-form-components.html Sun Feb 25 22:22:54 2018
@@ -56,21 +56,6 @@
 

Forms and Form Components

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/forms-and-validation.html ============================================================================== --- websites/production/tapestry/content/forms-and-validation.html (original) +++ websites/production/tapestry/content/forms-and-validation.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Forms and Validation

-
- - -

- - -

Page Title

- -
@@ -135,11 +120,11 @@

 

Tapestry provides support for creating and rendering forms, populating their fields, and validating user input. For simple cases, input validation is declarative, meaning you simply tell Tapestry what validations to apply to a given field, and it takes care of it on the server and (optionally) on the client as well. In addition, you can provide event handler methods in your page or component classes to handle more complex validation scenarios.

Finally, Tapestry not only makes it easy to present errors messages to the user, but it can also automatically highlight form fields when validation fails.

Contents

+/*]]>*/

  • Related Articles
-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/frequently-asked-questions.html ============================================================================== --- websites/production/tapestry/content/frequently-asked-questions.html (original) +++ websites/production/tapestry/content/frequently-asked-questions.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Frequently Asked Questions

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/functional-flows.html ============================================================================== --- websites/production/tapestry/content/functional-flows.html (original) +++ websites/production/tapestry/content/functional-flows.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Functional Flows

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/general-questions.html ============================================================================== --- websites/production/tapestry/content/general-questions.html (original) +++ websites/production/tapestry/content/general-questions.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

General Questions

-
- - -

- - -

Page Title

- -
@@ -93,11 +78,11 @@

General Questions

Contents

+/*]]>*/

How do I get started with Tapestry?

Even without Maven, Tapestry is quite easy to set up. You just need to download the binaries and setup your build to place them inside your WAR's WEB-INF/lib folder. The rest is just some one-time configuration of the web.xml deployment descriptor.

Why does Tapestry use Prototype (in versions before 5.4)? Why not < em>insert favorite JavaScript library here?

An important goal for Tapestry is seamless DHTML and Ajax integration. To serve that goal, it was important that the built in components be capable of Ajax operations, such as dynamically re-rendering parts of the page. Because of that, it made sense to bundle a well-known JavaScript library as part of Tapestry.

At the time (this would be 2006-ish), Prototype and Scriptaculous were well known and well documented, whereas jQuery was just getting started.

The intent has always been to make this aspect of Tapestry pluggable. Tapestry 5.4 includes the option of either Prototype or jQuery, and future versions of Tapestry will likely remove Prototype as an option..

Why does Tapestry have its own Inversion of Control Container? Why not Spring or Guice?

An Inversion of Control Container is the key piece of Tapestry's infrastructure. It is absolutely necessary to create software as robust, performant and extensible as Tapestry.

Tapestry IoC includes a number of features that distinguish itself from other containers:

  • Configured in code, not XML
  • Built-in extension mechanism for services: configurations and contributions
  • Built-in aspect oriented programming model (service decorations and advice)
  • Easy modularization
  • Best-of-breed exception reporting

Because Tapestry is implemented on top of its IoC container, and because the container makes it easy to extend or replace any service inside the container, it is possible to make the small changes to Tapestry needed to customize it to any project's needs.

In addition – and this is critical – Tapestry allows 3rd party libraries to be built that fully participate in the configurability of Tapestry itself. This means that such libraries can be configured the same w ay Tapestry itself is configured, and such libraries can also configure Tapestry itself. This distributed configuration requires an IOC container that fully supports such configurability.

How do I upgrade from Tapestry 4 to Tapestry 5?

There is no existing tool that supports upgrading from Tapestry 4 to Tapestry 5; Tapestry 5 is a complete rewrite.

Many of the basic concepts in Tapestry 4 are still present in Tapestry 5, but refactored, improved, streamlined, and simplified. The basic concept of pages, templates and components are largely the same. Other aspects, such as server-side event handling, is markedly different.

Tapestry 5 is designed so that it can live side-by-side in the same servlet as a Tapestry 4 app, without package namespace conflicts, sharing session data and common resources such as images and CSS. This means that you can gradually migrate a Tapestry 4 app to Tapestry 5 one page (or one portion of the app) at a time.

How do I upgrade from one version of Tapestry 5 to another?

Main Article: How to Upgrade.

A lot of effort goes into making an upgrade from one Tapestry 5 release to another go smoothly. In the general case, it is just a matter of updating the version number in your Maven build.xml or Gradle build.gradle file and executing the appropriate commands (e.g., gradle idea or mvn eclipse:eclipse) to bring your local workspace up to date with the latest binaries.

After changing dependencies, you should always perform a clean recompile of your application.

We make every effort to ensure backwards-compatibility. Tapestry is mostly coded in terms of interfaces; those interfaces are stable to a point: interfaces your code is expected to implement are usually co mpletely frozen; interfaces your code is expected to invoke, such as the interfaces to IoC services, are stable, but may have new methods added in a release; existing methods are not changed.

In rare cases a choice is necessary between fixing bugs (or adding essential functionality) and maintaining complete backwards compatibility; in those cases, an incompatible change may be introduced. These are always discussed in detail in the Release Notes for the specific release. You should always read the release notes before attempting an upgrade, and always (really, always) be prepared to retest your application afterwards.

Note that you should be careful any time you make use of internal APIs (you can tell an API is internal by the package name, org.apache.tapestry5.internal). Internal APIs may change at any time; there's no guarantee of backwards compatibility. Please always check on the documentation, or consult the user mailing list, to see if there's a stable, public alternative. If you do make use of internal APIs, be sure to get a discussion going so that your needs can be met in the future by a stable, public API.

Why are there both Request and HttpServletRequest?

Tapestry's Request interface is very close to the standard HttpServletRequest interface. It differs in a few ways, omitting some unneeded methods, and adding a couple of new methods (such as isXHR()), as well as changing how some existing methods operate. For example, getParameterNames() returns a sorted List of Strings; HttpServletRequest returns an Enumeration, which is a very dated approach.

However, the stronger reason for Request (and the related interfaces Response and Session) is to enable the support for Portlets at some point in the future. By writing code in terms of Tapestry's Request, and not HttpServletRequest, you can be assured that the same code will operate in both Servlet Tapestry and Portlet Tapestry.

Modified: websites/production/tapestry/content/getting-started.html ============================================================================== --- websites/production/tapestry/content/getting-started.html (original) +++ websites/production/tapestry/content/getting-started.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

Getting Started

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/google-app-engine.html ============================================================================== --- websites/production/tapestry/content/google-app-engine.html (original) +++ websites/production/tapestry/content/google-app-engine.html Sun Feb 25 22:22:54 2018 @@ -64,21 +64,6 @@

Google App Engine

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hibernate-core-conf.html ============================================================================== --- websites/production/tapestry/content/hibernate-core-conf.html (original) +++ websites/production/tapestry/content/hibernate-core-conf.html Sun Feb 25 22:22:54 2018 @@ -64,21 +64,6 @@

Hibernate - Core - Conf

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hibernate-core.html ============================================================================== --- websites/production/tapestry/content/hibernate-core.html (original) +++ websites/production/tapestry/content/hibernate-core.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Hibernate - Core

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hibernate-statistics.html ============================================================================== --- websites/production/tapestry/content/hibernate-statistics.html (original) +++ websites/production/tapestry/content/hibernate-statistics.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Hibernate Statistics

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hibernate-support-faq.html ============================================================================== --- websites/production/tapestry/content/hibernate-support-faq.html (original) +++ websites/production/tapestry/content/hibernate-support-faq.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Hibernate Support FAQ

-
- - -

- - -

Page Title

- -
@@ -93,11 +78,11 @@

Hibernate Support

Main article: Hibernate

Contents

+/*]]>*/

How do I get Hibernate to startup up when the application starts up, rather than lazily with the first request for the application?

This was a minor problem in 5.0; by 5.1 it is just a matter of overriding the configuration system tapestry.hibernate-early-startup to "true".

Modified: websites/production/tapestry/content/hibernate-user-guide.html ============================================================================== --- websites/production/tapestry/content/hibernate-user-guide.html (original) +++ websites/production/tapestry/content/hibernate-user-guide.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Hibernate User Guide

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hibernate.html ============================================================================== --- websites/production/tapestry/content/hibernate.html (original) +++ websites/production/tapestry/content/hibernate.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Hibernate

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/hilo.html ============================================================================== --- websites/production/tapestry/content/hilo.html (original) +++ websites/production/tapestry/content/hilo.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

HiLo

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/home.html ============================================================================== --- websites/production/tapestry/content/home.html (original) +++ websites/production/tapestry/content/home.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Home

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/how-to-upgrade.html ============================================================================== --- websites/production/tapestry/content/how-to-upgrade.html (original) +++ websites/production/tapestry/content/how-to-upgrade.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

How to Upgrade

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/https.html ============================================================================== --- websites/production/tapestry/content/https.html (original) +++ websites/production/tapestry/content/https.html Sun Feb 25 22:22:54 2018 @@ -64,21 +64,6 @@

HTTPS

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/implementing-the-hi-lo-guessing-game.html ============================================================================== --- websites/production/tapestry/content/implementing-the-hi-lo-guessing-game.html (original) +++ websites/production/tapestry/content/implementing-the-hi-lo-guessing-game.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

Implementing the Hi-Lo Guessing Game

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/indexv1.html ============================================================================== --- websites/production/tapestry/content/indexv1.html (original) +++ websites/production/tapestry/content/indexv1.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

IndexV1

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/injection-faq.html ============================================================================== --- websites/production/tapestry/content/injection-faq.html (original) +++ websites/production/tapestry/content/injection-faq.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Injection FAQ

-
- - -

- - -

Page Title

- -
@@ -93,11 +78,11 @@

Injection

Main article:  Injection

Contents

+/*]]>*/

What's the difference between the @Component and @InjectComponent annotations?

The @Component annotation is used to define the type of component, and its parameter bindings. When using @Component, the template must not define the type, and any parameter bindings are merged in:

  <a t:id="home" class="nav">Back to home</a>

Modified: websites/production/tapestry/content/injection-in-detail.html
==============================================================================
--- websites/production/tapestry/content/injection-in-detail.html (original)
+++ websites/production/tapestry/content/injection-in-detail.html Sun Feb 25 22:22:54 2018
@@ -64,21 +64,6 @@
 

Injection in Detail

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/injection.html ============================================================================== --- websites/production/tapestry/content/injection.html (original) +++ websites/production/tapestry/content/injection.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Injection

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/input-validation.html ============================================================================== --- websites/production/tapestry/content/input-validation.html (original) +++ websites/production/tapestry/content/input-validation.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

Input Validation

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/integrating-with-jpa.html ============================================================================== --- websites/production/tapestry/content/integrating-with-jpa.html (original) +++ websites/production/tapestry/content/integrating-with-jpa.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

Integrating with JPA

-
- - -

- - -

Page Title

- -
@@ -98,11 +83,11 @@

Tapestry provides a built-in integration with the Java Persistence API (JPA) through the Tapestry-jpa module. This module supersedes the 3rd-party Tynamo JPA module.

Contents

+/*]]>*/

  • Downloading
  • Configuring JPA Modified: websites/production/tapestry/content/integrating-with-spring-framework.html ============================================================================== --- websites/production/tapestry/content/integrating-with-spring-framework.html (original) +++ websites/production/tapestry/content/integrating-with-spring-framework.html Sun Feb 25 22:22:54 2018 @@ -65,21 +65,6 @@

    Integrating with Spring Framework

-
- - -

- - -

Page Title

- -
@@ -125,11 +110,11 @@

For integrating Spring Security into your application, see Security.

Contents

+/*]]>*/

  • Related Articles
-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/integration-with-existing-applications.html ============================================================================== --- websites/production/tapestry/content/integration-with-existing-applications.html (original) +++ websites/production/tapestry/content/integration-with-existing-applications.html Sun Feb 25 22:22:54 2018 @@ -66,21 +66,6 @@

Integration with existing applications

-
- - -

- - -

Page Title

- -
@@ -93,11 +78,11 @@

Integration with existing applications

Contents

+/*]]>*/

You may have an existing JSP (or Struts, Spring MVC, etc.) application that you want to migrate to Tapestry. It's quite common to do this in stages, moving some functionality into Tapestry and leaving other parts, initially, in the other system. You may need to prevent Tapestry from handling certain requests.

How do I make a form on a JSP submit into Tapestry?

Tapestry's Form component does a lot of work while an HTML form is rendering to store all the information needed to handle the form submission in a later request; this is all very specific to Tapestry and the particular construction of your pages and forms; it can't be reproduced from a JSP.

Fortunately, that isn't necessary: you can have a standard HTML Form submit to a Tapestry page, you just don't get to use all of Tapestry's built in conversion and validation logic.

All you need to know is how Tapestry converts page class names to page names (that appear in the URL). It's basically a matter of stripping off the root-package.pages prefix from the fully qualified class name. So, for example, if you are building a login screen as a JSP, you might want to have a Tapestry page to receive the user name and password. Let's assume the Tapestry page class is com.example.myapp.pages.LoginForm; the page name will be loginform (although, since Tapestry is case insensitive, LoginForm would work just as well), and the URL will be /loginform.

 

LoginForm.tml
<form method="post" action="/loginform">

Modified: websites/production/tapestry/content/introduction.html
==============================================================================
--- websites/production/tapestry/content/introduction.html (original)
+++ websites/production/tapestry/content/introduction.html Sun Feb 25 22:22:54 2018
@@ -56,21 +56,6 @@
 

Introduction

-
- - -

- - -

Page Title

- -
Modified: websites/production/tapestry/content/ioc-advice.html ============================================================================== --- websites/production/tapestry/content/ioc-advice.html (original) +++ websites/production/tapestry/content/ioc-advice.html Sun Feb 25 22:22:54 2018 @@ -56,21 +56,6 @@

IoC - advice

-
- - -

- - -

Page Title

- -