Re: HTML table API
Tim Jowers <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
I recommend you use a datatable (javascript kiddies name for it) or a datagrid (flex/flash name for it). then you can toss XML or, if you must, JSON. You'll have significantly more capabilities and better look than a table (well, there is the "progressive" thing which turns a table into a datatable and Struts also has datatable tag). js: check out YUI datatable. very well documented and works great. In about 2 hours you can write a servlet which given any Java object array will kick out JSON for these. (XMl, e2x, your flavor). Hint: Use reflection and find the getters. Waht about webservice. CLick on object and tell IDE to make one. Kick out XML complete with WSDL. Consume in flash or flex(compiles to flash). The datatables out there support paging but none support scrollable result sets, caching, nor pre-fetching. AFAICT. My $.02 on the issue, TimJowers On Thu, Mar 19, 2009 at 8:55 AM, Chris Bredesen <[email protected]> wrote: > About the googling, it wasn't just you. I could not find it, except I'd > used this years ago so I had a head start (I knew it was an Apache project). > > http://jakarta.apache.org/ecs/index.html > > -CB > > Richard O. Hammer wrote: >> >> I am starting to write a class to represent an HTML table being generated >> in my Java code. Surely this has been done many times before. But I guess >> I'm not Googling right. >> >> I want to create an HTML table (a String of HTML output) in my Java code. >> Can someone recommend an API that does this. >> >> Thank you, >> Rich Hammer >> >> _______________________________________________ >> Juglist mailing list >> [email protected] >> http://trijug.org/mailman/listinfo/juglist_trijug.org > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org >