Tapestry 4 - Basic

Print the objectives

  Take a beta test

To know how to build simple but usable Tapestry application which can:

  • create multiple Application State Objects
  • handle listeners and validate submissions
  • build templates for pages and components
  • use localisation for messages and other resources
  • make use of annotations

To understand the concept of component driven framework.

The topics which are not part of this exams are:

  • HiveMind configuration
  • Spring/Hibernate/... integration
  • Writing advanced components.
  • Contrib and third party libraries.
  • Friendly urls
  • IoC concept
  • Portlets
  • Framework Customization
  • Features of Tapestry v3 abandoned in Tapestry v4

The best reference to learn for this exam is Tapestry User Guide http://tapestry.apache.org/tapestry4/UsersGuide/index.html

  Released  Beta  Frozen  

Webapp Configuration  1 question

  • To understand that your app can work without myapp.aplication
  • Configure look-up for optional .page .jwc configuration files
  • To know how to setup custom libraries, meta variables
  • Web application may often require access to the session context. Concept of the Application Stack Objects is a Tapestry way of implementing this. Its important to know how to setup simple Application Stack Object through org.apache.tapestry.visit-class
  • Write code that make use of simple A.S.O

not covered:

  • Custom A.S.O definitions in HiveMind module descriptor
  • Tomcat, Jetty, Resin ... configuration
  • Setting up web.xml
0 5 0

Templates  3 questions

Page and Component templates in Tapestry are built on top of ordinary HTML files.
  • To know how to specify components on page template and setup parameters
  • Know the basic usage of OGNL on Tapestry Templates
  • Write code that make use of special prefixes "asset:", "bean:", "listener:"
  • To know how to place page in application structure to be found by Tapestry
0 10 0

Page  2 questions

  • Understand difference between transient and persistent properties. Knowing usage of @Persist annotation
  • To know how to make pages with corresponding java classes
  • How to simplify life with annotations - move configuration from .page file to java class
  • Know the page lifecycle and make use of methods called on different its points.
0 4 0

Component  4 questions

  • Understand the concept of components in Tapestry Framework.
  • Know how to setup often used components (Can be all excluding contrib library)
  • How to define components bindings in .page or .jwc files
  • Be able to setup above components in java class trough annotations
0 7 0

Creating simple Components  3 questions

Tapestry framework and third party libraries can provide all necessary elements for applications but the advantage of Tapestry is that user can very easily create own custom components.
  • To understand how component is build. what are the necessary files and how to connect them
  • To understand how to setup parameters
  • How to simplify life with annotations
0 7 0

Listener  2 questions

  • How to setup components launching listeners on the page templates: Form, DirectLink Submit
  • Know how to write listener and get listener parameters
  • Understand way of returning values and activating pages
0 13 0

Input Validation  2 questions

  • Know how to enable client side validation
  • Define components that make use of Tapestry built in validation
  • Make use of ValidationDelegate to display error messages.
  • Using success listener of Form component in connection with validation
0 9 0

Localization  1 question

  • Know that localisation is based on property files which can be Component/Page specific or global
  • Know the usage of standard binding prefix "message:".
  • Know that Entire templates can be also localized
  • Write code that changes locale.
0 10 0

Exam information

  • 27 minutes
  • 18 questions (65)
  • 80% required
  • +3 √
  • - 12  points
  • 15 day delay
  • status: under construction