[CONF] Apache Tapestry > Test Page

2013-09-29 Thread Bob Harner (Confluence)







Test Page
Page edited by Bob Harner


Comment:
j


 Changes (1)
 




...
deck.tab.active.border=1px solid #ccc deck.tab.inactive.border=1px solid #ccc 
deck.tab.spacer=0 
{composition-setup}  
...


Full Content

Test page to test changes to the autoexport template...







Starting with Tapestry 5.4, you can easily choose whether the foundation _javascript_ framework is jQuery or Prototype.


Tapestry comes with the Prototype and Scriptaculous libraries, or you can easily swap in JQuery using a 3rd-party module.




Loading





Testing, testing...

—



—


Test Page 2 — {toc}

f



Stop watching space
|
Change email notification preferences

View Online
|
View Changes









[CONF] Apache Tapestry > Test Page

2013-09-29 Thread Bob Harner (Confluence)







Test Page
Page edited by Bob Harner


Comment:
j


 Changes (1)
 




...
deck.tab.inactive.border=1px solid #ccc deck.tab.spacer=0 
deck.tab.spacer=0 
{composition-setup}  
...


Full Content

Test page to test changes to the autoexport template...







Starting with Tapestry 5.4, you can easily choose whether the foundation _javascript_ framework is jQuery or Prototype.


Tapestry comes with the Prototype and Scriptaculous libraries, or you can easily swap in JQuery using a 3rd-party module.




Loading





Testing, testing...

—



—


Test Page 2 — {toc}

f



Stop watching space
|
Change email notification preferences

View Online
|
View Changes









[CONF] Apache Tapestry > Test Page Ignore

2011-12-16 Thread confluence







 Test Page Ignore
 Page removed by Bob Harner

 
 
 Ignore please edited
 








[CONF] Apache Tapestry > Test Page Ignore

2011-01-19 Thread confluence







Test Page Ignore
Page edited by Gavin


 Changes (1)
 




Ignore please edited 


Full Content

Ignore please edited



Change Notification Preferences

View Online
|
View Changes









[CONF] Apache Tapestry > Test Page Ignore

2011-01-19 Thread confluence







Test Page Ignore
Page  added by Gavin

 

 Ignore please


   
Change Notification Preferences
   
   View Online
   








[CONF] Apache Tapestry > Test Page 2

2010-12-14 Thread confluence







Test Page 2
Page moved by Bob Harner






From: 

Apache Tapestry
> Sandbox


To: 

Apache Tapestry
> Test Page





Children moved






   
Change Notification Preferences
   
   View Online
   









[CONF] Apache Tapestry > Test Page 2

2010-12-14 Thread confluence







Test Page 2
Page  added by Bob Harner

 

 


Test page for toc and excerpt together

How do I get started with Tapestry?
Why does Tapestry use Prototype? Why not insert favorite _javascript_ library here?
Why does Tapestry have its own Inversion of Control Container? Why not Spring or Guice?
How do I upgrade from Tapestry 4 to Tapestry 5?
Why are there both Request and HttpServletRequest?




Test page for toc and excerpt together

How do I get started with Tapestry?

The easiest way to get started is to use Apache Maven to create your initial project; Maven can use an archetype (a kind of project template) to create a bare-bones Tapestry application for you. See the Getting Started page for more details.

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? Why not 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, and jQuery was just getting started.

The intent has always been to make this aspect of Tapestry pluggable. This is work expected in Tapestry 5.3, where a kind of adapter layer will be introduced so that Tapestry can be easily customized to work with any of the major _javascript_ libraries.

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.

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.

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.



  Footnotes
  

  Reference
  Notes

  
  
  




   
Change Notification Preferences
   
   View Online
   








[CONF] Apache Tapestry > Test Page

2010-12-08 Thread confluence







Test Page
Page  added by Ulrich Stärk

 

 Test page to test changes to the autoexport template...


   
Change Notification Preferences
   
   View Online