| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- |
| * Employee template |
| * |
| * @author <a href="mailto:antonio@apache.org>Antonio Gallardo</a> |
| * @version CVS $Revision: 1.3 $ $Date: 2004/04/02 11:08:54 $ |
| --> |
| <document xmlns:ft="http://apache.org/cocoon/forms/1.0#template" |
| xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"> |
| <header> |
| <title>JFlow example</title> |
| <tab title="back" href="."/> |
| </header> |
| <body> |
| <row> |
| <column title="OJB example"> |
| <ft:form-template action="#{$continuation/id}.cont" method="POST"> |
| <fi:group> |
| <fi:styling type="fieldset" layout="columns"/> |
| <fi:label>Employee</fi:label> |
| <fi:items> |
| <ft:widget id="name"/> |
| <ft:widget id="department_id"/> |
| </fi:items> |
| </fi:group> |
| <input type="submit"/> |
| </ft:form-template> |
| </column> |
| </row> |
| </body> |
| </document> |