struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toni Lyytikäinen" <>
Subject Re: Displaytag problems
Date Tue, 04 Sep 2007 12:58:07 GMT
Yes, there are several approaches to it, using AjaxTags, Ajax Anywhere, YUI,
Prototype etc. It might be possible to implement it in Dojo too, I don't
know enough about Dojo to say anything certain. All solutions are somewhat
hackish though, and I wouldn't really recommend using them. AjaxTags is the
easiest (it has a tag for it), but it's sort of heavyweight library that
adds a lot of extra dependecies to the web project. With YUI and Prototype
you'll have to manually code some Javascript, but it's not too hard. The
basic idea is presented here:

You don't really need Ajax Anywhere for this though, and the Prototype part
is somewhat easily converted into some other Ajax library, like YUI's
Connection Manager.

BTW. what's the status of Ajax support in Table Tags? It would be nice to
have a clean solution to implementing Ajax-based paging and sorting with a
powerful table library.

On 9/4/07, Didier Coignet <> wrote:
> Yeah, if I leave the requestURI field empty it calls the action which
> loads
> the list from a webservice/database. But I already have so data, so I
> don't
> need to load the data again. This is why I created an empty action.
> After some copying from other struts actions and some republishing and
> restarting the tomcat it is now working - but I don't know why :-)
> Btw.: Has anyone managed to do sorting and paginating calls from
> displaytag
> by ajax/dojo? I have no glue how to get it into displaytag :-)
> Best Regards,
> Marc
> 2007/9/4, Didier Coignet <>:
> >
> > Have you tried to put leave the requestURI field in displaytag empty ?
> >
> > <display:table uid="row" name="searchResults" pagesize="15"
> > sort="list" requestURI="" cellspacing="0"
> > cellpadding="0">
> >
> > in my case i had pagination problems and that solved it (still dont know
> > why).
> > Regards didier.
> >
> >
> >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message