struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Deep" <vd...@ygconsultants.com>
Subject Display tag : how to format the page number, Please help
Date Sun, 17 Aug 2008 04:57:39 GMT
Hello to all
 
I am using the display tag to show the employee data , it showing the
page banner in the following style.
"25 items found, displaying 1 to 10 [first] [previous] 1 2 3
[next][last]"
 
I want give it a look of google page banner or any aother type as we see
in the many sites.
For the I modified the displaytag.properties file and include the
following .
 
paging.banner.full=<div class="pagelinks" align="right"><a href={1}><img
src=" images/first.gif"></a><a href={2}><img src="
images/prev.gif"></a>{0}<a href={3}><img src=" images/next.gif"></a><a
href={4}><img src=" images/last.gif"></a></div>
 
paging.banner.first=<div class="pagelinks" align="right"><a
href={1}><img 
   src="images/first.gif"></a><a href={2}><img
src="images/previous.gif"></a> {0}
   <a href={3}><img src="static/images/next.gif"></a><a href={4}><img

src="images/last.gif"></a></div>
 
paging.banner.last=<div class="pagelinks" align="right"><a href={1}><img
   src="images/first.gif"></a><a href={2}><img
src="images/previous.gif"></a> {0} 
   <a href={3}><img src="images/next.gif"></a><a href={4}><img

src="images/last.gif"></a></div>
export.banner=<div class="pagelinks" align="right">{0}</div>
 
please help me
 
thanks in advance
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message