Re: How to use displayTag

2006-05-02 Thread Lixin Chu

check the latest display tag (i think 1.1 or 1.2), it does support
pagination though.
there is also a AjaxTag which enables a AJAX displaytag.



On 4/30/06, H. Kerem Cevahir <[EMAIL PROTECTED]> wrote:



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¢/min.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: How to use displayTag

2006-04-30 Thread H. Kerem Cevahir

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¢/min.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to use displayTag

2006-04-28 Thread Chaudhary, Harsh
I am also looking for a pagination solution. And you are right, the
documentation for DisplayTag is not exactly up to the mark.
Another thing I found was it has some issues with its design. That is,
by default, it gets the entire object returned from a query and
populates a list with it. Now, if your list is really big, its a big big
performance hit. Fortunately, you can bypass that behaviour and write
your own pagination code, which kind of defeats the purpose.
Anyways, if I get something to work, will keep posted.

Another alternative could be the struts pager taglib.

Harsh.

-Original Message-
From: makarand sonawane [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 28, 2006 3:13 PM
To: user@struts.apache.org
Subject: How to use displayTag


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¢/min.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]