Test
Page added by Ulrich Stärk
Change Notification Preferences
View Online
Content Type and Markup
Page added by Ulrich Stärk
Content Type and Markup Output
Tapestry reads well-formed XML template files and renders its output as XML, with minor caveats:
The ?xml? XML declaration is omitted.
Most element render
CSS
Page added by Ulrich Stärk
Tapestry CSS Support
Cascading Style Sheets (CSS) is an important technology, even with Tapestry. Tapestry works best when the rendered HTML is simple and semantic semantic meaning HTML that goes back to its
Environmental Services
Page added by Ulrich Stärk
Environmental Services
Environmental services represent yet another, distinct form of injection.
Unlike service injection (injection via a service implementation's constructor) or normal
DOM
Page added by Ulrich Stärk
Document Object Model
Tapestry 5 takes a very different approach to markup generation than Tapestry 4, or most other frameworks.
Tapestry 4 Approach
In Tapestry 4, markup generation was based on generating a
HTTPS
Page added by Ulrich Stärk
Securing your application with HTTPS
Tapestry assumes your application will be primarily deployed as a standard web application, using HTTP (not HTTPS) as the transport mechanism.
However, many applications
Input Validation
Page added by Ulrich Stärk
Form Input and Validation
The life's blood of any application is form input; this is the most effective way to gather significant information from the user. Whether it's a search form, a login
Layout Component
Page added by Ulrich Stärk
Layout Component
You may see frequent reference to a Layout Component, but you won't find it in the component reference|../tapestry-core/ref/index.html. Layout isn't a component, it's a component
Logging
Page added by Ulrich Stärk
Logging of Tapestry Components and Pages
Tapestry makes extensive use of SLF4J to log details about the creation and operation of your page and component classes.
The default configuration for logging
Page Lifecycle
Page added by Ulrich Stärk
Page Lifecycle
In Tapestry, you are free to develop your presentation objects, page and components classes, as ordinary objects, complete with instance variables and so forth.
This is somewhat
Page Navigation
Page added by Ulrich Stärk
Page Navigation
In essense, a Tapestry application is a number of related pages, working together. To some degree, each page is like an application unto itself.
Any individual request will be
Persistent Page Data
Page added by Ulrich Stärk
Persistent Page Data
Most instance variables in Tapestry are automatically cleared at the end of each request.
This is important, as it pertains to how Tapestry pages are pooled and shared,
Persistent State
Page added by Ulrich Stärk
Persistent State
Often, you will have a situation where you have a bit of data that is needed across multiple pages. Perhaps you are creating a multi-page wizard, or perhaps you have an object
Project Layout
Page added by Ulrich Stärk
Project Layout
This is the suggested layout for your Tapestry project; it is the layout of folders and files created by the Tapestry Quickstart Archetype|../../quickstart/. If you are creating your
Project Layout
Page edited by Ulrich Stärk
Changes (3)
...
!../images/projectlayout.png!Project Layouth2. Main source files
Project Layout
File attached by Ulrich Stärk
projectlayout.png
(50 kB image/png)
Change Notification Preferences
View Attachments
Project Layout
Page edited by Ulrich Stärk
Changes (2)
...
!../images/projectlayout.png!Project Layout
Request Processing
Page added by Ulrich Stärk
Request Processing
Understanding the request processing pipeline is very important, as it is one of the chief extension points for Tapestry.
Much of the early stages of processing are in the
Response Compression
Page added by Ulrich Stärk
Response Compression
Starting in Tapestry 5.1, the framework automatically GZIP compresses content streamed to the client. This can signifcantly reduce the amount of network traffic for a
Service Status
Page added by Ulrich Stärk
IoC Services Status
Using Tapestry there will often be a large number of services defined in the registry; a mix of the builtin services provided by the framework and your own.
Built in to every
Service Status
File attached by Ulrich Stärk
servicestatus.png
(142 kB image/png)
Change Notification Preferences
View Attachments
Type Coercion
Page added by Ulrich Stärk
Parameter Type Coercions
Tapestry automatically handles type coercions for parameters.
Type coercions occur when a value passed into a parameter (as bound in template or in an annoation) does not
Unit testing pages or components
Page added by Ulrich Stärk
Unit testing pages or components
You can easily unit test a certain page or a component. Follow the simple tasks below.
Setting up a driving environment
In order to unit test a
URL rewriting
Page added by Ulrich Stärk
Tapestry URL Rewriting Support
Since 5.1.0.1, Tapestry has basic support for URL rewriting. Incoming requests and links generated by Tapestry can be rewritten using exactly the same API. It is based
Input Validation
File attached by Ulrich Stärk
validation_errors.png
(33 kB image/png)
Change Notification Preferences
View Attachments
Input Validation
File attached by Ulrich Stärk
validation_initial.png
(25 kB image/png)
Change Notification Preferences
View Attachments
Input Validation
File attached by Ulrich Stärk
validation_minlength.png
(32 kB image/png)
Change Notification Preferences
View Attachments
Input Validation
File attached by Ulrich Stärk
validation_password.png
(31 kB image/png)
Change Notification Preferences
View Attachments
Input Validation
Page edited by Ulrich Stärk
Changes (12)
...
Next, all the fields inside the form are activated to pull values out of the incoming
Aliases
Page edited by Ulrich Stärk
Changes (1)
{deprecated:since=5.2}Use ServiceOverrides instead{deprecated}
h1. Introduction
...
Aliases
Page edited by Ulrich Stärk
Changes (2)
...
h1. Introduction
{deprecated}
Tapestry goes to great lengths so that you can
Aliases
Page edited by Ulrich Stärk
Changes (2)
{deprecated:since=5.2}Use ServiceOverrides instead{deprecated}
{deprecated}
h1. Introduction
Aliases
Page edited by Ulrich Stärk
Changes (2)
{deprecated:since=5.2}Use ServiceOverrides instead{deprecated}
{deprecated:since=5.2}
Aliases
Page edited by Ulrich Stärk
Changes (2)
{deprecated:since=5.2}Use ServiceOverrides instead{deprecated}
{deprecated:since=5.2|title=Use
Aliases
Page edited by Ulrich Stärk
Changes (1)
{deprecated:since=5.2|title=Use {deprecated:since=5.2|message=Use ServiceOverrides instead}{deprecated}
Index
File attached by Ulrich Stärk
forbidden.gif
(0.6 kB image/gif)
Change Notification Preferences
View Attachments
Component Parameters
Page edited by Ulrich Stärk
Changes (1)
...
| nullfieldstrategy | Used to locate a pre-defined
{html} h2. News [!Feed-icon.gif!|https://cwiki.apache.org/confluence/createrssfeed.action?types=blogpostspaces=TAPESTRYtitle=Apache+Tapestry+News+RSS+FeedlabelString%3Dsort=modifiedmaxResults=10timeSpan=5confirm=CreateshowContent=falseshowDiff=false]
...
{html}/div{html
New Website
Blog post edited by Ulrich Stärk
Changes (3)
The Apache Tapestry project is pleased to announce the launch of its new website...
Banner
Page edited by Ulrich Stärk
Changes (3)
{html:output=html|noPanel=true} div id=banner
img src="" alt=Tapestry Logo id=logo /
h1
Key Features
Page edited by Ulrich Stärk
Changes (0)
...
First key feature. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut consequat imperdiet
Banner
Page edited by Ulrich Stärk
Changes (2)
...
/h1 div id=asideComponent oriented framework for creating dynamic, robust, highly scalable web
Key Features
Page edited by Ulrich Stärk
Changes (0)
...
Full Content
Java power
First key
Banner
Page edited by Ulrich Stärk
Changes (1)
{html:output=html|noPanel=true}
div id=banner id=top
h1 img src="" alt=Tapestry
Small Banner
File removed by Ulrich Stärk
tapestry_s.png (9 kB image/png)
Change Notification Preferences
View Attachments
Small Banner
File attached by Ulrich Stärk
tapestry_s.png
(14 kB image/png)
Change Notification Preferences
View Attachments
Navigation
Page edited by Ulrich Stärk
Changes (1)
...
- [About] - [Community Contributions]
- [Apache|http://www.apache.org/] -
Index
Page edited by Ulrich Stärk
Changes (1)
...
h2. News [!Feed-icon.gif!|https://cwiki.apache.org/confluence/createrssfeed.action?types=blogpostspaces
Index
Page edited by Ulrich Stärk
Changes (2)
...
public class Login {
@Persist
@Property
private String userId;
Introduction
Page added by Ulrich Stärk
What is Apache Tapestry?
Apache Tapestry is an open-source framework for creating dynamic, robust, highly scalable web applications in Java. Tapestry complements and builds upon the standard Java
Documentation
Page edited by Ulrich Stärk
Changes (1)
- [Introduction]
- [Getting Started] - [Tutorial]
...
Key Features
Page edited by Kalle Korhonen
Changes (1)
...
{html}div class=feature radied relief{html} Last key feature. Lorem ipsum dolor sit amet,
Sandbox
Page added by Christophe Cordenier
Change Notification Preferences
View Online
Tapestry Reference Guide Plan (Draft)
Page added by Christophe Cordenier
Tapestry 5 Reference Guide (Draft)
Overview
What's Tapestry ?
Brief History
Design choices
Tapestry IOC
Introduction
Design
Terminology
Overview
IOC
Documentation
Page edited by Howard M. Lewis Ship
Changes (1)
...
- [Getting Started] - [Tutorial]
- [Frequently Asked Questions]
Getting Started
Page added by Howard M. Lewis Ship
Having trouble? Try our Frequently Asked Questions.
Change Notification Preferences
View Online
General Questions
Page added by Howard M. Lewis Ship
Change Notification Preferences
View Online
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (2)
...
h1. Limitations
h2. How do I add
Specific Errors
Page added by Howard M. Lewis Ship
Why do I get a SAXParseException when I use an HTML entity, such as nbsp; in my template?
Tapestry uses a standard SAX parser to read your templates. This means that your templates must be
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (1)
...
h1. General Questions
h1. Specific Errors h2. Why do I get
Specific Errors
Page edited by Howard M. Lewis Ship
Changes (1)
...
Only component classes should go in the Tapestry-controlled packages ({{pages}},
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (3)
{note}Break up these top level items into individual child pages.{note}
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (2)
{children:all=true}
{children:all=true|excerpt=true}
Templating and Markup
Page added by Howard M. Lewis Ship
Change Notification Preferences
View Online
Specific Errors
Page edited by Howard M. Lewis Ship
Changes (1)
h1. Why do I get a SAXParseException when I use an HTML entity, such as {{amp;nbsp;}} in my template?
Ajax Components
Page added by Howard M. Lewis Ship
Change Notification Preferences
View Online
Integration with existing applications
Page added by Howard M. Lewis Ship
Change Notification Preferences
View Online
Ajax Components
Page edited by Howard M. Lewis Ship
Changes (2)
h1. Do I have to specify both {{id}} and {{t:id}} for Zone components?
The
Page And Component Classes
Page added by Howard M. Lewis Ship
What's the difference between a page and a component?
There's very little difference between the two. Pages clases must be in the root-package.pages package; components must be
Tapestry Inversion of Control Container
Page added by Howard M. Lewis Ship
Why do I need to define an interface for my services? Why can't I just use the class itself?
First of all: you can do exactly this, but you lose some of the
Page And Component Classes
File attached by Howard M. Lewis Ship
Class Loaders
(0.1 kB text/xml)
-
GLIFFY DIAGRAM, ONLY EDIT IN GLIFFY EDITOR!
Change
Page And Component Classes
Page edited by Howard M. Lewis Ship
Changes (5)
h1. Whats the difference between a page and a component?
h1. Page And Component
Page And Component Classes
File attached by Howard M. Lewis Ship
Class Loaders
(4 kB text/xml)
-
GLIFFY DIAGRAM, ONLY EDIT IN GLIFFY EDITOR!
Change
Page And Component Classes
File attached by Howard M. Lewis Ship
Class Loaders.png
(20 kB image/png)
-
GLIFFY DIAGRAM IMAGE
Change Notification Preferences
Page And Component Classes
Page edited by Howard M. Lewis Ship
Changes (1)
...
{gliffy:name=Class Loaders|align=center|size=L|version=12}
Page And Component Classes
Page edited by Howard M. Lewis Ship
Changes (4)
...
h2. Why do I get ClassCastExceptions java.lang.LinkageError
Page And Component Classes
File attached by Howard M. Lewis Ship
Class Loaders.png
(15 kB image/png)
-
GLIFFY DIAGRAM IMAGE
Change Notification Preferences
Page And Component Classes
Page edited by Howard M. Lewis Ship
Changes (1)
...
Although these two classes have the same fully qualified class name, they
Page And Component Classes
File attached by Howard M. Lewis Ship
Class Loaders
(4 kB text/xml)
-
GLIFFY DIAGRAM, ONLY EDIT IN GLIFFY EDITOR!
Change
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (2)
{children:all=true|excerpt=true}
h1. Contents {toc} h1. Frequently Asked
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (3)
h1. Contents
{toc}
h1. Frequently Asked Questions
Specific Errors
Page edited by Howard M. Lewis Ship
Changes (2)
h1. Why do I get the exception No service implements the interface
Ajax Components
Page edited by Howard M. Lewis Ship
Changes (3)
h1. Do I have to specify both {{id}} and {{t:id}} for Zone components?
h2. Ajax Components
Tapestry Inversion of Control Container
Page edited by Howard M. Lewis Ship
Changes (3)
h1. Why do I need to define an interface for my services? Why cant I just use
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (2)
{toc}
{include:Ajax Components}
{include:General Questions}
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (1)
...
{include:Tapestry Inversion of Control Container} {include:Templating and
Templating and Markup
Page edited by Howard M. Lewis Ship
Changes (1)
...
In many components, the {{id}} attribute is an informal parameter; a value from
Templating and Markup
Page edited by Howard M. Lewis Ship
Changes (1)
...
In many components, the {{id}} attribute is an informal parameter; a value from
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (6)
...
{include:General Questions}
{include:Ajax Components}
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (1)
...
{include:Templating and Markup} {include:Page And Component Classes}
Forms and Form Components
Page added by Howard M. Lewis Ship
Forms and Form Components
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
Forms and Form Components
Page edited by Howard M. Lewis Ship
Changes (1)
...
h3. How do I change the label for a field on the fly?
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (1)
...
{include:Integration with existing applications} {include:Specific Errors}
Frequently Asked Questions
Page edited by Howard M. Lewis Ship
Changes (1)
...
{include:Integration with existing applications} {include:Specific Errors}
Injection FAQs
Page added by Howard M. Lewis Ship
Injection
What's the difference between the Component and InjectComponent annotations?
What's the difference between the InjectPage and InjectContainer annotations?
I get an exception
Injection FAQ
Page added by Howard M. Lewis Ship
Injection
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
Injection FAQ
Page edited by Howard M. Lewis Ship
Changes (2)
...
{code}
Again, were matching the field name to the component id, and you
General Questions
Page edited by Howard M. Lewis Ship
Changes (2)
...
The easiest way to get started is to use [Apache Maven|http://maven.apache.org] to
Ajax Components
Page edited by Howard M. Lewis Ship
Changes (1)
...
The point is, to be sure, specify the exact client id. This will be the value for the
Injection FAQs
Page removed by Howard M. Lewis Ship
Injection
What's the difference between the Component and InjectComponent annotations?
What's the difference between the InjectPage and InjectContainer annotations?
I get an exception
1 - 100 of 1811 matches
Mail list logo