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

Better error handling in modal window setContent() when a repeater is used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.6
    • 1.4.7, 1.5-M1
    • wicket-extensions
    • None

    Description

      I'm facing trouble setting an repeater component as the content for modal window.
      the error message on javascript console:
      "ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: Either src or element must be set."
      Reading the ModalWindow code, I realize that the component can not render such component, since it markup id isn't sent to browser.
      Can Wicket throw an exception on setContentModel due an attempt of set an repeater as content, or to be prepared to render such component ?

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            pedrosans Pedro Santos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: