I'm not sure but I assume he means that you would need a Collection to hold
the values that make up the list, the complete list that is.

It's not scaleable in the sense that ideally only the data shown on screen
should have been loaded, not all the records on the other pages too.

On the other hand, it depends on what you use it for .. do you really want
to list a million records ? I don't think so .. IMO it is a good idea to
have an upper limit to the number of records, when that limit is reach you
can display a warning saying "more than X records found, please refine your
search" or something ..

So basically you never load X records, for example with Hibernate you can
specify to list no more than X records .. 

But again, the best thing would be to be able to have a displaytag call
delegated directly to the persistence layer and retrieve the next/previous
page of data (since this can be optimized by the DB by already loading it in
the background while you're still reading the current page). Being able to
do so would inherently be against well-known J2EE design patterns (ie.
shielding presentation from persistence using the business layer)

Anyway, I don't see/know any alternatives to displaytag so ...

-- Wouter

Ps: anyway, I was talking about _tabs_, not _tables_ .. any comments ? :-)

> -----Original Message-----
> From: Holger Winkelmann [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 14, 2004 8:44 PM
> To: [EMAIL PROTECTED]
> Cc: andromda-user
> Subject: Re: [Andromda-user] request for comments: dropping tabs from the
> bpm4struts cartridge
> 
> little bit OT here, but I read  on TTS displaytag, used in bpm4struts,
> is not scalable ??? can you explain what they mean.
> 
> see 2nd comment on this thread:
> 
> http://www.theserverside.com/news/thread.tss?thread_id=30529
> 
> Thanks,
> 
> Holger



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to