struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Belaguly" <an...@edgesoftinc.com>
Subject RE: does struts has the functionality
Date Sat, 14 Sep 2002 21:20:44 GMT
Jenny,

I believe you can use the arrows instead of pages. You can even put
images developed by your graphic designers.

Here is the code snippet.
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>

<pg:pager>
  <pg:param name="keywords"/>

  <ex:searchresults>
    <pg:item>
      <%= searchResult %>
    </pg:item>
  </ex:searchresults>

  <pg:index>
    <pg:prev>
      <a href="<%= pageUrl %>">[<-- Back]</a>
    </pg:prev>
    <pg:next>
      <a href="<%= pageUrl %>">[ Next --> ]</a>
    </pg:next>
  </pg:index>
</pg:pager>

Hope this helps.
Anand


-----Original Message-----
From: Jenny [mailto:J_zhangca@yahoo.ca]
Sent: Saturday, September 14, 2002 12:14 PM
To: Struts Users Mailing List
Subject: Re: does struts has the functionality


Anand:

Thanks for your valuable information. It is very helpful.I am going to use
it. One more question(sorry to bother you again), the designer wants to use
"->" "<-"(graphic staff) instead of using numbers for page navigation. Since
jspTags pager uses build-in variable "pageNumber", it is not possible to
achieve what the designer wants. Is my understanding right? I really
appreciate your reply.
Thank you in advance for your reply.

Best regards,

Jenny


   ----- Original Message -----
From: "Anand Belaguly" <anand@edgesoftinc.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Saturday, September 14, 2002 1:58 PM
Subject: RE: does struts has the functionality


> Jenny,
>
> Thanks for the link, it looks good.I will try it sometime.
> We have used the jspTags pager for recordsets more
> than 2500 records(one time query) and it gets displayed in less
> than 2 seconds.Also it is very easy to use, you just
> need to encapsulate ur presentation logic with these tags.
>
> Anand
>
> -----Original Message-----
> From: Jenny [mailto:J_zhangca@yahoo.ca]
> Sent: Friday, September 13, 2002 7:18 PM
> To: Struts Users Mailing List
> Subject: Re: does struts has the functionality
>
>
> Anand:
>
> Thanks for your reply. This is an excellent link. I also got another link
> from Dave(in our group). The link URL is:
> http://edhill.its.uiowa.edu/display/. I am not sure if you knew that link.
> Both the link you provided and the above link are excellent. Now, I am not
> sure which one should I choose. I have large results sets. Does the
solution
> you provided me has performance issue? I appreciate your opinions on this.
>
> Thanks,
>
> Jenny
>
>
>
> ----- Original Message -----
> From: "Anand Belaguly" <anand@edgesoftinc.com>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Friday, September 13, 2002 4:42 PM
> Subject: RE: does struts has the functionality
>
>
> > This works pretty good.
> >
> > http://jsptags.com/tags/navigation/pager/
> >
> > Anand
> >
> > -----Original Message-----
> > From: jenny zhang [mailto:j_zhangca@yahoo.ca]
> > Sent: Friday, September 13, 2002 1:32 PM
> > To: Struts Users Mailing List
> > Subject: does struts has the functionality
> >
> >
> > Hi, there:
> >
> > Does struts has the functionality of supporting page
> > navigation? I have over 100 search results, I would
> > like display them inseperate pages(10 records/page).
> > In each page, I would like have previous, next button.
> > I am not sure if struts has the functionality. If you
> > know this, could you please share the info? I
> > appreciate your info.
> >
> > Thanks
> >
> >
> >
> >
> > ______________________________________________________________________
> > Post your free ad now! http://personals.yahoo.ca
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>
> ______________________________________________________________________
> Post your ad for free now! http://personals.yahoo.ca
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

______________________________________________________________________
Post your ad for free now! http://personals.yahoo.ca

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




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


Mime
View raw message