Re: problem showing pdf as text/plain with resourcereader

2009-12-29 Thread joao tiago a. m. viegas
oh thank you, but I'm not, if you'd read the message till the end you'd see there's: and if in the javascript function i change the function invocation for cocoon.processPipelineTo(pagesave,null,nullos); i get processPipelineTo is not a function 2009/12/28 Dominic Mitchell

Re: problem showing pdf as text/plain with resourcereader

2009-12-29 Thread Dominic Mitchell
On Tue, Dec 29, 2009 at 10:16 AM, joao tiago a. m. viegas jtvie...@gmail.com wrote: oh thank you, but I'm not, if you'd read the message till the end you'd see there's: and if in the javascript function i change the function invocation for cocoon.processPipelineTo(pagesave,null,nullos); i

Re: problem showing pdf as text/plain with resourcereader

2009-12-28 Thread Dominic Mitchell
On Thu, Dec 24, 2009 at 7:20 AM, joao tiago a. m. viegas jtvie...@gmail.com wrote: i want to wish everybody an Happy Christmas and an Astounding Happy New Year. in the meantime, somewhere in the lower left corner of Europe, in a cocoon 2.1, i'm still on the flowscript issue and i can't

Re: problem showing pdf as text/plain with resourcereader

2009-12-24 Thread joao tiago a. m. viegas
Hello everyone, i want to wish everybody an Happy Christmas and an Astounding Happy New Year. in the meantime, somewhere in the lower left corner of Europe, in a cocoon 2.1, i'm still on the flowscript issue and i can't figure out what is wrong with my code: - i have this block inside the

Re: problem showing pdf as text/plain with resourcereader

2009-10-20 Thread joao tiago a. m. viegas
Thank you very much Jasha, that explains some questions i've had. But can't i do a redirection within my serializer implementer code, or it just ends in there and no more processing is done in the pipeline? com os melhores cumprimentos joão tiago viegas 2009/10/20 Jasha Joachimsthal

Re: problem showing pdf as text/plain with resourcereader

2009-10-20 Thread joao tiago a. m. viegas
thank you Jasha, i did never use it but i'll have a go with flowscript, i'll read the docs and say something later. I presume i have to change the xsp file, right? com os melhores cumprimentos joão tiago viegas 2009/10/20 Jasha Joachimsthal j.joachimst...@onehippo.com You could solve it

Re: problem showing pdf as text/plain with resourcereader

2009-10-20 Thread Jasha Joachimsthal
You don't have to use XSP if you use flowscript for your logic. I've never used XSP because it has been a bit outdated for a while but some people still like using it. Jasha 2009/10/20 joao tiago a. m. viegas jtvie...@gmail.com thank you Jasha, i did never use it but i'll have a go with

Re: problem showing pdf as text/plain with resourcereader

2009-10-20 Thread joao tiago a. m. viegas
...err...wait, but thinking about it, alll i have to do is to embed the javascript and use the cocoon object in the request invocation, right? com os melhores cumprimentos joão tiago viegas 2009/10/20 Jasha Joachimsthal j.joachimst...@onehippo.com You don't have to use XSP if you use

Re: problem showing pdf as text/plain with resourcereader

2009-10-20 Thread Jasha Joachimsthal
Yes there won't be much logic involved. See http://cocoon.apache.org/2.1/userdocs/flow/index.html for more info about flow. 2009/10/20 joao tiago a. m. viegas jtvie...@gmail.com ...err...wait, but thinking about it, alll i have to do is to embed the javascript and use the cocoon object in

Re: problem showing pdf as text/plain with resourcereader

2009-10-19 Thread joao tiago a. m. viegas
Thank you very much Alexander, i've discovered with LiveHTTPHeaders addon that the content-length is = 0 !!! the pipeline section is this: map:act type=invoice-save-action map:select type=parameter map:parameter

Re: problem showing pdf as text/plain with resourcereader

2009-10-18 Thread Alexander Daniel
On 17.10.2009, at 10:34, joao tiago a. m. viegas wrote: Hello everyone, i'm having this problem where i want to read static pdf files in the server and supply them to the browser for being read by the acrobat pdf plugin. The plugin always complains about it being a text/plain file. I'm

problem showing pdf as text/plain with resourcereader

2009-10-17 Thread joao tiago a. m. viegas
Hello everyone, i'm having this problem where i want to read static pdf files in the server and supply them to the browser for being read by the acrobat pdf plugin. The plugin always complains about it being a text/plain file. I'm using the default resource reader and specifying the mime-type,