Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add Hyperlink in DisplayTag?

 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends.. :0

i've a problem adding hyperlink in DisplayTag..
i want to add 2 kind of Hyperlink, Both of them are Edit and Delete..
if the user click on Edit Link then that link refers to 'edit.action?id=n'
Otherwise,if the user click on Delete Link then that link refers to 'delete.action?id=n'
the 'n' value for id is dynamically depend on what id refers to current row..

Thanks in advance..
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look at this??
 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Ankit Garg
Thanks Ankit for your reply..
sorry i couldn't found it before,,,

Thanks in advance...
 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry i missed one question..

As we know that displaytag support paging..
but i've a doubt question..
so far i used paging on displaytag by using 'value of Lisf of Objects' in the session..
it's mean that i selected all of entities in the database and then i set that list of objects to session..
will it got problem when the entities in database around million?..
is there any another way?..

Thanks in advance..
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again I think you need to look at the docs...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic