Hi rootbeer,It has been a long time since I did this. I am attaching my whole displaytag.properties. I believe what you need is in the paging.banner.X properties.
Good luck.
root beer wrote:
Thanks rootbeer, whats on the website http://licmax.com/manageProds.html is great. Did you use displaytag.properties or the set tags. Did you use the configuration attributes as the example below Or some other way?paging.banner.full= <div class="pagelinks" align="right"> <a href={1}>|<<</a> <a href={2}> <<</a> <span> {0} </span> <a href={3}>>> </a> <a href={4}>>>|</a> </div> thanks.2010/7/12 Ibrahim Mustafa <[email protected] <mailto:[email protected]>>Yes it is possible. I did it for my site. Here is the css for what I have. I hope this helps: .dt_img { border: 0; vertical-align: text-top; margin-left: 0px; margin-top: -1px; } .dt_npls { vertical-align: top; } .dt_page_link_span { margin-left: 0.25em; margin-right: 0.25em; text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 95%; font-weight: bold; color: #0077C0; background-color: #F0F0F0; background-color: #FBFFDB; display: inline; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; border: #E36C09 1px solid; text-align: center; } .dt_page_link_span:hover { color: #F76120; background-color: #C4E542; } .dt_page_link_selected_span { margin-left: 0.25em; margin-right: 0.25em; text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 95%; font-weight: bolder; color: #E8681D; color: #E76F00; color: #F76120; background-color: #ACBACC; display: inline; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; border: #E36C09 1px solid; background-color: #FBFFDB; background-color: #C4E542; } If you want to see it in action, login to licmax.com <http://licmax.com> as aa/aa and watch the licenses in use. There you'd see the effect of my css. Good luck. root beer wrote:To anyone, Can anyone tell me if this can be done? I want to style theindividual paging number following from <<Prev 1, 2, 3, 4, 5 Next>> to[<<Prev] [1] [2] [3] [4] [Next>>] where the individual numbers 1, 2, 3 etc... has its own style as background-color:#FFFFFF;border:1px solid #CBCBCB;padding:2px 6px;text-decoration:none; ------------------------------------------------------------------------ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first <http://sprint.com/first> -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------ _______________________________________________ displaytag-user mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/displaytag-user------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first <http://sprint.com/first> -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ displaytag-user mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------ _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user
#
# $Id: displaytag.properties 1139 2010-02-16 20:57:39Z imustafa $
#
paging.banner.group_size=10
paging.banner.placement=top
sort.amount=page
basic.empty.showtable=true
basic.msg.empty_list=0 items to show
export.amount=list
export.decorated=true
# factory classes for extensions
factory.requestHelper=org.displaytag.util.DefaultRequestHelperFactory
# factory class for decorators
factory.decorator=org.displaytag.decorator.DefaultDecoratorFactory
# locale provider (Jstl provider by default)
locale.provider=org.displaytag.localization.I18nJstlAdapter
export.types=csv excel xml pdf
export.banner=<div class="exportlinks">Export {0}</div>
export.banner.sepchar=::
export.csv=true
export.csv.class=org.displaytag.export.CsvView
export.csv.label=<span class="csv">CSV</span>
export.csv.include_header=true
export.csv.filename=
export.excel=true
export.excel.class=org.displaytag.export.ExcelView
export.excel.label=<span class="excel">EXCEL</span>
export.excel.include_header=true
export.excel.filename=
export.xml=true
export.xml.class=org.displaytag.export.XmlView
export.xml.label=<span class="xml">XML</span>
export.xml.include_header=true
export.xml.filename=
export.pdf=true
export.pdf.class=org.displaytag.export.PdfView
export.pdf.label=<span class="pdf">PDF</span>
export.pdf.include_header=true
export.pdf.filename=
export.rtf=false
export.rtf.label=<span class="rtf">RTF</span>
export.rtf.include_header=true
export.rtf.filename=
paging.banner.no_items_found=<span class="pagebanner">0 {0} found.</span>
paging.banner.one_item_found=<span class="pagebanner">One {0} found.</span>
paging.banner.all_items_found=<span class="pagebanner">{0} {1} found,
displaying all {2}.</span>
paging.banner.some_items_found=<span class="pagebanner">{0} {1} found,
displaying {2} to {3}.</span>
#paging.banner.full=<span class="pagelinks">[<a href="{1}">First</a> <a
href="{2}">Prev</a>] {0} [<a href="{3}">Next</a> <a href="{4}">Last</a>]</span>
export.banner=<div class="exportlinks" align="left">{0}</div>
paging.banner.full=<div class="dt_npls" align="left"><a href={1}><img
class="dt_img" src="images/arrow_first.gif"/></a><a href={2}><img
class="dt_img" src="images/arrow_previous.gif" style="margin-left: -5px;"/></a>
<span class="dt_npls">{0}</span><a href={3}><img class="dt_img"
src="images/arrow_next.gif"/></a><a href={4}><img class="dt_img"
src="images/arrow_last.gif" style="margin-left: -5px;"/></a></div>
paging.banner.first=<span class="dt_npls"><img class="dt_img"
src="images/arrow_first.gif"/> <img class="dt_img"
src="images/arrow_previous.gif" style="margin-left: -5px;"/><span
class="dt_npls">{0}</span> <a href="{3}"><img class="dt_img"
src="images/arrow_next.gif"/></a> <a href="{4}"><img class="dt_img"
src="images/arrow_last.gif" style="margin-left: -5px;"/></a></span>
paging.banner.last=<span class="dt_npls"><a href="{1}"><img class="dt_img"
src="images/arrow_first.gif"/></a> <a href="{2}"><img class="dt_img"
src="images/arrow_previous.gif" style="margin-left: -5px;"/></a> <span
class="dt_npls">{0}</span> <img class="dt_img" src="images/arrow_next.gif"/>
<img class="dt_img" src="images/arrow_last.gif" style="margin-left:
-5px;"/></span>
#paging.banner.onepage=<span class="dt_npls">{0}</span>
paging.banner.onepage=
###paging.banner.full=<div class="pagelinks" align="right"><a href={1}><img
src="images/first.gif"></a><a href={2}><img
src="images/arrow_previous.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/arrow_previous.gif"></a> {0} <a href={3}><img
src="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/arrow_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>
paging.banner.page.selected=<strong><span
class="dt_page_link_selected_span">{0}</span></strong>
paging.banner.page.link=<a href="{1}" title="Go to page {0}"><span
class="dt_page_link_span">{0}</span></a>
paging.banner.page.separator=
<<attachment: ibrmustafa.vcf>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

