aspose file tools*
The moose likes Struts and the fly likes How to add Hyperlink in DisplayTag? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to add Hyperlink in DisplayTag?" Watch "How to add Hyperlink in DisplayTag?" New topic
Author

How to add Hyperlink in DisplayTag?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

Did you look at this??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

@Ankit Garg
Thanks Ankit for your reply..
sorry i couldn't found it before,,,

Thanks in advance...
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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

Joined: Aug 03, 2008
Posts: 9321
    
  17

Again I think you need to look at the docs...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add Hyperlink in DisplayTag?