RichFaces
  1. RichFaces
  2. RF-1482

componentControl: <h:commandButton onclick = " return false; "...> does not show modalPanel

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      tomcat 6.0.13
      jsf 1.1
      FF
    • Similar Issues:
      Show 10 results 

      Description

      <rich:modalPanel id="ccModalPanelID" onshow="alert(event.parameters.show)" onhide="alert(event.parameters.hide)">
      <h:outputLink id="hideButton1ID" onclick="return false;" value="Close" ><f:verbatim>Close 1</f:verbatim></h:outputLink>
      <f:verbatim><br/></f:verbatim>
      <h:outputLink id="hideButton2ID" onclick="return false;" value="Close" ><f:verbatim>Close 2</f:verbatim></h:outputLink>
      </rich:modalPanel>
      <h:commandButton onclick="return false;" id="showButtonID" value="show" >
      <rich:componentControl for="ccModalPanelID" event="onclick" operation="show" params="show:'componentControl work(show)'" />
      </h:commandButton>

        Activity

        Hide
        Maksim Kaszynski
        added a comment -

        Known issue of support-like components. Could not be fixed.

        Added disableDefault attribute to componentControl - use it instead of return false.

        <h:commandButton value="zzz">
        <cc:componentControl for="m" event="onclick" operation="show" disableDefault="true">
        <f:param name="param" value="Hallo!"></f:param>
        </cc:componentControl>
        </h:commandButton>

        Show
        Maksim Kaszynski
        added a comment - Known issue of support-like components. Could not be fixed. Added disableDefault attribute to componentControl - use it instead of return false. <h:commandButton value="zzz"> <cc:componentControl for="m" event="onclick" operation="show" disableDefault="true"> <f:param name="param" value="Hallo!"></f:param> </cc:componentControl> </h:commandButton>

          People

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

            Dates

            • Created:
              Updated:
              Resolved: