ICEfaces
  1. ICEfaces
  2. ICE-2253

gMap: Search results or map controls added on one page of application get displayed on all pages with different backing bean

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7DR#2
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat 5.5

      Description

      1) There are n number of pages in the application, all have their own backing beans
      2) Forward navigation rule has used in the faces-config.xml and each has scope set to session
      3) Search for an address on gMapTest page
      4) Go to gMapCtrl page
      5) The address searched on teh first page is displayed on the second page as well
      6) Add a control on gMapCtrl page
      7) Go back to first page the added control is displayed on this page as well

      The problem disappears if redirect is used in the navigation rule.

        Activity

        Hide
        Adnan Durrani added a comment -

        Its controversial to say if it is a bug or not?

        All pages are using the same level of component hierarchy with the same component ids. So when the page forward happens it uses the same javascript context and finding the same name of the GMap and reuses it.

        WORKAROUND:
        There is a an application level workaround, just to give a unique id to the GMap, if it has been defined on different pages with the same level of hierarchy and the "forward" is being used inside the navigation rules.

        Show
        Adnan Durrani added a comment - Its controversial to say if it is a bug or not? All pages are using the same level of component hierarchy with the same component ids. So when the page forward happens it uses the same javascript context and finding the same name of the GMap and reuses it. WORKAROUND: There is a an application level workaround, just to give a unique id to the GMap, if it has been defined on different pages with the same level of hierarchy and the "forward" is being used inside the navigation rules.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mandeep Hayher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: