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

CSP: inline styling and js in Form submitbutton handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0-M5
    • wicket-core
    • None

    Description

      org.apache.wicket.markup.html.form.Form#appendDefaultButtonField : this piece is just ridiculous to have in 2019

      buffer.append(String.format("<div style=\"width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden\" class=\"%s\">", cssClass));
      

      org.apache.wicket.markup.html.form.Form#appendDefaultButtonField

      buffer.append(defaultSubmittingComponent.getInputName());
      buffer.append("\" onclick=\" var b=document.getElementById('");
      buffer.append(submittingComponent.getMarkupId());
      

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              papegaaij Emond Papegaaij
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: