-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResult.jsp
109 lines (109 loc) · 7.65 KB
/
Result.jsp
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : ValidationRaport
Created on : 8-Apr-2008, 10:44:28 AM
Author : jcano
-->
<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<f:view locale="#{applicationScope.defaultLocale}">
<f:loadBundle basename="lomvs.Bundle" var="msg"/>
<html>
<head>
<title>Validation</title>
<link rel="stylesheet" href="<%= request.getContextPath() %>/resources/stylesheet.css" type="text/css" />
</head>
<body onload="" id="body1">
<h:form id="form1">
<div>
<jsp:directive.include file="Header_LomVS.jspf"/>
</div>
<h:panelGrid cellspacing="20" id="mainPanel2" style="margin-bottom: 30px;" width="100%">
<h:panelGrid columns="2" id="gridPaneGeneralInfo" rendered="false" style="border-style: ridge; border-color: gray; background-color: rgb(204, 204, 204); height: 192px; width: 100%">
<h:outputLabel id="label5" style="font-size: 14px" value="Result"/>
<h:outputText id="staticText7"/>
<h:outputLabel id="label4" style="font-size: 14px" value="File"/>
<h:outputText id="fileNamestaticText"/>
<h:outputLabel id="label3" style="font-size: 14px" value="Doctype"/>
<h:outputText id="fileTypeStaticText"/>
<h:outputLabel id="label2" style="font-size: 14px" value="RootElement"/>
<h:outputText id="rootElementstaticText"/>
<h:outputLabel id="label1" style="font-size: 14px" value="Root Namespace"/>
<h:outputText id="nameSpacestaticText"/>
</h:panelGrid>
<h:outputText id="staticTextReportTitle" style="font-size: 24px" value="#{msg.reportTitle}"/>
<h:outputText id="staticTextLom" value="#{Result.submittedLomHeader}"/>
<h:inputTextarea id="textAreaLom" readonly="true" rows="20" value="#{SessionBean1.decoratedValidatedString}" style="width:90%;"/>
<h:panelGroup styleClass="verdict#{SessionBean1.verdict}" layout="block">
<h:panelGroup layout="block" styleClass="verdictSummary">
<h:graphicImage value="../resources/img/#{SessionBean1.verdict}.gif"/>
<h:outputText value="#{SessionBean1.verdictSummary}"/>
</h:panelGroup>
<h:outputText value="#{SessionBean1.verdictDetail}" styleClass="verdictDetail"/>
</h:panelGroup>
<h:dataTable cellpadding="10" id="tableReportErrors" var="currentRow" styleClass="report"
rendered="#{SessionBean1.hasIssues}" columnClasses="reportSeverity,reportErrors,reportHelp,reportScope"
value="#{SessionBean1.issues}" style="valign:middle; text-align:center;width: 100%;">
<f:facet name="caption">
<h:outputText value="#{msg.errorTableTitle} (#{SessionBean1.issuesCount})"></h:outputText>
</f:facet>
<h:column id="tableColumnErrorSeverity">
<h:graphicImage value="/resources/img/#{currentRow.severityIcon}" id="imageErrorSeverity"
style="valign:top;padding: 10px;" width="24" height="24" />
</h:column>
<h:column id="tableColumnReportErrors" > <!-- sort="column1"-->
<p>
<h:panelGroup id="layoutPanelErrorSummary" style="padding: 10px; height: 100%; width: 100%">
<h:outputText id="staticTextErrorLocation" value="#{currentRow.location}"/>
<h:outputText id="staticTextErrorMessage" style="font-weight: bold" value="#{currentRow.message}"/>
</h:panelGroup>
</p>
<p>
<h:outputText id="staticTextErrorDetails" style="padding: 10px; " value="#{currentRow.details}"/>
</p>
</h:column>
<h:column id="tableColumnHelp"
rendered="#{SessionBean1.helpAvailableAtLeastOnce}" > <!-- sort=columnt1 -->
<h:panelGrid id="groupPanelHelp" rendered="#{currentRow.helpReferenceAvailable}" ><!-- separator="<br/>" -->
<h:outputText id="staticTextHelp" value="#{msg.helpLabel}"/>
<h:outputLink id="imageHyperlinkHelp"
target="_blank" value="#{currentRow.helpReferenceLink}">
<h:graphicImage height="52" url="/resources/img/PdfIcon.png" width="52"/>
</h:outputLink>
<h:outputLink id="hyperlinkHelp" target="_blank"
value="#{currentRow.helpReferenceLink}">
<h:outputText value="#{currentRow.helpReference}"/>
</h:outputLink>
</h:panelGrid>
</h:column>
<h:column id="tableColumnLexicalScope"
rendered="#{SessionBean1.lexicalScopeAvailableAtLeastOnce}">
<h:panelGrid id="groupPanelLexicalScope" rendered="#{currentRow.lexicalScopeReferenceAvailable}" ><!-- separator="<br/>" -->
<h:outputText id="staticTextLexicalScopeHeader" value="#{msg.lexicalScopeHeader}"/>
<h:outputLink id="imageHyperlinkLexicalScope"
target="_blank" value="#{request.contextPath}#{currentRow.lexicalScopeReferenceLink}">
<h:graphicImage height="52" url="/resources/img/LexicalScopeIcon.gif" width="52"/>
</h:outputLink>
<h:outputLink id="hyperlinkLexicalScope" target="_blank" value="#{request.contextPath}#{currentRow.lexicalScopeReferenceLink}">
<h:outputText value="#{currentRow.lexicalScopeReference}"/>
</h:outputLink>
</h:panelGrid>
</h:column>
</h:dataTable>
<h:panelGrid id="layoutPanelButtons" columns="2" style="width: 100%; height: 100%;">
<h:commandButton id="previousPageButton" style="font-size: 14px; width: 150px" value="#{msg.goBack}"
action="#{Result.previousPageButton_action}"/>
<h:commandButton id="goDirectInputButton" rendered="#{SessionBean1.selectedTab ne 'tabDirectInput'}"
style="font-size: 14px; width: 250px" value="#{msg.goDirectInput}"
action="#{Result.goDirectInputButton_action}"/>
</h:panelGrid>
</h:panelGrid>
<div>
<jsp:directive.include file="Footer_LomVS.jspf"/>
</div>
</h:form>
</body>
</html>
</f:view>