Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-844

externalLink doesn't work if layout="table"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.5-SNAPSHOT
    • None
    • Panel Navigation2
    • None
    • JDK-1.5_10 + TOMAHAWK-1.1.5 branch + CORE-1.1.5 branch

    Description

      The externalLink attribute for commandNavigation2 doesn't work if the parent panelNavigation2 has its layout set to "table".

      <t:panelNavigation2 layout="table">
      <t:commandNavigation2 value="#

      {messages['nav.home']}

      " externalLink="/home.jsf" target="_top"/>
      <t:commandNavigation2 value="#

      {messages['nav.products']}

      " externalLink="/products.jsf" target="_top"/>

      The output renders <a href="#" ...> instead.

      Also there seems to be a problem with rendering the first item in the commandNaviation2 list:

      <ul>
      <li></li>
      <li><a href="/products.jsf" target="_top"></a><ul></ul></li>

      Please, note that this output is from layout="list".

      Fixing this issue would help GoogleBot a lot with crawling sites when layout="list" isn't an option.

      Hope this makes sense.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesper.pedersen Jesper Pedersen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: