Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to execute some Java code any time a user click on a link in a .page
joe_pat
Hi,
My requirement is like this..
In my .page when user clicks on a link he should download the image related to that link.
i tried before simply using href attribute of anchor tag. But problem is the image is opened in a new tab in the browser instead i have to force it to get a dialog box.
Is there any better way handling this requirement?
I have referenced web and found out that i should use a server side program to set the header content-type to some application instead of image .
So, Do i write a servlet for this ?
---------------------------------------------------
Env:
TS : 6.7.2 Latest path
LS:3.1
Using external components
----------------------------------------------------
Your inputs are very valuable to me.
Find more posts tagged with
Comments
vpatel
Your use case isn't too clear to me...
joe_pat
Your use case isn't too clear to me...
FYI...
I have attached the screen shot of our requirement. I have to achive that functionality. How to achieve that?
Thank You.