Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1029

Menu Item doen't work correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.2, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows XP SP2, Mozilla FF

      Description

      This code works good:

      <rich:menuItem value="#

      {app.addMediateActorMenuItem}" id="addElementItem" submitMode="none">
      <a4j:support action="#{graphBean.addMediateActor}" event="onclick" id="addMediateActorSupport"
      oncomplete="Richfaces.showModalPanel('#{graphBean.addElementModalPanelComponentClientId}');"
      reRender="#{graphBean.addElementUpdate}" limitToList="true"/>
      </rich:menuItem>

      This code doen't change page content, response contants nothing:
      <rich:menuItem value="#{app.addMediateActorMenuItem}

      " id="addElementItem" submitMode="ajax" action="#

      {graphBean.addMediateActor}

      " oncomplete="Richfaces.showModalPanel('#

      {graphBean.addElementModalPanelComponentClientId}

      ');"
      reRender="#

      {graphBean.addElementUpdate}

      " limitToList="true"/>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ayanul Aleksej Yanul
                Reporter:
                AlexanderBelov Alexander Belov
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: