I think that is a post method in this case, but can't make it work (yet).
2010/5/29 Schwab,Wilhelm K bschwab@anest.ufl.edu:
It's been a long time, but won't the button cause the browser to send a post or get (whichever action is specified in the form) to the server? It might be enough to decide the content of that and send it over the socket. I am probably thinking in CGI terms, which might not be what you need.
From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Saturday, May 29, 2010 4:14 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Using WebClient
if you get answers from squeak-dev let us know.
Stef
On May 29, 2010, at 10:02 PM, Germán Arduino wrote:
Hi:
I'm trying to automate some operations on a web page that requires authentication.
I managed to arrive to the form that I need to process, authenticated without problems.
But I can't figure out how to process the button (is a button of this type:
<input class="lButton" style="" name="submit_search" value="Create File" type="submit"> ) to execute the Create File action.
The form have two dates (that I can calculate and fill in) but I can't to imagine how to process the submit button programmatically.
Any hint will be appreciated.
Cheers.
--
Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Talking of post method, I tried to capture it with Firebug to understand what data post with WebClient, but no way until now.
Exist some trick to obtain the exact content of the data to post only debuggin the web page?
Cheers.
2010/5/29 Germán Arduino garduino@gmail.com:
I think that is a post method in this case, but can't make it work (yet).
2010/5/29 Schwab,Wilhelm K bschwab@anest.ufl.edu:
It's been a long time, but won't the button cause the browser to send a post or get (whichever action is specified in the form) to the server? It might be enough to decide the content of that and send it over the socket. I am probably thinking in CGI terms, which might not be what you need.
From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Saturday, May 29, 2010 4:14 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Using WebClient
if you get answers from squeak-dev let us know.
Stef
On May 29, 2010, at 10:02 PM, Germán Arduino wrote:
Hi:
I'm trying to automate some operations on a web page that requires authentication.
I managed to arrive to the form that I need to process, authenticated without problems.
But I can't figure out how to process the button (is a button of this type:
<input class="lButton" style="" name="submit_search" value="Create File" type="submit"> ) to execute the Create File action.
The form have two dates (that I can calculate and fill in) but I can't to imagine how to process the submit button programmatically.
Any hint will be appreciated.
Cheers.
--
Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================
squeak-dev@lists.squeakfoundation.org