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

rich:editor - wrong method names in JS API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.3.Final
    • Fix Version/s: 4.5.15
    • Component/s: doc
    • Labels:
      None
    • Environment:

      RichFaces 4.2.3.Final
      Metamer 4.2.3.20121017-Final
      Unknown version of JSF
      JBoss AS 7.1.1.Final
      Java(TM) SE Runtime Environment 1.7.0_07-b10 @ Linux
      Firefox 16.0 @ Linux x86_64

    • Steps to Reproduce:
      Hide
      1. deploy metamer and open http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml
      2. click on the "setReadonly()" or "isReadonly()" button
        • see errors in the javascript console
      Show
      deploy metamer and open http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml click on the "setReadonly()" or "isReadonly()" button see errors in the javascript console

      Description

      The following code

      #{rich:component('editor')}.isReadonly())
      

      causes the following error

      TypeError: RichFaces.$("form:editor").isReadonly is not a function
      ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                jpapouse Jan Papousek
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: