On Sat, 17 Dec 2016 15:29:24 +0100, Sven Van Caekenberghe <s...@stfx.eu> wrote:

Do want to build/use a REST API or do you want to build a simple web app


I want to have a small web app that is basically using to teapot to listen and serve


I thought you wanted to do the first.

No because teapot is doing and your section 11 is indeed that.


The second is easy too, ZnDefaultServerDelegate>>#formTest1: #formTest2: #formTest3: are doing that (in a single handler, generating the page, using the submitted info as well.

Ok I will have a look

Tx sven.

Stef

On 17 Dec 2016, at 15:13, stepharong <stephar...@free.fr> wrote:

Ok I read it but I do not understand how I should do it ;(

With teapot or Zinc I want to be able to serve an html string (containing a form probably with a submit button) that will let the user to pass some data and that the server can access this data and invoke a method.

I want to get the same behavior than textInput in seaside

My user has only one web browser.
May be this is obvious in the chapter but I do not see it.

Stef



--
Using Opera's mail client: http://www.opera.com/mail/

Reply via email to