incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Incubator Wiki] Update of "Using XAP with HTML" by Rob Gagne
Date Tue, 21 Nov 2006 21:40:45 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 Rob Gagne:
http://wiki.apache.org/incubator/Using_XAP_with_HTML

New page:
##language:en

XAP provides two ways of mixing HMTL into XAP applications.

'''1. Placing XAP applications into HTML'''

XAP applications can be mixed with HTML code.  Syntax is subject to change.

An example:

http://dev.nexaweb.com/demo/ms2/examples/dojo/portlet.html

This application provides a table as the main element of the web page.  Cells of this table
are set to contain different elements from the XAP application -- there are four color pickers
and a button.  The event handling and HTML updating is fully provided by the XAP application.

'''2. Using XModify to modify an HTML DOM'''

One of the compelling features of XAP is the ability to declaratively modify a running application
with XML statements.  This feature is an integral part of a XAP application, however it's
usefulness extends beyond XAP to HTML.

Using the XAP XModify syntax - a declarative syntax for DOM modifications - developers can
write statements that modify existing HTML DOMs.

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message