<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 3:13 PM, Philippe Marschall <span dir="ltr"><<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2010/4/6 John McKeon <<a href="mailto:p3anoman@gmail.com">p3anoman@gmail.com</a>>:<br>
<div class="im">> I have an application that uses a custom IE plugin (VisualWorks). On the<br>
> page with the plugin, I render a form with hidden inputs each having a<br>
> callback action that gets performed by the plugin. I feed the callback<br>
> parameters to the plugin in its params and it uses these to send a POST back<br>
> to the server with the necessary data and _s and _k parameters.<br>
> The callbacks get called correctly but I cannot figure out what I need to do<br>
> in the callback methods to get the component to re-render. Is there a way to<br>
> do this? The browser status bar indicates that the "POST was redirected by<br>
> the server". Trying to use call: or inform: does nothing. This is a 2.8<br>
> application.<br>
<br>
</div>You shouldn't really have to do anything. Seaside should send a<br>
response with an empty body that contains the URL of the rendered<br>
result in a Location header. The browser should then issue a GET<br>
request to this page.<br>
<br>
The communication should look something like this:<br>
<br>
Browser: POST<br>
Seaside: -> see render page (302)<br>
Browser: GET<br>
Seaside: rendered page<br>
<br></blockquote><div>Thank you for that info Phillipe. That is exactly what I needed. I realized that I would probably need to perform a GET somewhere, this tells me exactly how to figure out what it is I need to send back in my GET request. Because it is the plugin that retrieves the initial response it doesn't work as automagically as the browser which is why nothing happens after my initial POST. </div>
<div>Thanks again.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Cheers<br>
Philippe<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>