| Author |
How to add Hyperlink in DisplayTag?
|
Leonardo Carreira
Ranch Hand
Joined: Apr 07, 2009
Posts: 482
|
|
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
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
Did you look at this??
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Leonardo Carreira
Ranch Hand
Joined: Apr 07, 2009
Posts: 482
|
|
@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: 482
|
|
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
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
Again I think you need to look at the docs...
|
 |
 |
|
|
subject: How to add Hyperlink in DisplayTag?
|
|
|