25. Araxis Merge File Comparison Report

Produced by Araxis Merge on Fri Oct 19 14:25:21 2007 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Internet Explorer. For optimum results when printing this report, enable printing of background images and colours in your browser and use landscape orientation.

25.1 Files compared

#FileLocationLast Modified
1topmenu.incC:\jahia\template_diff\V2_JAHIA_5_0_0\src\jsp\commonFri Oct 19 14:18:35 2007 UTC
2topmenu.incC:\jahia\template_diff\V2_JAHIA_5_0_3\src\jsp\commonFri Oct 19 14:16:50 2007 UTC

25.2 Comparison summary

DescriptionBetween
Files 1 and 2
BlocksLines
Unchanged587
Changed314
Inserted11
Removed00

25.3 Comparison options

WhitespaceAll differences in whitespace within lines are ignored
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersHidden in comparison detail

25.4 Active regular expressions

No regular expressions were active.

25.5 Comparison detail

1 <%-- 1 <%--
2 Copyright 2002-2006 Jahia Ltd 2 Copyright 2002-2006 Jahia Ltd
3  3 
4 Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDDL), 4 Licensed under the JAHIA COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (JCDDL),
5 Version 1.0 (the "License"), or (at your option) any later version; you may 5 Version 1.0 (the "License"), or (at your option) any later version; you may
6 not use this file except in compliance with the License. You should have 6 not use this file except in compliance with the License. You should have
7 received a copy of the License along with this program; if not, you may obtain 7 received a copy of the License along with this program; if not, you may obtain
8 a copy of the License at 8 a copy of the License at
9  9 
10  http://www.jahia.org/license/ 10  http://www.jahia.org/license/
11  11 
12 Unless required by applicable law or agreed to in writing, software 12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS, 13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and 15 See the License for the specific language governing permissions and
16 limitations under the License. 16 limitations under the License.
17 --%> 17 --%>
18  18 
19  19 
20 <% 20 <%
21     logger.debug("topvector size="+topNavigationContainerVector.size()); 21     logger.debug("topvector size="+topNavigationContainerVector.size());
22     if(!topNavigationContainerVector.isEmpty()) { 22     if(!topNavigationContainerVector.isEmpty()) {
23     topNavigationContainers = topNavigationContainerVector.elements(); 23     topNavigationContainers = topNavigationContainerVector.elements();
24     while (topNavigationContainers.hasMoreElements()) { 24     while (topNavigationContainers.hasMoreElements()) {
25         JahiaContainer topNavigationContainer = (JahiaContainer) topNavigationContainers.nextElement(); 25         JahiaContainer topNavigationContainer = (JahiaContainer) topNavigationContainers.nextElement();
26         //ContainerBean topNavigationContainerBean = new ContainerBean(topNavigationContainer,jParams); 26         //ContainerBean topNavigationContainerBean = new ContainerBean(topNavigationContainer,jParams);
27         JahiaPage navigationLink = (JahiaPage) topNavigationContainer.getFieldObject("navigationLink"); 27         JahiaPage navigationLink = (JahiaPage) topNavigationContainer.getFieldObject("navigationLink");
28         if (navigationLink != null) { 28         if (navigationLink != null) {
29         %> 29         %>
30             <div id="topmenu_<%=topNavigationContainer.getID()%>"<% 30             <div id="topmenu_<%=topNavigationContainer.getID()%>"<%
31                 if (jData.gui().isPageInPath(navigationLink.getID())) { 31                 if (jData.gui().isPageInPath(navigationLink.getID())) {
32                 %> class="selected"<% 32                 %> class="selected"<%
33                 } else { 33                 } else {
34                 %> class="notselected"<% 34                 %> class="notselected"<%
35                 } 35                 }
36                 if (! topNavigationContainers.hasMoreElements()) { 36                 if (! topNavigationContainers.hasMoreElements()) {
37                 %> style="border-width:0;"<% 37                 %> style="border-width:0;"<%
38                 } 38                 }
39             %>> 39             %>>
40                 <a class="link" href="<%=navigationLink.getURL(jParams)%>"> 40                 <a class="link" href="<%=navigationLink.getURL(jParams)%>">
41                     <spa n><%=n avigationLink.getTitle()%></span> 41                  <%if(navigationLink.getTitle()!=null && !navigationLink.getTitle().equals("")){%>
  42                     <span><%=navigationLink.getHighLightDiffTitle(jData.params())%></span>
  43                     <% } else { %>
  44                     <span style="color:red;"><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates_v2" resourceName="noTitle" defaultValue="No title"/></span>
  45                     <% }%>
42                 </a> 46                 </a>
43             <% 47             <%
44                 if (isEditMode) { 48                 if (isEditMode) {
45                     //if (topNavigationContainer.getContentContainer().getPickedObject() == null) { 49                     //if (topNavigationContainer.getContentContainer().getPickedObject() == null) {
46                     %> 50                     %>
47                         <div class="actions"> 51                         <div class="actions">
48                     <% 52                     <%
49                         jData.gui().html().drawBeginActionMenu(new ContainerBean(topNavigationContainer,jParams), 53                         jData.gui().html().drawBeginActionMenu(new ContainerBean(topNavigationContainer,jParams),
50                             null, null, false, ".navigationLink", 54                             null, null, false, ".navigationLink",
51                             "jahiatemplates.Corporate_portal_templates_v2", null, out); 55                             "jahiatemplates.Corporate_portal_templates_v2", null, out);
52                     %> 56                     %>
53                         </div> 57                         </div>
54                     <% 58                     <%
55                    // } 59                    // }
56                 } 60                 }
57             %> 61             %>
58             </div> 62             </div>
59         <% 63         <%
60         } else { 64         } else {
61             logger.warn("this container"+topNavigationContainer.getID()+" have no field navigationLink! "); 65             logger.warn("this container"+topNavigationContainer.getID()+" have no field navigationLink! ");
62             if (isEditMode) { %> 66             if (isEditMode) { %>
63             <div id="topmenu_<%=topNavigationContainer.getID()%>" class="notselected"<% if (! topNavigationContainers.hasMoreElements()) { 67             <div id="topmenu_<%=topNavigationContainer.getID()%>" class="notselected"<% if (! topNavigationContainers.hasMoreElements()) {
64                 %> style="border-width:0;"<% 68                 %> style="border-width:0;"<%
65                 } 69                 }
66             %>> 70             %>>
67                 <a href="" class="link"><span>n.d</span></a><div class="actions"><% 71  
68                         jData.gui().html().drawBeginActionMenu(new ContainerBean(topNavigationContainer,jParams),  
69                             null, null, false, ".navigationLink",  
70                             "jahiatemplates.Corporate_portal_templates_v2", null, out);  
71                     %></div>  
72                 </div> 72                 </div>
73             <% 73             <%
74             } 74             }
  75 
75         } 76         }
76     } 77     }
77     } 78     }
78     if (topNavigationContainerList != null) { 79     if (topNavigationContainerList != null) {
79         ContainerListBean topNavigationContainerListBean = 80         ContainerListBean topNavigationContainerListBean =
80             new ContainerListBean(topNavigationContainerList,jParams); 81             new ContainerListBean(topNavigationContainerList,jParams);
81         if (! topNavigationContainerListBean. isActionURIsEmpty() ) { 82         if (jData.gui().isEditMode() && topNavigationContainerList .checkWriteAccess(jParams.getUser() ) ) {
82             //logger.debug("display action menu for top container list"); 83             //logger.debug("display action menu for top container list");
83         %><div class="actions"><% 84         %><div class="actions"><%
84             jData.gui().html().drawBeginActionMenu(topNavigationContainerListBean, 85             jData.gui().html().drawBeginActionMenu(topNavigationContainerListBean,
85                 null, contextURL + "/img/actions/add.gif", false, ".navigationLinks", 86                 null, contextURL + "/img/actions/add.gif", false, ".navigationLinks",
86                 "jahiatemplates.Corporate_portal_templates_v2", null, out); 87                 "jahiatemplates.Corporate_portal_templates_v2", null, out);
87         %></div><% 88         %></div><%
88         } else { 89         } else {
89             logger.debug("No action URL for topNavigationContainerList"); 90             logger.debug("No action URL for topNavigationContainerList");
90         } 91         }
91     } else { 92     } else {
92         logger.debug("topNavigationContainerList is NULL"); 93         logger.debug("topNavigationContainerList is NULL");
93     } 94     }
94 %> 95 %>