aspose file tools*
The moose likes Struts and the fly likes How to show image link using display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to show image link using display tag" Watch "How to show image link using display tag" New topic
Author

How to show image link using display tag

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
Hi All,

Can somebody give me the code to show a image link(showing image in a link) in display tag.


Thanks in Advance,
Kousik
Purohit Punam
Greenhorn

Joined: Oct 06, 2008
Posts: 13
please post some detailed question. you want image to be displayed as link?, or in a text link you want to put image?


Thanks,
Purohit Punam
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
The first one.

I want the image to be displayed as a link and clicking the link a javascript function will be called.

Hope it is clear now.
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
Anyway....got the answer.


<display:column href="a.do" title="EDIT" ><html:image src="images/editPen.gif"/></display:column>
 
Don't get me started about those stupid light bulbs.
 
subject: How to show image link using display tag