Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (34 sloc) 1.167 kb
21abc5b @klacke Initial revision
authored
1
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug…
authored
2 <erl>
21abc5b @klacke Initial revision
authored
3
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug…
authored
4 out(A) ->
20ece13 @klacke more css hackery
authored
5 {ssi, "TAB.inc", "%%",[{"form", "choosen"}]}.
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug…
authored
6
7 </erl>
21abc5b @klacke Initial revision
authored
8
9
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug…
authored
10 <div id="entry">
f448988 @klacke ""
authored
11 <h2>POST example </h2>
12
13 <p>This is a simple example where we get to fill in
14 a series of fields and POST the data by hitting the Submit button
15 at the end.
16 <p>
17 The action is set to the yaws file <tt>/post.yaws </tt> which
18 gets POSTed data in its <tt>ARG#arg.clidata</tt> field.
19
20
21abc5b @klacke Initial revision
authored
21 <form METHOD=POST
f448988 @klacke ""
authored
22 ACTION="/post.yaws"
21abc5b @klacke Initial revision
authored
23
f448988 @klacke ""
authored
24 This is a serious poll.
21abc5b @klacke Initial revision
authored
25
f448988 @klacke ""
authored
26 <p>Your favourite programming language? <input NAME="lang" TYPE=text SIZE="48">
21abc5b @klacke Initial revision
authored
27
f448988 @klacke ""
authored
28 <p>Imperative ? <input NAME="imperative" TYPE=checkbox>
21abc5b @klacke Initial revision
authored
29
f448988 @klacke ""
authored
30 How many tabs to you indent? <input NAME="tabs" TYPE=int>
21abc5b @klacke Initial revision
authored
31
f448988 @klacke ""
authored
32 <p>Which OS do you use?
21abc5b @klacke Initial revision
authored
33
34 <ol>
f448988 @klacke ""
authored
35 <li>Windows 95 pro ultra <input NAME="os1" TYPE=checkbox VALUE="w95">
36 <li>Windows XP beta cracked <input NAME="os2" TYPE=checkbox VALUE="xpbeta">
37 <li>Windows <input NAME="os3" TYPE=checkbox VALUE="windows">
38 <li>Other<input NAME="other" SIZE=40>
21abc5b @klacke Initial revision
authored
39 </ol>
40
f448988 @klacke ""
authored
41 Your email <input NAME="contact" SIZE="42">
21abc5b @klacke Initial revision
authored
42
ffee7fc @klacke some more debug support
authored
43 <p>Submit this POST to get an explanation of how to process the
44 POSTed data.
21abc5b @klacke Initial revision
authored
45
46 <p><input TYPE=submit> <input TYPE=reset>
47
48 </form>
bea8261 @klacke added log_wrap_size, configurable wrap size for all logs, fixed a bug…
authored
49
50 </div>
51
52
53
54 <erl>
55 out(A) -> {ssi, "END2",[],[]}.
56 </erl>
21abc5b @klacke Initial revision
authored
57
Something went wrong with that request. Please try again.