- qpscanner/circuits/start/frm_config.cfm
- v0.7.5
- 1 KB
- 65
1<cfimport prefix="form" taglib="../../tags/form"/>
2
3<cfoutput>
4
5 <form:main action="#link(xfa.Scan)#" class="std typeA">
6
7 <form:hidden id="config" value="#Attributes.Config#"/>
8
9 <form:group>
10
11 <div class="col2 left">
12
13 <cfloop query="Setting">
14
15 <cfif CurrentRow-1 EQ RecordCount\2></div><div class="col2 right"></cfif>
16
17 <cfif (type NEQ 'text') >
18 <cfswitch expression="#ListFirst(type)#">
19 <cfcase value="boolean">
20 <form:select
21 id="#id#"
22 label="#label#"
23 options="true,false"
24 value="#value#"
25 hint="#hint#"
26 />
27 </cfcase>
28 <cfcase value="select">
29 <form:select
30 id="#id#"
31 label="#label#:"
32 options="#options#"
33 value="#value#"
34 hint="#hint#"
35 />
36 </cfcase>
37 </cfswitch>
38 <cfelse>
39 <form:edit
40 id="#id#"
41 label="#label#:"
42 value="#value#"
43 hint="#hint#"
44 />
45 </cfif>
46
47 </cfloop>
48
49 </div>
50
51 </form:group>
52
53 <form:controls>
54
55 <form:reset/>
56 <!---
57 <form:submit name="action" value="Save"/>
58 <form:submit name="action" value="Save & Scan"/>
59 --->
60 <form:submit name="action" value="Scan"/>
61
62 </form:controls>
63
64 </form:main>
65
66</cfoutput>