aspose file tools*
The moose likes Other Open Source Projects and the fly likes Display tag in JSP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Display tag in JSP." Watch "Display tag in JSP." New topic
Author

Display tag in JSP.

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278

Hi
I am using display tag library in my JSP page to display a table.

My question is:
1.How can i contol the text displayed on the bottom of page that has page - Info.

For eg:
Now i can see '4 items found, displaying all items.1' and i want to make it '4 records found.Displaying page 1 out of 10'.
I tried googling but could not find a way to change this banner-text.

2. Another question is i want to create a separate column using display tags in table
this column is not tied to any property in my Pojo. Its an additional column that contains edit link or images links and i want to use decorator
for this link as i have to pass multiple parameters but since it doesnt have any property/attribute corresponing in pojo, how should i tie it to decorator method.
I understand i should use Column Decorator here and extend 'TableDecorator' class.

Thanks







abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
Hi,
I would suggest better you create your own display tag and customize it what you want.
poorvika chanda
Greenhorn

Joined: Oct 31, 2011
Posts: 13
display tag is just open code.find out which class is responsible for the displaying

Now i can see '4 items found, displaying all items.1' and i want to make it '4 records found.Displaying page 1 out of 10'.


modify the class..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display tag in JSP.