Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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