Re: Problem with POST requests

2016-09-27 Thread rapidtransit440
I will try that, thanks. I'll look into the redirect more, I can see why it is a bad idea. -Original Message- From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tue, Sep 27, 2016 10:12 am Subject: Re: Problem with POST requests On Tue, 27 Sep 2016 10:50:29 -0300,

Re: Problem with POST requests

2016-09-27 Thread Thiago H de Paula Figueiredo
response.sendRedirect(sb.toString()); } When the the Request is Posted it is looking for properties on the FacetFilter that are only relevant if it were to render an html result -Original Message- From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tue, Sep 27, 2016 9:1

Re: Problem with POST requests

2016-09-27 Thread rapidtransit440
.append('=').append(sort).append('&').append("direction").append('=').append(order.name()); } else { sb.deleteCharAt(sb.length() - 1); } response.sendRedirect(sb.toString()); } When the the Request is Posted it is looking

Re: Problem with POST requests

2016-09-27 Thread Lance Java
onActivate() will be invoked for GET and POST and even during link generation (I think). You shouldn't do any "work" in this method. Better yet, remove the method all together and use @PageActivationContext. If you have "work" needed for render only you should use @SetupRender On 27 Sep 2016 2:12

Re: Problem with POST requests

2016-09-27 Thread Thiago H de Paula Figueiredo
Hi! Could you please post the code of your component and the page? I'm having a hard time understanding your scenario from your description. Are you using a component or page as code that will upload something to ElasticSearch when it is requested but not sending any response back to the browser?