struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. Kerem Cevahir" <ke...@cevahir.org>
Subject Re: How to use displayTag
Date Sun, 30 Apr 2006 10:09:49 GMT

Hi,

display:table tag works on beans( or lists) which are kept in one of scopes.

You can send your data bean to jsp by implementing your forward-like action, 
just takes data, puts it in a scope and forwards to jsp page. Then, limit 
access to jsp page, and update your links to your new forward-like action.

But, for pagination property of displayTag, all list must be in the scope in 
every page, and in every request to every page sorting algorithms are 
recalled. This can cause memory and processor problems.

I recommend struts-layout tags. I think that layout:table, layout:collection 
and layout:pager will work better than displayTags.

Regards.
Kerem.

Cum 28 Nis 2006 23:13 tarihinde, makarand sonawane şunları yazmıştı: 
> Hi,
>
>  I am looking for Tag implementation for Table which can be configured for
> external sorting and pagination. Which also support Struts( on sorting or
> Pagination invokes Struts Action).
>
> I have came accross displaytag opensource of sourceforge, but they lack
> clear documentation. It was also not clear how the StrutsActions will be
> invoked.
>
> Please let me know if any one has used same or similar tag?
>
> Regards
> Makarand
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates
> starting at 1&cent;/min.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message