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

Exception when calling setOutputMarkupId/PlaceholderTag on wicket:container

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.15, 1.5-RC1
    • wicket
    • None

    Description

      Is it possible to throw an exception when using setOutputMarkupId or setOutputPlaceholderTag on a wicket:container element?

      Doing so is a common pitfall (especially for beginners), because one does not always have the markup in mind when working on the java part. Throwing an exception would make the problem easier to find for the developer.

      Attachments

        1. WICKET-3237.patch
          1 kB
          Pedro Santos

        Activity

          People

            pedrosans Pedro Santos
            pparson Peter Parson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: