root/trunk/examples/templates/example_parser_simple.fhtml

Revision 299, 1.1 kB (checked in by schst, 3 years ago)

Allow several elements with the same name to be set in the form definitions (required by the parser, fixes bug #178),
Fixed bug in HTML attributes parser, fixed bug in HTML parser when using elements with the same name (as radio buttons)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <patForms:Form name="foo">
2
3 <div class="piFrame">
4     <div class="piTitle">Login</div>
5     <div class="piContent">
6        
7         <div class="piAbstract">
8             Please provide your credentials here to log into your personal patForms example
9             collection.
10         </div>
11        
12         <table border="0" cellpadding="2" cellspacing="0">
13             <tr>
14                 <td>Username*</td>
15                 <td>
16                     <table cellpadding="0" cellspacing="0" border="0">
17                         <tr>
18                             <td><patForms:String name="username" required="yes" description="Please enter your name here" size="8" maxlength="8" accesskey="U" /></td>
19                             <td>&nbsp;Password*&nbsp;</td>
20                             <td><patForms:String name="password" type="password" required="yes" size="6" maxlength="6" accesskey="P" /></td>
21                             <td>&nbsp;Age*&nbsp;</td>
22                             <td><patForms:String name="age" required="yes" size="2" accesskey="A" /></td>
23                         </tr>
24                     </table>
25                 </td>
26             </tr>
27             <tr>
28                 <td>Comments</td>
29                 <td colspan="7"><patForms:Text name="comments" required="no" cols="68" rows="3" accesskey="C" /></td>
30             </tr>
31         </table>
32     </div>
33 </div>
34
35 <input type="submit" name="save" value="Save" accesskey="S" />
36
37 </patForms:Form>
Note: See TracBrowser for help on using the browser.