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

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

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

    Terry.Li-彬

    虛其心,可解天下之問;專其心,可治天下之學;靜其心,可悟天下之理;恒其心,可成天下之業。

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      143 隨筆 :: 344 文章 :: 130 評論 :: 0 Trackbacks
     

    tiles-def.xml
    ------------------
    <definition name="portal" path="/common/themes/portal.jsp">
      <put name="title" value="" />
      <put name="selectable" value="false" />
    </definition>

    portal.jsp
    --------------
    <c:choose>
     <c:when test="<%= themeDisplay.isStateExclusive() %>">
      <%= request.getAttribute(WebKeys.LAYOUT_CONTENT) %>
     </c:when>
     <c:when test="<%= themeDisplay.isStatePopUp() %>">
      <liferay-theme:include page="portal_pop_up.jsp" />
     </c:when>
     <c:otherwise>
      <liferay-theme:include page="portal_normal.jsp" />
     </c:otherwise>
    </c:choose>

    portal_normal.vm
    --------------------------
    <html dir="#language ("lang.dir")">

    $theme.include($top_head_include)

    #css ($css_main_file)
    #js ($js_main_file)
    $theme.include($bottom_ext_include)
    $theme.include($session_timeout_include)
    $theme.include($sound_alerts_include)


    init.vm
    ---------
    #set ($bottom_ext_include = "$dir_include/common/themes/bottom.jsp")
    #set ($content_include = "$dir_include$tilesContent")
    #set ($session_timeout_include = "$dir_include/common/themes/session_timeout.jsp")
    #set ($sound_alerts_include = "$dir_include/common/themes/sound_alerts.jsp")
    #set ($top_head_include = "$dir_include/common/themes/top_head.jsp")
    #set ($top_messages_include = "$dir_include/common/themes/top_messages.jsp")

    top_head.jsp
    ------------------
    <%@ include file="/html/common/themes/top_js.jspf" %>
    <%@ include file="/html/common/themes/top_js-ext.jsp" %>


    top_js.jspf
    ------------
    <%
    String[] javaScriptFiles = PropsUtil.getArray(PropsUtil.JAVASCRIPT_FILES);
    for (int i = 0; i < javaScriptFiles.length; i++) {
    %>
      <script src="<%= themeDisplay.getPathJavaScript() %>/<%= javaScriptFiles[i] %>"  type="text/javascript"></script>
    <%
    }
    %>


    portal.properties
    -------------------
    ##
    ## JavaScript
    ##

        #
        # Set a list of JavaScript files that will be loaded programmatically in
        # /html/common/themes/top_js.jsp.
        #
        # The ordering of the JavaScript files is important. Specifically, all
        # JQuery scripts should go first.
        #
        # The Liferay scripts are grouped in such a way, that the first grouping
        # denotes utility scripts that are used by the second and third groups. The
        # second grouping denotes utility classes that rely on the first group, but
        # does not rely on the second or third group. The third grouping denotes
        # modules that rely on the first and second group.
        #
        javascript.files=\
            \
            #
            # JQuery scripts
            #
            \
            jquery/jquery.js,\
            jquery/cookie.js,\
            jquery/dimensions.js,\
            jquery/hover_intent.js,\
            jquery/interface.js,\
            jquery/interface.patch.js,\
            jquery/j2browse.js,\
            jquery/jeditable.js,\
            jquery/json.js,\
            jquery/media.js,\
            jquery/tabs.js,\
            \
            #
            # Miscellaneous scripts
            #
            \
            misc/class.js,\
            misc/swfobject.js,\
            \
            #
            # Liferay base utility scripts
            #
            \
            liferay/liferay.js,\
            liferay/browser.js,\
            liferay/util.js,\
            liferay/language.js,\
            liferay/layout.js,\
            \
            #
            # Liferay utility scripts
            #
            \
            liferay/ajax.js,\
            liferay/animate.js,\
            liferay/coordinates.js,\
            liferay/ldrag.js,\
            #liferay/leditable.js,\
            liferay/lresize.js,\
            liferay/popup.js,\
            liferay/portal.js,\
            liferay/portlet.js,\
            liferay/publisher.js,\
            \
            #
            # Liferay modules
            #
            \
            liferay/auto_fields.js,\
            liferay/color_picker.js,\
            liferay/columns.js,\
            liferay/dock.js,\
            liferay/dynamic_select.js,\
            liferay/freeform.js,\
            liferay/layout_configuration.js,\
            liferay/messaging.js,\
            liferay/notice.js,\
            liferay/navigation.js,\
            liferay/session.js,\
            liferay/tags_selector.js

     

    Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=2177411

    posted on 2008-03-14 14:13 禮物 閱讀(1370) 評論(0)  編輯  收藏 所屬分類: Liferay
    主站蜘蛛池模板: a级成人毛片免费图片| 67194国产精品免费观看| 2021在线永久免费视频| 日本最新免费不卡二区在线| 亚洲中文字幕无码久久2017 | 亚洲综合日韩久久成人AV| 亚洲福利一区二区三区| 午夜在线免费视频| 99在线精品视频观看免费| 亚洲一级特黄大片无码毛片| 亚洲成aⅴ人在线观看| h在线看免费视频网站男男| 一本无码人妻在中文字幕免费| 国产成人A亚洲精V品无码| 中文字幕无码精品亚洲资源网久久| 9久热这里只有精品免费| 女人被男人躁的女爽免费视频| 亚洲AV无码专区在线播放中文| 麻豆亚洲AV成人无码久久精品| 84pao强力永久免费高清| 亚洲精品岛国片在线观看| 亚洲一区二区三区乱码在线欧洲| 二区久久国产乱子伦免费精品| 成人免费无码大片a毛片| 亚洲永久永久永久永久永久精品| 男女猛烈无遮掩视频免费软件 | 亚洲熟妇少妇任你躁在线观看无码| 亚洲一区免费在线观看| 在线涩涩免费观看国产精品 | 亚洲av成人中文无码专区| 最新黄色免费网站| 日韩亚洲人成在线综合日本| 无码色偷偷亚洲国内自拍| 丁香花免费高清视频完整版| 亚洲国产成人久久精品动漫 | 99视频在线精品免费观看6| 久久亚洲精品人成综合网| 2022免费国产精品福利在线| 精品无码国产污污污免费| 亚洲国产成AV人天堂无码| 色欲国产麻豆一精品一AV一免费|