Hi all. I'm totally new to Tapestry and would like someone to shed some light
on what's happening:

I'm sending POST via https and would like some handler (like a page without
actual template) to handle this request and redirect/propagate to
appropriate pages (they are valid and renders just fine) based on given
parameters. 
In tml :
var params='par1=1&par2=2';
 httpRequester.open("POST", url + "/myPostHandler", true);
    httpReq.setRequestHeader("Content-type",
"application/x-www-form-urlencoded");
    httpReq.setRequestHeader("Content-length", params.length);
    httpReq.setRequestHeader("Connection", "close");
    httpReq.send(params);

In @Secure myPostHandler (just java, with no tml dedicated): Object
onActivate():

if(par1 = 1) {
   return Par1Page.class;
} ... so on

Problem is that I can't get Par1Page rendered at all. I'm inspecting some of
its components (renderSetup()) and see that method is invoked end executed
after redirection. No exceptions. Just doesn't work.

I suspect that it is a lack of tapestry under the hood knowledge, but could
you please answer what's going wrong?

Probably, there are some other solutions/practices that do the same, please
suggest then.

Thank you very much for support!


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Page-isn-t-rendered-after-redirect-from-onActivate-tp4839753p4839753.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to