ICEfaces
  1. ICEfaces
  2. ICE-9352

Use of id="submit" logs WARNINGS in Development mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: 4.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Mojarra Samples
    • Assignee Priority:
      P2
    • Affects:
      Sample App./Tutorial
    • Workaround Exists:
      Yes
    • Workaround Description:
      Run in Production mode.

      Description

      Fairly recent versions of Mojarra have added the following WARNING level log statement when running in Development mode:

      WARNING: Component javax.faces.component.html.HtmlCommandButton uses the 'submit' string for the ID attribute. This is known to cause problems in Internet Explorer.

        Activity

        Hide
        Deryk Sinotte added a comment -

        A search for id="submit" in the showcase app finds the following:

        grep -R "id=\"submit\"" .
        
        ./src/main/webapp/resources/examples/ace/date/dateentry.xhtml:                        <h:commandButton id="submit" value="Submit Date"/>
        ./src/main/webapp/resources/examples/ace/date/dateindicator.xhtml:                    <h:commandButton id="submit" value="Submit"/>
        ./src/main/webapp/resources/examples/ace/date/datelabel.xhtml:                    <h:commandButton id="submit" value="Submit"/>
        ./src/main/webapp/resources/examples/ace/date/dateminmax.xhtml:                <h:commandButton id="submit" value="Submit Date"/>
        ./src/main/webapp/resources/examples/ace/date/datepopup.xhtml:                <h:commandButton id="submit" value="Submit Date"/>
        ./src/main/webapp/resources/examples/ace/date/datereqstyle.xhtml:                <h:commandButton id="submit" value="Submit"/>
        ./src/main/webapp/resources/examples/ace/date/datetimeentry.xhtml:                    <h:commandButton id="submit" value="Submit"/>
        ./src/main/webapp/resources/examples/ace/dialog/dialog.xhtml:                        <h:commandButton id="submit" value="Click me once done with input" onclick="sampleDialog.hide();"/>
        ./src/main/webapp/resources/examples/ace/fileentry/failpop.xhtml:                        <h:commandButton id="submit" class="submit" type="submit" value="Send File"/>
        ./src/main/webapp/resources/examples/ace/fileentry/fileentry.xhtml:                            <h:commandButton id="submit" type="submit" value="Send File"/>
        ./src/main/webapp/resources/examples/ace/fileentry/fileEntryCallback.xhtml:					<h:commandButton id="submit" type="submit" value="Send File" />
        ./src/main/webapp/resources/examples/ace/fileentry/fileEntryListener.xhtml:                     <h:commandButton id="submit" type="submit" value="Send File"/>
        ./src/main/webapp/resources/examples/ace/fileentry/multiple.xhtml:                        <h:commandButton id="submit" class="submit" type="submit" value="Send File"/>
        ./src/main/webapp/resources/examples/ace/fileentry/validation.xhtml:                     <h:commandButton id="submit" type="submit" value="Send File"/>
        ./src/main/webapp/resources/examples/ace/slider/sliderSubmition.xhtml:                        <h:commandButton id="submit" style="width:200px;" type="submit" value="Set Slider Value"/>
        
        Show
        Deryk Sinotte added a comment - A search for id="submit" in the showcase app finds the following: grep -R "id=\"submit\"" . ./src/main/webapp/resources/examples/ace/date/dateentry.xhtml: <h:commandButton id="submit" value="Submit Date"/> ./src/main/webapp/resources/examples/ace/date/dateindicator.xhtml: <h:commandButton id="submit" value="Submit"/> ./src/main/webapp/resources/examples/ace/date/datelabel.xhtml: <h:commandButton id="submit" value="Submit"/> ./src/main/webapp/resources/examples/ace/date/dateminmax.xhtml: <h:commandButton id="submit" value="Submit Date"/> ./src/main/webapp/resources/examples/ace/date/datepopup.xhtml: <h:commandButton id="submit" value="Submit Date"/> ./src/main/webapp/resources/examples/ace/date/datereqstyle.xhtml: <h:commandButton id="submit" value="Submit"/> ./src/main/webapp/resources/examples/ace/date/datetimeentry.xhtml: <h:commandButton id="submit" value="Submit"/> ./src/main/webapp/resources/examples/ace/dialog/dialog.xhtml: <h:commandButton id="submit" value="Click me once done with input" onclick="sampleDialog.hide();"/> ./src/main/webapp/resources/examples/ace/fileentry/failpop.xhtml: <h:commandButton id="submit" class="submit" type="submit" value="Send File"/> ./src/main/webapp/resources/examples/ace/fileentry/fileentry.xhtml: <h:commandButton id="submit" type="submit" value="Send File"/> ./src/main/webapp/resources/examples/ace/fileentry/fileEntryCallback.xhtml: <h:commandButton id="submit" type="submit" value="Send File" /> ./src/main/webapp/resources/examples/ace/fileentry/fileEntryListener.xhtml: <h:commandButton id="submit" type="submit" value="Send File"/> ./src/main/webapp/resources/examples/ace/fileentry/multiple.xhtml: <h:commandButton id="submit" class="submit" type="submit" value="Send File"/> ./src/main/webapp/resources/examples/ace/fileentry/validation.xhtml: <h:commandButton id="submit" type="submit" value="Send File"/> ./src/main/webapp/resources/examples/ace/slider/sliderSubmition.xhtml: <h:commandButton id="submit" style="width:200px;" type="submit" value="Set Slider Value"/>
        Hide
        Ken Fyten added a comment -

        Assigned to Judy to search/replace the "submit" id instances with something less offensive to IE, such as "submit1".

        Show
        Ken Fyten added a comment - Assigned to Judy to search/replace the "submit" id instances with something less offensive to IE, such as "submit1".
        Hide
        Judy Guglielmin added a comment -

        rev. 41577

        Show
        Judy Guglielmin added a comment - rev. 41577

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: