on 12-16-2010 10:29 AM
Hi,
in our application there is an iframe which displays different pdf depending of the situation. As source we use URLs.
If the user want to save the pdf within the iframe it suggest always a default name. Is it possible that it suggest a specific name for each pdf? I can't find any attributes to deliver a desired name. Or maybe an iFrame is the wrong ui element for this demand?
Thanks, regards
Susanne
Hi Susanne
You can append time ahead of the pdf, so that name of pdf would never be same.
code would be like this -
java.util.Calendar calendar = java.util.Calendar.getInstance();
String currentTimeInLong = "" + calendar.getTimeInMillis();
and append this string ahead of your pdf. You can give a try.
Regards,
Sen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.