File: AddVehicle.jsp

package info (click to toggle)
netbeans-ide 6.0.1%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 741,536 kB
  • ctags: 613,961
  • sloc: java: 3,969,489; xml: 336,553; jsp: 11,861; ruby: 10,091; cpp: 4,127; sh: 3,417; ansic: 1,734; sql: 1,306; haskell: 1,019; makefile: 487; perl: 403; objc: 288; php: 120
file content (79 lines) | stat: -rw-r--r-- 6,094 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

  * Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.

  * Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

  * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
    may be used to endorse or promote products derived from this software without
    specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  THE POSSIBILITY OF SUCH DAMAGE.
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{AddVehicle.page1}" id="page1">
            <webuijsf:html binding="#{AddVehicle.html1}" id="html1">
                <webuijsf:head binding="#{AddVehicle.head1}" id="head1">
                    <webuijsf:link binding="#{AddVehicle.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{AddVehicle.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{AddVehicle.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="Header.jspf"/>
                        </div>
                        <h:panelGrid binding="#{AddVehicle.content}" id="content" style="left: 0px; top: 240px; position: absolute; width: 800px" styleClass="contents">
                            <h:panelGrid binding="#{AddVehicle.contentGrid}" id="contentGrid" style="width: 100%; height: 100%;">
                                <h:panelGrid binding="#{AddVehicle.messagePanel1}" id="messagePanel1" style="width: 100%">
                                    <webuijsf:messageGroup binding="#{AddVehicle.messageGroup1}" id="messageGroup1"/>
                                </h:panelGrid>
                                <h:panelGrid binding="#{AddVehicle.paddingPanel1}" id="paddingPanel1" style="height: 20px; width: 100%"/>
                                <h:panelGrid binding="#{AddVehicle.dataGrid}" cellpadding="5" columns="3" id="dataGrid" style="width: 100%">
                                    <webuijsf:label binding="#{AddVehicle.label1}" id="label1" text="State:"/>
                                    <webuijsf:dropDown binding="#{AddVehicle.state}" id="state"
                                        items="#{AddVehicle.stateDataProvider.options['STATE.STATEID,STATE.STATENAME']}" validatorExpression="#{AddVehicle.state_validate}"/>
                                    <webuijsf:message binding="#{AddVehicle.message1}" for="state" id="message1" showDetail="false" showSummary="true"/>
                                    <webuijsf:label binding="#{AddVehicle.label2}" id="label2" text="License Plate:"/>
                                    <webuijsf:textField binding="#{AddVehicle.licensePlate}" id="licensePlate"/>
                                    <webuijsf:message binding="#{AddVehicle.message2}" for="licensePlate" id="message2" showDetail="false" showSummary="true"/>
                                    <webuijsf:label binding="#{AddVehicle.label3}" id="label3" text="Make:"/>
                                    <webuijsf:textField binding="#{AddVehicle.make}" id="make"/>
                                    <webuijsf:message binding="#{AddVehicle.message3}" for="make" id="message3" showDetail="false" showSummary="true"/>
                                    <webuijsf:label binding="#{AddVehicle.label4}" id="label4" text="Model:"/>
                                    <webuijsf:textField binding="#{AddVehicle.model}" id="model"/>
                                    <webuijsf:message binding="#{AddVehicle.message4}" for="model" id="message4" showDetail="false" showSummary="true"/>
                                    <webuijsf:label binding="#{AddVehicle.label5}" id="label5" text="Color:"/>
                                    <webuijsf:textField binding="#{AddVehicle.color}" id="color"/>
                                    <webuijsf:message binding="#{AddVehicle.message5}" for="color" id="message5" showDetail="false" showSummary="true"/>
                                </h:panelGrid>
                                <webuijsf:button actionExpression="#{AddVehicle.addButton_action}" binding="#{AddVehicle.addButton}" id="addButton" text="Add"/>
                            </h:panelGrid>
                        </h:panelGrid>
                        <div style="position: absolute; left: 0px; top: 600px">
                            <jsp:directive.include file="Footer.jspf"/>
                        </div>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>