Hi Hussain,
You have 3 options.
1. Create a displaytag.properties in your classpath (Wihin your classes
folder) and add this entry
paging.banner.some_items_found=<span class="pagebanner">{0} Oanges found,
displaying {2} to {3}.</span>
2. Open the exisiting displaytag.library. Go to the path
org.displaytag.properties. There you find displaytag.properties. Add the
above entry there.
3. Set it at a page level. Within your <display:column> <display:setProperty
....>
I am not sure about the third one. You can give a try
There might be a better solution . but i am aware of these two and it works
for me.
2009/11/3 <mohd.huss...@polaris.co.in>
>
> HI.
>
> I am using display tag version 1.1, wanted to know if there is any way that
> i can customize the message we get on the top of item list ..?
>
> example:
> Default behavior: "42 items found, displaying 1 to 15.[First/Prev] *1*, *2
> *<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=2&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>,
> *3*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=3&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>[
> *Next*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=2&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>
> /*Last*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=3&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>]
> "
>
> I Want to Customize it to: "42 Orange found, displaying 1 to
> 15.[First/Prev] *1*,
> *2*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=2&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>,
> *3*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=3&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>[
> *Next*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=2&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>
> /*Last*<https://c11946:7612/catstradeWeb/catsls/dtOrdDetails.do?org.apache.struts.taglib.html.TOKEN=f9aa0c98c83deee75ad2c1898fb398bc&%7BactionForm.fromdateStr%7D=&%7BactionForm.exeStatus%7D=Y&d-49653-p=3&%7BactionForm.todateStr%7D=&%7BactionForm.secCode%7D=>]
> "
>
> Regards,
> Hussain.
>
> This e-Mail may contain proprietary and confidential information and is sent
> for the intended recipient(s) only. If by an addressing or transmission
> error this mail has been misdirected to you, you are requested to delete this
> mail immediately. You are also hereby notified that any use, any form of
> reproduction, dissemination, copying, disclosure, modification, distribution
> and/or publication of this e-mail message, contents or its attachment other
> than by its intended recipient/s is strictly prohibited.
>
> Visit us at http://www.polaris.co.in
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user