Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Need more comprehensive AJAX Implementation Instructions

stanlick

2007-03-09

Replies:

Greetings --

Is there a document that explains the interaction and design expectations
when using AJAX/Dojo/S2? I have finally figured out how to make regions of
a page load asyncronously, and If I look at the DOM, all the elements are
there. However the elements do not show up in the browser unless I move my
DIV outside the FORM! Also, are there any instructions regarding how the
struts.xml ties into the mix? For instance, what should the <result ...>
look like in the config file? Right now my AjaxAction is simply
implementing the Action interface with an execute() and getZip() method.
getZip returns the Zip object that I hope to access via OGNL? I am looking
for a pattern that describes how the parts relate. I'm looking for a better
understanding of what the framework is expecting from me. and this link
didn't do it: http://struts.apache.org/2.x/docs/ajax.html
--
Scott
stanlick@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.