Author: cmailleux
Date: Wed Nov 21 16:52:19 2007
New Revision: 19259

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19259&repname=
=3Djahia
Log:
Correct MIN-385

Use a div with overflow:auto; as style to show scrollbar as needed

Modified:
    trunk/core/src/webapp/jsp/jahia/engines/workflow/showReport.jsp

Modified: trunk/core/src/webapp/jsp/jahia/engines/workflow/showReport.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp=
/jsp/jahia/engines/workflow/showReport.jsp&rev=3D19259&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/webapp/jsp/jahia/engines/workflow/showReport.jsp (origin=
al)
+++ trunk/core/src/webapp/jsp/jahia/engines/workflow/showReport.jsp Wed Nov=
 21 16:52:19 2007
@@ -1,95 +1,140 @@
-<%--
-Copyright 2002-2006 Jahia Ltd
-
-Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L), =

-Version 1.0 (the "License"), or (at your option) any later version; you ma=
y =

-not use this file except in compliance with the License. You should have =

-received a copy of the License along with this program; if not, you may ob=
tain =

-a copy of the License at =

-
- http://www.jahia.org/license/
-
-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 contentType=3D"text/html;charset=3DUTF-8" language=3D"java" %>
-<%@ page import=3D"org.jahia.data.JahiaData" %>
-<%@ taglib uri=3D"/WEB-INF/etc/taglibs/jstl/c.tld" prefix=3D"c" %>
+<%--
+Copyright 2002-2006 Jahia Ltd
+
+Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDD=
L), =

+Version 1.0 (the "License"), or (at your option) any later version; you ma=
y =

+not use this file except in compliance with the License. You should have =

+received a copy of the License along with this program; if not, you may ob=
tain =

+a copy of the License at =

+
+ http://www.jahia.org/license/
+
+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 contentType=3D"text/html;charset=3DUTF-8" language=3D"java" %>
+<%@ page import=3D"org.jahia.data.JahiaData" %>
+<%@ taglib uri=3D"/WEB-INF/etc/taglibs/jstl/c.tld" prefix=3D"c" %>
 <%@ taglib uri=3D"/WEB-INF/etc/struts/struts-bean.tld" prefix=3D"bean" %>
 <%@ taglib uri=3D"JahiaLib" prefix=3D"jahia" %>
-
-<%
-    final JahiaData jData =3D (JahiaData) request.getAttribute("org.jahia.=
data.JahiaData");
-%>
+
+<%
+    final JahiaData jData =3D (JahiaData) request.getAttribute("org.jahia.=
data.JahiaData");
+%>
 <style type=3D"text/css">
-table.validationResults tr.header td {
-    font-weight: bold;
-}
-table.validationResults tr td {
-    text-align: center !important;
-}
-table.validationResults img {
-    border: none;
-}
-</style>
-<script type=3D"text/javascript">
-    window.onunload =3D null;
-    function refreshTree() {
-        window.opener.refreshTree();
-    }
-</script>
-
-<h3 class=3D"wflowreport">
-    <jahia:engineResourceBundle
-            resourceName=3D"org.jahia.engines.workflow.WorkflowEngine.work=
flowreport.label"/>
-</h3>
-
-<div id=3D"buttons">
-    <div class=3D"button">
-        <a href=3D"javascript:window.close();"
-           title=3D"<jahia:engineResourceBundle resourceName=3D"org.jahia.=
close.button"/>">
-            <jahia:engineResourceBundle resourceName=3D"org.jahia.close.bu=
tton"/>
-        </a>
-    </div>
-</div>
-
-<br/>&nbsp;<br/>
-<c:forEach items=3D"${viewHelper.resultGroups}" var=3D"group">
-    <bean:define id=3D"labelKey" name=3D"group" property=3D"labelKey" type=
=3D"java.lang.String"/>
-    <span class=3D"<c:out value=3D'${group.warningSeverity}'/>" style=3D"f=
ont-weight: bold"><jahia:engineResourceBundle resourceName=3D"<%=3DlabelKey=
 %>"/></span>
-    <table cellpadding=3D"3" cellspacing=3D"0" border=3D"1" class=3D"valid=
ationResults">
-        <tr class=3D"header">
-            <td>&nbsp;</td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.deletecontainer.Dele=
teContainer_Engine.type.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.deletecontainer.Dele=
teContainer_Engine.id.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.deletecontainer.Dele=
teContainer_Engine.title.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.deletecontainer.Dele=
teContainer_Engine.pageId.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.deletecontainer.Dele=
teContainer_Engine.pageTitle.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.shared.Page_Field.la=
nguages.label"/></td>
-            <td><jahia:engineResourceBundle
-                    resourceName=3D"org.jahia.engines.version.warning"/></=
td>
-        </tr>
-        <c:forEach items=3D"${group.results}" var=3D"obj">
-        <bean:define id=3D"targetPageId" name=3D"obj" property=3D"pageId" =
type=3D"java.lang.String"/>
-        <% String targetPageUrl =3D jData.gui().drawPageLink(Integer.parse=
Int(targetPageId)); %>
-        <tr>
-            <td><a onclick=3D"window.onunload=3DrefreshTree;" href=3D"java=
script:<c:out value=3D'${obj.url}'/>" title=3D"<jahia:engineResourceBundle =
resourceName=3D'org.jahia.engines.title.UpdateContainer'/>"><img src=3D"<%=
=3Drequest.getContextPath() %>/jsp/jahia/engines/images/filemanager/edit_ho=
ver.gif" alt=3D"link"  title=3D"<jahia:engineResourceBundle resourceName=3D=
'org.jahia.engines.title.UpdateContainer'/>"/></a></td>
-            <td><c:out value=3D"${obj.objectType}"/></td>
-            <td><c:out value=3D"${obj.objectId}"/></td>
-            <td><c:out value=3D"${obj.title}"/></td>
-            <td><a href=3D"<%=3D targetPageUrl %>" target=3D"_blank"><c:ou=
t value=3D"${obj.pageId}"/></a></td>
-            <td><a href=3D"<%=3D targetPageUrl %>" target=3D"_blank"><c:ou=
t value=3D"${obj.pageTitle}"/></a></td>
-            <td><c:out value=3D"${obj.language}"/></td>
-            <td style=3D"text-align: left !important;"><c:out value=3D"${o=
bj.message}" escapeXml=3D"false"/></td>
-        </tr>
-        </c:forEach>
-    </table>
-</c:forEach>
+    table.validationResults tr.header td {
+        font-weight: bold;
+    }
+
+    table.validationResults tr td {
+        text-align: center !important;
+    }
+
+    table.validationResults img {
+        border: none;
+    }
+</style>
+<script type=3D"text/javascript">
+    window.onunload =3D null;
+    function refreshTree() {
+        window.opener.refreshTree();
+    }
+</script>
+
+<h3 class=3D"wflowreport">
+    <jahia:engineResourceBundle
+            resourceName=3D"org.jahia.engines.workflow.WorkflowEngine.work=
flowreport.label"/>
+</h3>
+
+<div id=3D"buttons">
+    <div class=3D"button">
+        <a href=3D"javascript:window.close();"
+           title=3D"<jahia:engineResourceBundle resourceName=3D"org.jahia.=
close.button"/>">
+            <jahia:engineResourceBundle resourceName=3D"org.jahia.close.bu=
tton"/>
+        </a>
+    </div>
+</div>
+
+<br/>&nbsp;<br/>
+
+<div style=3D"position:absolute;
+left:50px;
+top:150px;
+width:800px;
+height:400px;
+background-color:#ffffff;overflow:auto;">
+    <c:forEach items=3D"${viewHelper.resultGroups}" var=3D"group">
+        <bean:define id=3D"labelKey" name=3D"group" property=3D"labelKey" =
type=3D"java.lang.String"/>
+        <span class=3D"<c:out value=3D'${group.warningSeverity}'/>" style=
=3D"font-weight: bold"><jahia:engineResourceBundle
+                resourceName=3D"<%=3DlabelKey %>"/></span>
+        <table cellpadding=3D"3" cellspacing=3D"0" border=3D"1" class=3D"v=
alidationResults">
+            <tr class=3D"header">
+                <td>&nbsp;</td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.deletecontai=
ner.DeleteContainer_Engine.type.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.deletecontai=
ner.DeleteContainer_Engine.id.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.deletecontai=
ner.DeleteContainer_Engine.title.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.deletecontai=
ner.DeleteContainer_Engine.pageId.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.deletecontai=
ner.DeleteContainer_Engine.pageTitle.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.shared.Page_=
Field.languages.label"/>
+                </td>
+                <td>
+                    <jahia:engineResourceBundle
+                            resourceName=3D"org.jahia.engines.version.warn=
ing"/>
+                </td>
+            </tr>
+            <c:forEach items=3D"${group.results}" var=3D"obj">
+                <bean:define id=3D"targetPageId" name=3D"obj" property=3D"=
pageId" type=3D"java.lang.String"/>
+                <% String targetPageUrl =3D jData.gui().drawPageLink(Integ=
er.parseInt(targetPageId)); %>
+                <tr>
+                    <td><a onclick=3D"window.onunload=3DrefreshTree;" href=
=3D"javascript:<c:out value=3D'${obj.url}'/>"
+                           title=3D"<jahia:engineResourceBundle resourceNa=
me=3D'org.jahia.engines.title.UpdateContainer'/>"><img
+                            src=3D"<%=3Drequest.getContextPath() %>/jsp/ja=
hia/engines/images/filemanager/edit_hover.gif"
+                            alt=3D"link"
+                            title=3D"<jahia:engineResourceBundle resourceN=
ame=3D'org.jahia.engines.title.UpdateContainer'/>"/></a>
+                    </td>
+                    <td>
+                        <c:out value=3D"${obj.objectType}"/>
+                    </td>
+                    <td>
+                        <c:out value=3D"${obj.objectId}"/>
+                    </td>
+                    <td>
+                        <c:out value=3D"${obj.title}"/>
+                    </td>
+                    <td><a href=3D"<%=3D targetPageUrl %>" target=3D"_blan=
k">
+                        <c:out value=3D"${obj.pageId}"/>
+                    </a></td>
+                    <td><a href=3D"<%=3D targetPageUrl %>" target=3D"_blan=
k">
+                        <c:out value=3D"${obj.pageTitle}"/>
+                    </a></td>
+                    <td>
+                        <c:out value=3D"${obj.language}"/>
+                    </td>
+                    <td style=3D"text-align: left !important;">
+                        <c:out value=3D"${obj.message}" escapeXml=3D"false=
"/>
+                    </td>
+                </tr>
+            </c:forEach>
+        </table>
+    </c:forEach>
+</div>

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to