ICEfaces
  1. ICEfaces
  2. ICE-3046

Rapid clicking on anchors rendered with href="#" causes page load

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      browser

      Description

      When clicking rapidly on a HTML anchor <a href="#"....> it will use its default behavior instead the one defined in the event listeners. The solution for ICE-3044 could be applied to these components that render anchors with empty document fragment as URL:

      * DataPaginatorRenderer.java
      * MenuItem.java
      * PanelTabSetRenderer.java
      * TreeRenderer.java

        Issue Links

          Activity

          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Yip Ng [ yip.ng ]
          Mircea Toma made changes -
          Link This issue depends on ICE-3044 [ ICE-3044 ]
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16630 Mon May 12 11:17:12 MDT 2008 yip.ng ICE-3046
          Change dummy href attribute value from "#" to "javascript:;".
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSetRenderer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorRenderer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16629 Mon May 12 11:15:20 MDT 2008 yip.ng ICE-3046
          Change dummy href attribute value from "#" to "javascript:;".
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSetRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java
          Ken Fyten made changes -
          Affects Version/s 1.5 [ 10027 ]
          Affects Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Component/s Components [ 10012 ]
          Affects Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.7.1 [ 10122 ]
          Assignee Priority P2
          Assignee Yip Ng [ yip.ng ]
          Hide
          Mircea Toma added a comment -

          The rendered anchors should be changed from <a href="#" ...> to <a href="javascript:;"...> .

          Show
          Mircea Toma added a comment - The rendered anchors should be changed from <a href="#" ...> to <a href="javascript:;"...> .
          Mircea Toma created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: