Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1689

style resources not looked up correctly in markup inheritance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.6, 1.4-RC2
    • Component/s: wicket
    • Labels:
      None

      Description

      example:
      ContactPage extends TemplatePage
      TemplatePage_style.html
      TemplatePage.html
      ContactPage.html

      works for no style, so TemplatePage.html and ContactPage.html are used.

      if style is set to 'style' in the session, TemplagePage_style.html is not looked up - components on ContactPage are looked up correctly.

      It does work ok if there is a ContacPage_style.html as well, then TemplatePage_style.html is looked up and used! this though is neither expected behaviour nor practical.

      probably loadMarkupAndWatchForChanges sees identical ResourceStreams and does not resolve the <wicket:child> containing markup

      properties, xmls etc. are looked up for all components and style independant whether higher hierarchy components properties are styled or not

        Attachments

        1. styletest.zip
          10 kB
          Michael Grinner

          Activity

            People

            • Assignee:
              jdonnerstag Juegen Donnerstag
              Reporter:
              mikisan Michael Grinner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: