incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Incubator Wiki] Update of "xap/XAPStruts" by Robert Buffone
Date Thu, 01 Mar 2007 05:33:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Incubator Wiki" for change notification.

The following page has been changed by Robert Buffone:

New page:
This page describes how to integrate [ Apache XAP] with [
Struts2]. I use the Person Manager struts sample to illustrate how to upgrade an html application
to use XAP. Overall the integration is quite simple.  I was able to repurpose all of the Java
code (Data Model, ActionHandlers) from the sample.  All that needed to be done was to re-write
the *.ftl files to output a combination of <strong>xModify</strong> and <strong>XAL</strong>
instead of html.

The reason why integration with web frameworks is so easy, is that the XAP client retrieves
the markup used to describe the application from the server and then renders it entirely on
the client.  This is the opposite of other Ajax toolkits where:

*You either are responsible for moving data from the server to the client using XHR and updating
the UI with JavaScript code or
*The markup is down convert into HTML and JavaScript on the server as in some JSF implementation

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message