I haved used Datatables with Struts2, JSP, and with my experience with Tiles
I cannot see why there would be any conflict (although I have not tried that
combination yet). With datatables you can build the html or just write JSON
or XML objects into the HttpServletResponse PrintWriter from the Struts2
controller on your ajax call.
I used hibernate with ScrollableResults and not MyBatis. I am not familiar
with MyBatis, but as long as it returns data, you can format into JSON or
XML I would think it would work.
Datatables is nice because it has a lot of working examples and like
displaytag it gives you a fairly rich feature set without a lot of work.
On Wed, May 4, 2011 at 7:43 AM, Emi Lu <em...@encs.concordia.ca> wrote:
> Jeff,
>
>
> An alternative approach might be using displaytag to render the html for
>> the table with no paging or sorting and use a javascript library like
>> jQuery with the Datatables to provide your paging, sorting, etc... It
>> works really well, here is a link to an example
>> http://www.datatables.net/examples/basic_init/zero_config.html
>>
>
> Just have a quick look about "DataTables" - a very good tool!
>
> Seems that Displaytag1.2 is the final version of display tag; while
> datatables is on development.
>
> A quick question, does DataTables support great under "struts2 + tiles +
> jsp + MyBatis dataset dynamic query"?
>
> Thanks a lot!
> Emi
>
>
>
--
Jeff Chevalier
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user