1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Common/Candidate/Resources/candidate_template.xhtml Fri Sep 30 22:54:17 2005 +0000
1.3 @@ -0,0 +1,114 @@
1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
1.6 + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1.7 +<html xmlns="http://www.w3.org/1999/xhtml"
1.8 + xmlns:template="http://www.boddie.org.uk/ns/xmltools/template">
1.9 +<head>
1.10 + <title>Candidate</title>
1.11 +</head>
1.12 +<body template:element="candidate">
1.13 +<form action="" method="POST">
1.14 +
1.15 +<h1>Candidate Details</h1>
1.16 +
1.17 +<table border="0" cellspacing="0" cellpadding="5">
1.18 + <tbody>
1.19 + <tr>
1.20 + <th colspan="2">General</th>
1.21 + </tr>
1.22 + <tr template:element="identity">
1.23 + <th>Name</th>
1.24 + <td>
1.25 + <input template:attribute-field="name" type="text" />
1.26 + </td>
1.27 + </tr>
1.28 + <tr>
1.29 + <th>Work status</th>
1.30 + <td>
1.31 + <select template:multiple-choice-field="status,value">
1.32 + <option template:multiple-choice-value="status-enum,value,selected"/>
1.33 + </select>
1.34 + </td>
1.35 + </tr>
1.36 + <tr>
1.37 + <th colspan="2">Skills</th>
1.38 + </tr>
1.39 + <tr template:element="skills,skill">
1.40 + <th>Skill</th>
1.41 + <td>
1.42 + <input template:attribute-field="value" type="text" />
1.43 + <input template:selector-field="remove" type="submit" value="Remove" />
1.44 + </td>
1.45 + </tr>
1.46 + <tr>
1.47 + <th></th>
1.48 + <td>
1.49 + <input template:selector-field="add-skill" type="submit" value="Add" />
1.50 + </td>
1.51 + </tr>
1.52 + <tr>
1.53 + <th colspan="2">Qualifications</th>
1.54 + </tr>
1.55 + </tbody>
1.56 + <tbody template:element="qualifications,qualification">
1.57 + <tr>
1.58 + <th>Course/Diploma/Title</th>
1.59 + <td>
1.60 + <input template:attribute-field="title" type="text" />
1.61 + <input template:selector-field="remove" type="submit" value="Remove" />
1.62 + </td>
1.63 + </tr>
1.64 + <tr>
1.65 + <th>Grade/Level/Class</th>
1.66 + <td>
1.67 + <input template:attribute-field="grade" type="text" />
1.68 + </td>
1.69 + </tr>
1.70 + <tr>
1.71 + <th>Institution</th>
1.72 + <td>
1.73 + <input template:attribute-field="institution" type="text" />
1.74 + </td>
1.75 + </tr>
1.76 + </tbody>
1.77 + <tbody>
1.78 + <tr>
1.79 + <th></th>
1.80 + <td>
1.81 + <input template:selector-field="add-qualification" type="submit" value="Add" />
1.82 + </td>
1.83 + </tr>
1.84 + </tbody>
1.85 + <tbody>
1.86 + <tr>
1.87 + <th colspan="2">Experience</th>
1.88 + </tr>
1.89 + </tbody>
1.90 + <tbody template:element="experience,employment">
1.91 + <tr>
1.92 + <th>Employment</th>
1.93 + <td>
1.94 + From <input template:attribute-field="from" type="text" />
1.95 + to <input template:attribute-field="to" type="text" />
1.96 + <input template:selector-field="remove" type="submit" value="Remove" />
1.97 + </td>
1.98 + </tr>
1.99 + <tr>
1.100 + <th>Employer</th>
1.101 + <td>
1.102 + <input template:attribute-field="employer" type="text" />
1.103 + </td>
1.104 + </tr>
1.105 + </tbody>
1.106 + <tbody>
1.107 + <tr>
1.108 + <th></th>
1.109 + <td>
1.110 + <input template:selector-field="add-employment" type="submit" value="Add" />
1.111 + </td>
1.112 + </tr>
1.113 +</table>
1.114 +
1.115 +</form>
1.116 +</body>
1.117 +</html>