<%@ page language="java" buffer="100kb" errorPage="/common/error.jsp"%>

<%@ taglib uri="struts-html"     prefix="html"     %>
<%@ taglib uri="struts-bean"     prefix="bean"     %>
<%@ taglib uri="struts-logic"    prefix="logic"    %>
<%@ taglib uri="vkc-taglib"      prefix="vkc"      %>
<%@ page import="vkc.db.serializer.VKCTabViewSerializer" %>
<%@ page import="vkc.view.TabId" %>
<%@ page import="vkc.view.bean.TabInfo" %>

<%
	TabInfo tab = VKCTabViewSerializer.getTabInfo(new Integer(TabId.FAVORITES_TAB));
	request.setAttribute("tab", tab);
%>

<logic:equal name="tab" property="viewTypeId" value='<%=TabInfo.VIEWTYPEID_CLASSIC.toString()%>'>
  <vkc:templateForward page="/userProfile/classicShowDocumentFavorites.jsp"/>
</logic:equal>

<logic:equal name="tab" property="viewTypeId" value='<%=TabInfo.VIEWTYPEID_ALTERNATE.toString()%>'>
  <vkc:templateForward page="/userProfile/alternateShowDocumentFavorites.jsp"/>
</logic:equal>
