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

        Deryk Sinotte created issue -
        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"/>
        Deryk Sinotte made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.0.BETA [ 10770 ]
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        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".
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Priority Major [ 3 ] Minor [ 4 ]
        Affects Sample App./Tutorial [ 10001 ]
        Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41577 Wed Jul 02 17:06:48 MDT 2014 judy.guglielmin ICE-9352
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/datelabel.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/datepopup.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/slider/sliderSubmition.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dialog/dialog.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/dateindicator.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/multiple.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryCallback.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/failpop.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/datetimeentry.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/dateminmax.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/datereqstyle.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/fileEntryListener.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/date/dateentry.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/validation.xhtml
        Hide
        Judy Guglielmin added a comment -

        rev. 41577

        Show
        Judy Guglielmin added a comment - rev. 41577
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: