|
Re: Emitter file extension [message #546980 is a reply to message #546827] |
Wed, 14 July 2010 19:20 |
|
Did you add an extension setting to the viewer.properties file in the
viewer?
# [EXTENSION SETTING]
viewer.extension.html=html
viewer.extension.pdf=pdf
viewer.extension.postscript=ps
viewer.extension.doc=doc
viewer.extension.xls=xls
viewer.extension.ppt=ppt
Jason
On 7/14/2010 7:17 AM, moloco wrote:
> Hi all. Sorry for my bad EN_en
> I made new emitter for ancient DBF format. I duplicate "cvs/xml
> examples" emitter "initialize()" method, change format to "dbf" and
> mimeType to "application/dbase" , but when i try to get report, i
> receive file without extension ".dbf"
>
> when i'm debug project, i see in "initialize()"
> Object value = service.getOption(RenderOption.OUTPUT_STREAM) and value
> is CoyoteOutputStream with header "filename=nameWithoutExtension"
>
> What i do wrong?
|
|
|
Powered by
FUDForum. Page generated in 0.03014 seconds