<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- jstl1.2--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 

<%@ page isELIgnored="false" %> 

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>hotArticleList Component</title>
    </head>
    <body>
             <!-- #webComponent.start.hotArticleList -->
                <%
                // #webComponent.start.newArticleList
                miinshop.view.pages.uiCompont.HotArticleListComponent hotArticleList
                        =new miinshop.view.pages.uiCompont.HotArticleListComponent (
                           request, response, out
                         );
                     //返回记录数
                int max_hot=10;
                //标题长度，字符
                int titleLen_hot=50;
                hotArticleList.init(max_hot,titleLen_hot);
                
                    %>
                <div id="webComponent">
                    
                    <p id="webComponent_id_232352" class="webComponent_edit" style="display:block;">
                                                
                    </p>
                    
                    <div class="webComponent_content">
                        <p>热点</p>
                        <p>
                             <ul>
                                  <c:if test="${HotArticleListCms}">  
                                        <c:forEach items="${HotArticleListCms!=null}" var="article">
                                        <li>
                                          <a href="/article.jsp?aid=<c:out value="${article.aid}"/>" >
                                    <c:out value="${article.title}"></c:out>
                                          </a></li>                                
                                        </c:forEach>
                                    </c:if>
                                  </ul>
                        </p>
                    </div>
                    
                </div>
                 <!-- webComponent.end.hotArticleList -->
                 
    </body>
</html>
