This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 94
/
data_provider_remove.jsp
153 lines (135 loc) · 6.53 KB
/
data_provider_remove.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<%--
Copyright (C) 2012 JBoss Inc
Licensed 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.
--%>
<%@ page import="org.jboss.dashboard.LocaleManager" %>
<%@ page import="org.jboss.dashboard.ui.components.DataProviderHandler" %>
<%@ page import="java.util.Locale" %>
<%@ page import="org.apache.commons.lang.StringUtils" %>
<%@ page import="java.util.Map" %>
<%@ taglib prefix="factory" uri="factory.tld" %>
<%@ taglib prefix="panel" uri="bui_taglib.tld" %>
<%@ taglib uri="resources.tld" prefix="resource" %>
<%@ taglib prefix="mvc" uri="mvc_taglib.tld"%>
<%@ taglib uri="http://dashboard.jboss.org/taglibs/i18n-1.0" prefix="i18n" %>
<i18n:bundle id="bundle" baseName="org.jboss.dashboard.displayer.messages"
locale="<%=LocaleManager.currentLocale()%>"/>
<i18n:bundle id="bundleUI" baseName="org.jboss.dashboard.ui.messages"
locale="<%=LocaleManager.currentLocale()%>"/>
<mvc:formatter name="org.jboss.dashboard.ui.formatters.DataProviderFormatter">
<mvc:fragment name="outputStart">
<form style="margin:0px;" action="<factory:formUrl friendly="false"/>" method="post" id="<factory:encode name="deleteDataProviderForm"/>">
<factory:handler bean="org.jboss.dashboard.ui.components.DataProviderHandler" action="deleteDataProvider"/>
<table border="0" style="margin:0px;" cellspacing="0" width="650px">
</mvc:fragment>
<mvc:fragment name="outputTitle">
<mvc:fragmentValue name="description" id="description">
<tr>
<td nowrap="nowrap">
<div style="vertical-align:middle; text-align:left;" class="skn-title3">
<i18n:message bundleRef="bundle" key='<%=DataProviderHandler.I18N_PREFFIX + "deleteDataProvider"%>'>!!!Borrar proveedor de datos</i18n:message> <%=description%>
</div>
</td>
</tr>
</mvc:fragmentValue>
</mvc:fragment>
<mvc:fragment name="outputTableStart">
<tr>
<td>
<table class="skn-table_border" cellspacing="1" cellpadding="4" border="0" align="center" width="100%">
</mvc:fragment>
<mvc:fragment name="outputKpiHeaders">
<tr class="skn-table_header">
<td><i18n:message bundleRef="bundle" key='element.kpi'>!!!KPI</i18n:message> <i18n:message bundleRef="bundleUI" key='ui.workspace.description'>!!!Descripcion</i18n:message></td>
<td><i18n:message bundleRef="bundleUI" key='ui.sections.section'>!!!Pagina</i18n:message></td>
<td><i18n:message bundleRef="bundleUI" key='ui.workspace'>!!!Espacio de trabajo</i18n:message></td>
</tr>
</mvc:fragment>
<mvc:fragment name="outputKpi">
<mvc:fragmentValue name="description" id="description">
<mvc:fragmentValue name="pageTitle" id="pageTitle">
<mvc:fragmentValue name="workspaceTitle" id="workspaceTitle">
<mvc:fragmentValue name="index" id="index">
<%
String className, altClass;
if (((Integer) index).intValue() % 2 == 0) {
className = "skn-even_row";
altClass = "skn-even_row_alt";
} else {
className = "skn-odd_row";
altClass = "skn-odd_row_alt";
}
%>
<tr class="<%=className%>" onmouseover="className='<%=altClass%>'" onmouseout="className='<%=className%>'">
<td><%=description%></td>
<td><%=pageTitle%></td>
<td><%=workspaceTitle%></td>
</tr>
</mvc:fragmentValue>
</mvc:fragmentValue>
</mvc:fragmentValue>
</mvc:fragmentValue>
</mvc:fragment>
<mvc:fragment name="outputTableEnd">
</table>
</td>
</tr>
</mvc:fragment>
<mvc:fragment name="outputKPIMessage">
<mvc:fragmentValue name="message" id="message">
<tr style="height: 10px;">
<td>
</td>
</tr>
<tr>
<td colspan="3">
<%=message%>
</td>
</tr>
</mvc:fragmentValue>
</mvc:fragment>
<mvc:fragment name="outputNO_KPIMessage">
<tr style="height: 10px;">
<td>
</td>
</tr>
<tr>
<td>
<i18n:message bundleRef="bundle" key='<%=DataProviderHandler.I18N_PREFFIX + "confirmDelete"%>'>!!!Seguro que desea eliminar el proveedor de datos</i18n:message>
</td>
</tr>
</mvc:fragment>
<mvc:fragment name="outputButtons">
<tr>
<td width="100%" align="center" style="padding-top: 10px;">
<input class="skn-button" type="button" value="<i18n:message bundleRef="bundleUI" key='ui.admin.workarea.envelopes.delete'>!!!Borrar</i18n:message>"
onclick="submitAjaxForm(this.form);">
<input class="skn-button_alt" type="button" value="<i18n:message bundleRef="bundle" key='<%=DataProviderHandler.I18N_PREFFIX + "cancel"%>'>!!!Cancelar</i18n:message>"
onclick="submitAjaxForm(document.getElementById('<factory:encode name="goToShowPageForm"/>'))"/>
</td>
</tr>
</mvc:fragment>
<mvc:fragment name="outputEnd">
</table>
</form>
<script defer>
setAjax('<factory:encode name="deleteDataProviderForm"/>');
</script>
<form action="<factory:formUrl friendly="false"/>" method="post" id="<factory:encode name="goToShowPageForm"/>">
<factory:handler bean="org.jboss.dashboard.ui.components.DataProviderHandler" action="cancel"/>
</form>
<script defer>
setAjax('<factory:encode name="goToShowPageForm"/>');
</script>
</mvc:fragment>
</mvc:formatter>