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

componentControl: does not transmit parametres in condextMenu

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      jsp
      tomcat 6.0.13

      Description

      <rich:contextMenu id="ccContextMenuID" submitMode="ajax" onexpand="alert(event.parameters.name)">
      <rich:menuItem icon="/pics/header.png" value="tab1">
      </rich:menuItem>
      \ <rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID" operation="show" />

      <h:commandButton id="aaaa" value="sdsafsa" >
      <rich:componentControl for="ccContextMenuID" event="onclick" disableDefault="true" operation="expand" params="name:'ssss'"/>
      </h:commandButton>

        Gliffy Diagrams

          Activity

          Hide
          ayanul Aleksej Yanul added a comment -

          <rich:contextMenu id="ccContextMenuID" submitMode="ajax" onexpand="alert(event.parameters.name)">
          <rich:menuItem icon="/pics/header.png" value="tab1">
          </rich:menuItem>
          </rich:contextMenu>
          <rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID" operation="show" /> <h:commandButton id="aaaa" value="sdsafsa" >
          <rich:componentControl for="ccContextMenuID" event="onclick" disableDefault="true" operation="show" params="name:'ssss'"/>
          </h:commandButton>

          Show
          ayanul Aleksej Yanul added a comment - <rich:contextMenu id="ccContextMenuID" submitMode="ajax" onexpand="alert(event.parameters.name)"> <rich:menuItem icon="/pics/header.png" value="tab1"> </rich:menuItem> </rich:contextMenu> <rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID" operation="show" /> <h:commandButton id="aaaa" value="sdsafsa" > <rich:componentControl for="ccContextMenuID" event="onclick" disableDefault="true" operation="show" params="name:'ssss'"/> </h:commandButton>
          Hide
          pyaschenko Pavel Yaschenko added a comment -

          Works fine in 3.3.0 SNAPSHOT

          Show
          pyaschenko Pavel Yaschenko added a comment - Works fine in 3.3.0 SNAPSHOT

            People

            • Assignee:
              adubovsky Aleksandr Dubovsky
              Reporter:
              ayanul Aleksej Yanul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development