xlawrence    2005/08/03 10:11:08 CEST

  Modified files:
    src/view/jsp         categories.jsp 
  Log:
  fix for: An error occurred at line: 59 in the jsp file: 
/jsp/jahia/templates/myjahiasite/corporate_portal_templates/categories.jsp
  Generated servlet error:
  The type CategoryBean is ambiguous
  
  Revision  Changes    Path
  1.24      +2 -2      corporate_portal_templates/src/view/jsp/categories.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/categories.jsp.diff?r1=1.23&r2=1.24&f=h
  
  
  
  Index: categories.jsp
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/categories.jsp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- categories.jsp    10 Nov 2004 11:30:21 -0000      1.23
  +++ categories.jsp    3 Aug 2005 08:11:08 -0000       1.24
  @@ -50,13 +50,13 @@
           <%int t=0;%>
           <logic:iterate name="currentCategory" property="childCategoryBeans" 
id="curCategoryBean" indexId="idx">
               <%t++;if (t==1){%>Sub Categories<ul><%}%>
  -            <% if (((CategoryBean) 
pageContext.findAttribute("curCategoryBean")).getTitle() == null){ %>
  +            <% if (((org.jahia.services.categories.CategoryBean) 
pageContext.findAttribute("curCategoryBean")).getTitle() == null){ %>
                   <bean:define name="curCategoryBean" 
id="curCategoryBeanTitle" property="category.key" />
                   <li><bean:write name="curCategoryBeanTitle"/></li>
               <% } %>
               
               
  -            <% if (((CategoryBean) 
pageContext.findAttribute("curCategoryBean")).getTitle() != null){ %>
  +            <% if (((org.jahia.services.categories.CategoryBean) 
pageContext.findAttribute("curCategoryBean")).getTitle() != null){ %>
                   <bean:define name="curCategoryBean" 
id="curCategoryBeanTitle2" property="title" />
                   <li><bean:write name="curCategoryBeanTitle2"/></li>
               <% } %>
  

Reply via email to