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

rich:componentControl doesn't work on commandButton

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.3.Final
    • Fix Version/s: 4.5.9
    • Component/s: component-misc
    • Labels:
    • Environment:

      Linux Fedora 16 x64, NetBeans 7.2, GlassFish 3.1.1, CDI/Weld/CODI, JSF2, RichFaces4.2.3, Hibernate3.2.5, Firebird 2.5.1

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide
      <h:form id="editDlgForm">
      ...
      <a4j:commandButton id="buttonCancel"...
      <rich:hotKey id="keyESC" key="esc" onkeydown="#{rich:element('editDlgForm:buttonCancel')}.click()" enabledInInput="true"/>
      
      Show
      <h:form id= "editDlgForm" > ... <a4j:commandButton id= "buttonCancel" ... <rich:hotKey id= "keyESC" key= "esc" onkeydown= "#{rich:element( 'editDlgForm:buttonCancel' )}.click()" enabledInInput= " true " />
    • Estimated Difficulty:
      Low

      Description

      When I try to use rich:hotkey with a4j:commandButton, it doesn't work. A detailed explanation about this is in the forum.

        Gliffy Diagrams

          Attachments

          1. test.java
            0.3 kB
          2. test.xhtml
            1 kB

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                edilmar Edilmar Alves
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: