Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-639

InsertPage fails if a tab name is imported that already exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.8.3
    • None
    • Plugins
    • None
    • linux 2.6.32 tomcat 6.0.2 jvm 1.6

    Description

      what I did: Entered two pages with tabbed sections and equal tab names. one includes the other (the parent includes the child)

      what I expected: to see the childs tab if I click on a the corresponding tab in the parent page

      what I got: the parent page gets garbled

      workaround: make tab names unique if required

      the parent page:

      %%tabbedSection
      %%tab-1
      text to show up in parent tab-1

      • [page to insert]
        [ {InsertPage page='Page to insert'}

        ]
        %%
        %%tab-2
        text to show up in parent tab-2
        %%
        %%

      the child page:

      %%tabbedSection
      %%tab-1
      text from tab-1 of page to be inserted
      %%
      %%tab-2
      text from tab-2 of page to be inserted
      %%
      %%

      Attachments

        Activity

          People

            Unassigned Unassigned
            rsc Rolf Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: