Friday, February 29, 2008 3:57 PM -
Code-Challenge-Team
Fully Ajax-enabled Web application for ArcGIS Server Java build on ICEfaces technology
By Tom Schuller, GIS Manager/Java Developer, Luxembourg, Luxembourg
Download the script.
Code Summary
Integrate the ICEfaces (www.icefaces.org) technology with the ESRI WebAdf for Java.
ICEfaces simplifies extremly any AJAX-enabled web-devlopment.
Use that power with the Esri web-applications.
Why should it do that?
- Only the modified parts will be updated out of the box. Fully AJAX enabled.
-- Smooth, incremental page updates that do not require a full page refresh to achieve presentation changes in the application. Only elements of the presentation that have changed are updated during the render phase (D2D).
-- User context preservation during page update, including scroll position and input focus. Presentation updates do not interfere with the user’s ongoing interaction with the application.
- You don’t have to handle the AJAX communication
- Server-initiated asynchronous presentation update
-- Standard JSF applications can only deliver presentation changes in response to a user-initiated event, typically some type of form submit. ICEfaces introduces a trigger mechanism that allows the serverresident application logic to push presentation changes to the client browser in response to changes in the application’s state. This enables application developers to design systems that deliver data to the user in a near-real-time asynchronous fashion.
- Work directly with the W3C Html elements
-- ICEfaces Direct-to-DOM (D2D) rendering is just what it sounds like the ability to render a JSF component tree directly into a W3C standard DOM data structure. ICEfaces provides a Direct-to-DOM Render Kit for the standard HTML basic components available in JSF.
-- One of the key features of Direct-to-DOM rendering is the ability to perform incremental changes to the DOM that translate into in-place editing of the page and result in smooth, flicker-free page updates without the need for a full page refresh.
My DEMO-Application features:
- Draw user-defined text on map
- Measure distance/area/perimeter
- Resize current display map
- Send current map config by email
- GeoBookmarks
- Table of contents TOC with context menu
- Export Attributes to MS Excel
- Export Geometries to Autocad DXF
- User login
- Chat functionality
- Direct ArcSDE Edit Framework (check out the sources)
- ...
Take an online demo at: http://www2.pch.etat.lu/pchViewer
Read the integration guide at: http://www2.pch.etat.lu/pchViewer/guide.pdf