Thanks, I see it now. Yeah, I think it is not my code, because i tried
using the LinkSubmit control, exactly as you did and I am still getting the
same 302 error.
Ok, i'll try to debug my post headers. thanks for the responses!
--
View this message in context:
http://tapestry.1045711.n5.nab
Doh I guess my email program doesn't looks like it doesn't like this tag:
--a t:id="link"--CSV--/a--
just replace the "--" with > and < as appropriate.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-tp4759347p47633
Sorry hese:
The missing tml is just simply:
CSV
Yeah I don't think it's your code -- i just prefer annotations over
convention. You could try something like
https://addons.mozilla.org/en-US/firefox/addon/tamper-data/ for your browser
you will be able to follow the each request/response -- p
I just see the string "CSV" within no link or anything else within it.
The different in the java class between yours and mine is you've used
@OnEvent and captured submit, and I've used onSuccess()...i tried changing
it to your style, but still i get the 302 Moved Temporarily error.
Not able to
CSV
Sorry had some formatting issues, this is the tml missing in my [revious
post. Just a simple link.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-tp4759347p4760327.html
Sent from the Tapestry - User mailing list arc
sorry, had some weird formatting issue, here is whats between the li:
csv
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-tp4759347p4760322.html
Sent from the Tapestry - User mailing list archive a
Sure:
CSV
@SuppressWarnings("unused")
@Component(parameters = {"event=clicky", "defer=false"})
private LinkSubmit link;
@OnEvent(value="submit")
Object
Thanks, I tried that and now the content length in the return headers shows
the file size, but still I get the '302 Moved Temporarily' error :(
Can u show me a sample of your tml file? Wonder if i am doing anything wrong
there.
Here is mine:
Upload URL File
(Pl
I don't know about the weird response code but...your stream response code
looks pretty much the same as mine except I set the content length ie:
arg0.setContentLength(getStream.available());
in your prepareResponse method
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/
These are the response headers of the POST...seeing 302 Moved status. Any
idea why this is happening?
HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Content-Disposition: attachment; filename=test1.txt_scored.csv
Location: http://localhost:8080/urlanalysis
Content-Type: text/csv;charse
10 matches
Mail list logo