Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.9
    • Fix Version/s: 1.4.18, 1.5-RC4
    • Component/s: wicket
    • Labels:
      None

      Description

      Nothing except for plain AjaxLink works.

      // Page class
      @Override
      protected void configureResponse() {
      	super.configureResponse();
      	final Response response = getResponse();
      	response.setContentType("application/xhtml+xml");
      }
      

      Firebug says:

      An invalid or illegal string was specified" code: "12
      [Break on this error] c.innerHTML = msg; 
      

      Oh yes, no innerHTML is allowed in pure XHTML.

      A simple, quick work-around for this would be to use a jQuery and replace all innerHTMLs with something XHTML-friendly so that DOM tree is built. It would look something like that:

      // c.innerHTML = msg;
      $(c).html(msg);
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Damian Nowak
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development