sorry, i forgot to put the funcion. it is ajaxAnywhere.submitAJAX(parameter=value)
------------ Carpe diem ----- Original Message ----- From: "Lalchandra Rampersaud" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Saturday, June 07, 2008 3:49 PM Subject: Re: Display tag and AJAX > hi > in reality ajaxanywhere does not need additional javascript funcions (by > default comes packaged with aa.js). the function that is usually called is > which invokes an action. the action is the one which allows the user to > select the zone that is to be updated and also sends the data. > > attached is an example of an action which uses ajaxanywhere. > > > > import org.ajaxanywhere.AAUtils; > > public ActionForward first(ActionMapping mapping, ActionForm form, > HttpServletRequest request, HttpServletResponse response) > { > if (AAUtils.isAjaxRequest(request)) { > > AAUtils.addZonesToRefresh(request, "projectsList"); > > > PaginatorHandler paginator = new PaginatorHandler(request, > "projWorkerPaginator"); > paginator.GetPage(PaginatorHandler.typeOfPage.first); > request.setAttribute("tabIndex", 4); > > } > > String url = > "/pagesJSP/companyProjectBoss/Project/registerProjectBody.jsp"; > > ServletContext sc = (ServletContext) getServlet().getServletContext(); > RequestDispatcher rd = sc.getRequestDispatcher(url); > rd.forward(request, response); > > return null; > } > > > Saludos > Lalchandra Rampersaud > ------------ > Carpe diem > > > ----- Original Message ----- > From: "Arunkumar Balasubramanian" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <user@struts.apache.org> > Sent: Thursday, June 05, 2008 9:52 PM > Subject: RE: Display tag and AJAX > > > > Thanks for your reply. > > Can you give the reference of javascript functions used for the display:table > used with in AjaxAnywhere tag? If you have an working example, it would be > great, if you could provide the reference with other classes involved with > display:table. > >