<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    草窩兒
    我的地盤兒
    posts - 4,  comments - 13,  trackbacks - 0
        websphere中jstl標簽不要套著用,特別是 <c:if>、<c:when>和 ${fn:},不然還得回頭改,嚴重浪費時間。
        記錄一下,備忘。
        已經(jīng)試過N次了,以目前的版本來說,websphere還是不支持套著用,以后沒聽到新聞也可以不用再測試了!
    posted @ 2008-01-18 17:17 芨芨草 閱讀(439) | 評論 (0)編輯 收藏
    list傳值,每4列換行顯示,代碼如下:
     1<div id="orgsDiv">
     2    <c:set var="j" value="0" />
     3    <c:set var="type" value="" />
     4    <c:forEach items="${orgs}" var="org" varStatus="i">
     5        <c:if test="${type != org.type && i.index!=0}">
     6            <c:forEach begin="${j%4}" end="3">
     7                    <td width="25%">&nbsp;</td>
     8            </c:forEach>
     9            </tr>
    10            </table>
    11            <hr width="100%" style="border: 1px solid #cadae8; height: 1px">
    12        </c:if>
    13        <c:if test="${type != org.type }">
    14            <c:set var="j" value="0" />
    15            <table border="0" width="100%" cellpadding="0" cellspacing="0">
    16        </c:if>
    17        <c:if test="${j%4 == 0}">
    18            <tr>
    19        </c:if>
    20        <td width="25%">
    21            <html:multibox property="orgIds">${org.id}</html:multibox>
    22            <c:out value="${org.shortName}" />
    23        </td>
    24        <c:if test="${(i.last) || (j%4 == 3)}">
    25            <c:if test="${i.last}">
    26                <c:forEach begin="${i.index%4}" end="2">
    27                    <td width="25%">&nbsp;</td>
    28                </c:forEach>
    29            </c:if>
    30            </tr>
    31            <c:if test="${i.last}">                            
    32                </table>
    33            </c:if>    
    34        </c:if>
    35        <c:set var="j" value="${j+1}" />
    36        <c:set var="type" value="${org.type}" />
    37    </c:forEach>
    38</div>
    posted @ 2008-01-18 16:44 芨芨草 閱讀(529) | 評論 (1)編輯 收藏
    這里發(fā)代碼好像還可以。 寫段代碼試一下,
     1<div id="orgsDiv">
     2    <c:set var="j" value="0" />
     3    <c:set var="type" value="" />
     4    <c:forEach items="${orgs}" var="org" varStatus="i">
     5        <c:if test="${type != org.type && i.index!=0}">
     6            <c:forEach begin="${j%4}" end="3">
     7                    <td width="25%">&nbsp;</td>
     8            </c:forEach>
     9            </tr>
    10            </table>
    11            <hr width="100%" style="border: 1px solid #cadae8; height: 1px">
    12        </c:if>
    13        <c:if test="${type != org.type }">
    14            <c:set var="j" value="0" />
    15            <table border="0" width="100%" cellpadding="0" cellspacing="0">
    16        </c:if>
    17        <c:if test="${j%4 == 0}">
    18            <tr>
    19        </c:if>
    20        <td width="25%">
    21            <html:multibox property="orgIds">${org.id}</html:multibox>
    22            <c:out value="${org.shortName}" />
    23        </td>
    24        <c:if test="${(i.last) || (j%4 == 3)}">
    25            <c:if test="${i.last}">
    26                <c:forEach begin="${i.index%4}" end="2">
    27                    <td width="25%">&nbsp;</td>
    28                </c:forEach>
    29            </c:if>
    30            </tr>
    31            <c:if test="${i.last}">                            
    32                </table>
    33            </c:if>    
    34        </c:if>
    35        <c:set var="j" value="${j+1}" />
    36        <c:set var="type" value="${org.type}" />
    37    </c:forEach>
    38</div>
    posted @ 2008-01-17 10:29 芨芨草 閱讀(186) | 評論 (1)編輯 收藏
    想讓草兒飛上天 ...

    <2008年1月>
    303112345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    常用鏈接

    留言簿

    隨筆分類

    隨筆檔案

    文章分類

    文章檔案

    Hibernate

    Oracle

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 午夜精品在线免费观看| 最新黄色免费网站| 国产一精品一aⅴ一免费| 亚洲视频无码高清在线| 18禁美女黄网站色大片免费观看 | 亚洲成a人片在线看| 1区2区3区产品乱码免费| 亚洲最大中文字幕| 99久久99久久精品免费看蜜桃| 亚洲熟妇无码久久精品| 日韩毛片免费无码无毒视频观看| 亚洲综合丁香婷婷六月香| 女人被男人桶得好爽免费视频| 亚洲精品无码mⅴ在线观看| 四虎永久成人免费| a高清免费毛片久久| 久久青青成人亚洲精品| 99久久免费中文字幕精品| 亚洲制服在线观看| 国产精品久久香蕉免费播放 | 十八禁在线观看视频播放免费| 亚洲成色在线综合网站| 成人浮力影院免费看| 亚洲国产精品无码久久| 亚洲午夜成人精品电影在线观看| 免费看成人AA片无码视频吃奶| 亚洲在成人网在线看| 国产国产人免费视频成69大陆 | 亚洲无线码在线一区观看| 亚洲电影免费在线观看| 亚洲欧美自偷自拍另类视| 国产成人亚洲影院在线观看| 97视频免费观看2区| 亚洲爆乳无码专区www| 亚洲欧洲日产国码av系列天堂| 久久福利资源网站免费看| 羞羞漫画小舞被黄漫免费| 亚洲A∨无码无在线观看| 国产麻豆剧传媒精品国产免费| 国产在线国偷精品免费看| youjizz亚洲|