File: Header.jspf

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 (73 lines) | stat: -rw-r--r-- 5,932 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
<?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.
-->
<div style="-rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <f:subview id="Header">
        <h:panelGrid binding="#{Header.header}" id="header" style="left: 0px; top: 0px; position: absolute; width: 800px" styleClass="header" width="936">
            <h:panelGrid binding="#{Header.headerGrid}" columns="2" id="headerGrid" style="">
                <h:panelGrid binding="#{Header.logoGrid}" id="logoGrid" style="">
                    <webuijsf:image binding="#{Header.logoImage}" id="logoImage" url="/resources/VehicleIncidentReportApplicationLogo.gif"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.appNameGrid}" cellpadding="0" cellspacing="0" columns="3" id="appNameGrid" style="">
                    <webuijsf:staticText binding="#{Header.appNameDark}" id="appNameDark" styleClass="appname appnamedark" text="Vehicle Incident Report"/>
                    <webuijsf:staticText binding="#{Header.appNameBar}" id="appNameBar" styleClass="appname appnamebar" text="|"/>
                    <webuijsf:staticText binding="#{Header.appNameLight}" id="appNameLight" styleClass="appname appnamelight" text="Application"/>
                </h:panelGrid>
            </h:panelGrid>
        </h:panelGrid>
        <h:panelGrid binding="#{Header.subHeader}" id="subHeader" style="left: 0px; top: 205px; position: absolute; width: 800px" styleClass="subheader">
            <h:panelGrid binding="#{Header.subHeaderGrid}" columns="10" id="subHeaderGrid" style="width: 100%; height: 100%;" styleClass="subheader">
                <h:panelGrid binding="#{Header.searchCell}" id="searchCell" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.searchLink_action}" binding="#{Header.searchLink}" id="searchLink" styleClass="subheadertext" text="Search"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.profileCell}" id="profileCell" rendered="#{SessionBean1.loggedIn}" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.profileLink_action}" binding="#{Header.profileLink}" id="profileLink"
                        styleClass="subheadertext" text="Profile"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.vehiclesCell}" id="vehiclesCell" rendered="#{SessionBean1.loggedIn}" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.vehiclesLink_action}" binding="#{Header.vehiclesLink}" id="vehiclesLink"
                        styleClass="subheadertext" text="Vehicles"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.loginCell}" id="loginCell" rendered="#{SessionBean1.notLoggedIn}" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.loginLink_action}" binding="#{Header.loginLink}" id="loginLink" styleClass="subheadertext" text="Login"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.welcomeCell}" id="welcomeCell" rendered="#{SessionBean1.loggedIn}" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:staticText binding="#{Header.welcome}" id="welcome" text="#{SessionBean1.welcomeMessage}"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.logoutCell}" id="logoutCell" rendered="#{SessionBean1.loggedIn}" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.logoutLink_action}" binding="#{Header.logoutLink}" id="logoutLink" styleClass="subheadertext" text="Logout"/>
                </h:panelGrid>
                <h:panelGrid binding="#{Header.helpCell}" id="helpCell" style="width: 100%; height: 100%;" styleClass="subheaderbutton">
                    <webuijsf:hyperlink actionExpression="#{Header.helpLink_action}" binding="#{Header.helpLink}" id="helpLink" styleClass="subheadertext" text="Help"/>
                </h:panelGrid>
            </h:panelGrid>
        </h:panelGrid>
    </f:subview>
</div>