3 Replies Latest reply: Apr 8, 2013 3:17 AM by fac586 RSS

    template for list malfunction

    1001252
      Hi,
      I'm creating new template for list in Application Express 4.2.1.00.08. After generate page I found, that generator ignore parts "Between List Elements" and "Between Sub List Items" of template.
      Know anybody solution of this problem?
      Thanks all.
        • 1. Re: template for list malfunction
          Marc Sewtz-Oracle
          Hi,

          I have not seen this problem before, and without additional details on your template it's difficult to diagnose what might be causing this, so it might be best if you could setup an example on apex.oracle.com, so we can take a look at the actual template,

          Regards,
          Marc
          • 2. Re: template for list malfunction
            1001252
            Hi, thank for your answer and advice. I will try get workspace on apex.oracle.com.
            I have this content of template (template class is Pull Down menu):
            ---------------------------------------------------------------------------------------------
            Before List Entry
            List Template Before Rows (for example <table> <tr>)
            <!--Menu begin-->
            <div class="cssMenuMain">
            <ul class="menublock_1">
            
            
            Template Definition
            
            Use substitution strings: (#LINK#, #TEXT#, #TEXT_ESC_SC#, /i/, #IMAGE#, #IMAGE_ATTR#, #A01#...#A10#)
            List Template Current
            <li class="cssMenuItem_1">
                <a href="#LINK#" class="cssMenuTab_1">
                  <span class="cssMenuInner">#TEXT#</span>
                </a>
              </li>
              
            List Template Current with Sublist Items
            <li class="cssMenuItem_1">
                <a class="cssMenuTab_1">
                  <span class="cssMenuInner">#TEXT#</span>
                </a>
              </li>
              
            List Template Noncurrent
            <li class="cssMenuItem_1">
                <a href="#LINK#" class="cssMenuTab_1">
                  <span class="cssMenuInner">#TEXT#</span>
                </a>
              </li>
              
            List Template Noncurrent with Sublist Items
            <li class="cssMenuItem_1">
                <a class="cssMenuTab_1">
                  <span class="cssMenuInner">#TEXT#</span>
                </a>
              </li>
              
            Between List Elements
            </ul><ul class="menublock_1">
            
            
            Before Sublist Entry
            Sublist Template Before Rows
            <div class="cssMenuSubtabs">
            <ul class="menublock_2">
            
            Sublist Entry
            Use substitution strings: (#LINK#, #TEXT#, /i/, #IMAGE#, #IMAGE_ATTR#, #A01#...#A10#, #LIST_ITEM_ID#, #PARENT_LIST_ITEM_ID#)
            
            Sublist Template Current
            <li class="cssMenuItem_2">
              <a href="#LINK#" class="cssMenuTab_2">
                <span class="cssMenuInner">#TEXT#</span>
              </a>
            </li>
            
            Sublist Template Current with Sublist Items
            <li class="cssMenuItem_2">
              <a class="cssMenuTab_2">
                <span class="cssMenuInner">#TEXT#</span>
                <img class="t13MIMG" src="#IMAGE_PREFIX#menu_open_right2.gif" alt="" />
              </a>
            </li>
            
            Sublist Template Noncurrent
            <li class="cssMenuItem_2">
              <a href="#LINK#" class="cssMenuTab_2">
                <span class="cssMenuInner">#TEXT#</span>
              </a>
            </li>
            
            Sublist Template Noncurrent with Sublist Items
            <li class="cssMenuItem_2">
              <a class="cssMenuTab_2">
                <span class="cssMenuInner">#TEXT#</span>
                <img class="t13MIMG" src="#IMAGE_PREFIX#menu_open_right2.gif" alt="" />
              </a>
            </li>
            
            Between Sublist Items
            
            After Sublist Entry
            Sublist Template After Rows
            </ul>
            </div>
            
            After List Entry
            List Template After Rows (for example </tr> </table>)
            </ul>
            </div>
            <!--Menu end-->
            ----------------------------------------------------------------------------------------------
            and I got this result:
            ----------------------------------------------------------------------------------------------
            <!--Menu begin-->
            <div class="cssMenuMain">
              <ul class="menublock_1">
                <li class="cssMenuItem_1">
                  <a href="" class="cssMenuTab_1">
                    <span class="cssMenuInner">Menu Item 1.0</span>
                  </a>
                </li>
                <li class="cssMenuItem_1">
                  <a class="cssMenuTab_1">
                    <span class="cssMenuInner">Menu Item 2.0</span>
                  </a>
                  <div class="cssMenuSubtabs">
                  <ul class="menublock_2">
                    <li class="cssMenuItem_2">
                      <a href="" class="cssMenuTab_2">
                        <span class="cssMenuInner">Menu Item 2.1</span>
                      </a>
                    </li>
                    <li class="cssMenuItem_2">
                      <a href="" class="cssMenuTab_2">
                        <span class="cssMenuInner">Menu Item 2.2</span>
                      </a>
                    </li>
                    <li class="cssMenuItem_2">
                      <a href="" class="cssMenuTab_2">
                        <span class="cssMenuInner">Menu Item 2.3</span>
                      </a>
                    </li>
                  </ul>
                  </div>
                </li>
                <li class="cssMenuItem_1">
                  <a class="cssMenuTab_1">
                    <span class="cssMenuInner">Menu Item 3.0</span>
                  </a>
                  <div class="cssMenuSubtabs">
                  <ul class="menublock_2">
                    <li class="cssMenuItem_2">
                      <a href="" class="cssMenuTab_2">
                        <span class="cssMenuInner">Menu Item 3.1</span>
                      </a>
                    </li>
                    <li class="cssMenuItem_2">
                      <a href="" class="cssMenuTab_2">
                        <span class="cssMenuInner">Menu Item 3.2</span>
                      </a>
                    </li>
                  </ul>
                  </div>
                </li>
              </ul>
            </div>
            <!--Menu end-->
            ---------------------------------------------------------------------------------------------------------
            Even if I define html text in section "Between List Elements", I can not see this in result.


            Regards,
            Peter

            Edited by: user9208765 on 8.4.2013 12:12
            • 3. Re: template for list malfunction
              fac586
              >

              Please update your forum profile with a real handle instead of "user9208765", and edityour post to use <tt>\
              </tt> tags before and after your HTML code to prevent it being interpreted by the forum software. (See the FAQ for full details of this.)