|
From: <dcr...@hy...> - 2010-03-03 03:40:31
|
Author: dcrutchf Date: 2010-03-02 19:40:20 -0800 (Tue, 02 Mar 2010) New Revision: 14343 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14343 Modified: trunk/web/common/HeaderTabs.jsp trunk/web/portal/MainLayout.jsp Log: [HHQ-3656] - No drop down menu is displayed for Resources and Analyze In IE 8 Modified: trunk/web/common/HeaderTabs.jsp =================================================================== --- trunk/web/common/HeaderTabs.jsp 2010-03-02 23:47:23 UTC (rev 14342) +++ trunk/web/common/HeaderTabs.jsp 2010-03-03 03:40:20 UTC (rev 14343) @@ -27,16 +27,21 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. --%> -<c:set var="location" scope="request"><tiles:getAsString name="location"/></c:set> - <c:choose> - <c:when test="${location eq 'resources'}"> - <c:forEach var="attachment" items="${mastheadResourceAttachments}"> - <li><a href="<html:rewrite page="/mastheadAttach.do?typeId=${attachment.attachment.id}"/>"><c:out value="${attachment.HTML}"/></a></li> - </c:forEach> - </c:when> - <c:when test="${location eq 'tracking'}"> - <c:forEach var="attachment" items="${mastheadTrackerAttachments}"> - <li><a href="<html:rewrite page="/mastheadAttach.do?typeId=${attachment.attachment.id}"/>"><c:out value="${attachment.HTML}"/></a></li> - </c:forEach> - </c:when> - </c:choose> \ No newline at end of file +<c:set var="location" scope="request"> + <tiles:getAsString name="location"/> +</c:set> +<c:choose> + <c:when test="${location eq 'resources'}"> + <c:set var="attachments" scope="request" value="${mastheadResourceAttachments}" /> + </c:when> + <c:when test="${location eq 'tracking'}"> + <c:set var="attachments" scope="request" value="${mastheadTrackerAttachments}" /> + </c:when> +</c:choose> +<c:forEach var="attachment" items="${attachments}"> + <li> + <a href="<html:rewrite page="/mastheadAttach.do?typeId=${attachment.attachment.id}"/>"> + <c:out value="${attachment.HTML}"/> + </a> + </li> +</c:forEach> \ No newline at end of file Modified: trunk/web/portal/MainLayout.jsp =================================================================== --- trunk/web/portal/MainLayout.jsp 2010-03-02 23:47:23 UTC (rev 14342) +++ trunk/web/portal/MainLayout.jsp 2010-03-03 03:40:20 UTC (rev 14343) @@ -25,6 +25,7 @@ <%@ page pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8"%> <%@ page errorPage="/common/Error.jsp"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> <%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html"%> <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <html> <head> + <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <tiles:insert attribute="head" /> <title> <fmt:message key="${portal.name}"> |