RichFaces
  1. RichFaces
  2. RF-1500

contextMenu: request fired after every time menu called

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Critical Critical
    • Resolution: Done
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Affects:
      Interactive Demo/Tutorial
    • Similar Issues:
      Show 10 results 

      Description

      <rich:contextMenu attached="false" id="menu" submitMode="ajax">
      <rich:menuItem value="Show Details">
      <a4j:actionparam name="current" value="Show Details" assignTo="#

      {ddmenu.current}"/>
      </rich:menuItem>
      <rich:menuGroup value="Actions">
      <rich:menuItem value="Put To Basket">
      <a4j:actionparam name="current" value="Put To Basket" assignTo="#{ddmenu.current}

      "/>
      </rich:menuItem>
      <rich:menuItem value="Read Comments">
      <a4j:actionparam name="current" value="Read Comments" assignTo="#

      {ddmenu.current}"/>
      </rich:menuItem>
      <rich:menuItem value="Go to {car} {model} site">
      <a4j:actionparam name="current" value="Go to #{car.make} #{car.model} site" assignTo="#{ddmenu.current}

      "/>
      </rich:menuItem>
      </rich:menuGroup>
      </rich:contextMenu>
      <rich:dataGrid value="#

      {dataTableScrollerBean.allCars}

      " var="car" columns="4" elements="12">
      <rich:panel id="panel">
      <rich:componentControl attachTo="panel" event="oncontextmenu" for=":form:menu" operation="doShow">
      <f:param value="#

      {car.model}" name="model"/>
      <f:param value="#{car.make}" name="car"/>
      </rich:componentControl>
      <f:facet name="header">
      <h:outputText value="#{car.make} #{car.model}

      "></h:outputText>
      </f:facet>
      <h:panelGrid columns="2">
      <h:outputText value="Price:" styleClass="label"></h:outputText>
      <h:outputText value="#

      {car.price}

      " />
      <h:outputText value="Mileage:" styleClass="label"></h:outputText>
      <h:outputText value="#

      {car.mileage}

      " />
      <h:outputText value="VIN:" styleClass="label"></h:outputText>
      <h:outputText value="#

      {car.vin}

      " />
      <h:outputText value="Stock:" styleClass="label"></h:outputText>
      <h:outputText value="#

      {car.stock}

      " />
      </h:panelGrid>
      </rich:panel>
      <f:facet name="footer">
      <rich:datascroller></rich:datascroller>
      </f:facet>
      </rich:dataGrid>

      After I perform right click - I'm able to see in Firebug that request was performed to load spacer.gif

        Activity

        Hide
        Maksim Kaszynski
        added a comment -

        Explore posibility to remove spacer.gif from template

        Show
        Maksim Kaszynski
        added a comment - Explore posibility to remove spacer.gif from template

          People

          • Assignee:
            Aleksej Yanul
            Reporter:
            Ilya Shaikovsky
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: