root/trunk/examples/templates/example_parser_ns_handler.fhtml

Revision 117, 1.2 kB (checked in by argh, 4 years ago)

Massive update of the examples collection; added the patExampleGen examples framework; commented all examples; reworked all the templates...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <!--
2     The custom namespace tags do not work everywhere yet - we still
3     have to adapt the parser to take this into account. In this example,
4     I have moved the form tag so that the <hero:getPageName/> tag is
5     outside of it. Inside nothing will happen yet.
6 -->
7 <div class="piFrame">
8     <div class="piTitle"><hero:getPageName/></div>
9     <div class="piContent">
10         <div class="piAbstract">
11             Select your favourite superheroes here.
12         </div>
13        
14         <patForms:Form name="foo">
15         <table border="0" cellpadding="2" cellspacing="0">
16             <tr>
17                 <td>DC-Heroes</td>
18                 <td>
19                     <patForms:Enum name="heroDC" required="yes" label="DC-Heroes">
20                         <patForms:Datasource type="custom">
21                             <hero:getDatasource id="DC"/>
22                         </patForms:Datasource>
23                     </patForms:Enum>
24                 </td>
25             </tr>
26             <tr>
27                 <td>Marvel-Heroes</td>
28                 <td>
29                     <patForms:RadioGroup name="heroMarvel" required="yes" label="Marvel-Heroes" clicklabel="yes">
30                         <patForms:Datasource type="custom">
31                             <hero:getDatasource id="Marvel"/>
32                         </patForms:Datasource>
33                     </patForms:RadioGroup>
34                 </td>
35             </tr>
36         </table>
37     </div>
38 </div>
39
40 <input type="submit" name="save" value="Save" accesskey="S" />
41
42 </patForms:Form>
Note: See TracBrowser for help on using the browser.