ICEmobile
  1. ICEmobile
  2. MOBI-485

ContentMenuItem rendering 'parent' js argument which isn't used in layoutmenu.js

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description


      The ContentMenuItem renderer is rendering the argument 'parent' for the js call using the value of the contentNavBar. But this doesn't seemed to be used in the script. We should remove it if it's not needed.


      StringBuilder sb = new StringBuilder("mobi.layoutMenu.showContent('").append(stackClientId);
                          sb.append("', event");
                          sb.append(",{ selectedId: '").append(item.getValue()).append("'");
                          sb.append(",singleSubmit: ").append(item.isSingleSubmit());
                          sb.append(", parent: '").append(navBar.getClientId(facesContext)).append("'");

        Issue Links

          Activity

            People

            • Assignee:
              Philip Breau
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: