I started playing with opt-fop for use on an upcoming project and I had a
couple comments / questions I would like to ask. First I would like to thank
all those involved in producing opt-fop, I think is a very valuable tool.

>From my quick over of the source I notice that the content type is specified
based on the fop render type, however there doesn't seem to be any support
for setting a Content-Disposition header. I'm sure there are many cases
where the browser will automatically launch an app for the given content
type, however for my use I need the browser to prompt the user to "save" the
file with a suggested filename. Currently on browsers that don't have a
handler for the supplied content type the file is saved as the name of the
command executed, 'friendsPdf.m' in the case of the friendbook-fop example.

Is there need by others to do the same thing? If so how should it be
handled? I was thinking that we could supply a param to the transform with a
filename keyword, or possibly adding an attribute to the transform tag for
the filename. What about dynamically producing the filename in the
controller; how could this be handled cleanly?


-- 
Mike Moulton
[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/

Reply via email to