Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Displaytag problems

Displaytag problems

2007-09-04       - By Toni Lyytik?inen

 Back
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:

http://raibledesigns.com/rd/entry/the_future_of_the_displaytag

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 <coignet.didier@(protected)> 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 <dcoignet@(protected)>:
> >
> > 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.
> >
> >
> >
>

©2008 junlu.com - Jax Systems, LLC, U.S.A.