RichFaces
  1. RichFaces
  2. RF-1620

componentControl: does not transmit parametres in condextMenu

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Minor Minor
    • Resolution: Out of Date Out of Date
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      jsp
      tomcat 6.0.13
    • Similar Issues:
      Show 10 results 

      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>

        Activity

        Hide
        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
        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
        Pavel Yaschenko
        added a comment -

        Works fine in 3.3.0 SNAPSHOT

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

          People

          • Assignee:
            Aleksandr Dubovsky
            Reporter:
            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