File: TextFieldPage.html

package info (click to toggle)
amrita 1.0.2-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,884 kB
  • ctags: 1,362
  • sloc: ruby: 9,159; xml: 978; makefile: 110
file content (35 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<CGIKIT NAME=HeaderFooter>

<p><strong>Elements:</strong> CKForm, CKTextField</p>

<p>
This is a sample for CKForm and CKTextField.<br>
Request data from form will be binded to instance variable of component automatically.<br>
</p>

<p>
CKTextField has 3 types of text field.
These are "Text Field", "Password" and "Hidden".
You can select one of types with "type" attribute.
</p>
<br>

<p><strong>Example:</strong></p>

<CGIKIT NAME=Form>
Text Field: <CGIKIT NAME=TextField></CGIKIT><br>
Password: <CGIKIT NAME=Password></CGIKIT><br>
Hidden(Can't show, see html source): <CGIKIT NAME=Hidden></CGIKIT><br><br>

<CGIKIT NAME=Submit></CGIKIT>
</CGIKIT>
<br>

<p><strong>Result:</strong></p>
<CGIKIT NAME=Result>
Text Field: <span id=value1></span><br>
Password: <span id=value2></span><br>
Hidden: <span id=value3></span><br>
</CGIKIT>

</CGIKIT>