<%@ 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>cmdArticleList Component</title>
    </head>
    <body>
                   <!-- #webComponent.start.cmdArticleList -->
                <%
                // #webComponent.start.cmdArticleList
                miin.core.miinSysConfigValiday.view.pages.uiCompont.CmdArticleListComponent cmdArticleList
                        =new miin.core.miinSysConfigValiday.view.pages.uiCompont.CmdArticleListComponent (
                            request, response, out
                         );
                   //返回记录数
                int max_cmd=10;
                //标题长度，字符
                int titleLen_cmd=50;
                cmdArticleList.init(max_cmd,titleLen_cmd);
               
                    %>
                <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="${CmdArticleListCms!=null}">    
                                     <c:forEach items="${CmdArticleListCms!=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.cmdArticleList -->
                 
    </body>
</html>
