ICEfaces
  1. ICEfaces
  2. ICE-4850

Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      inputRichText + focus

      Description

      Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19179 Thu Aug 20 13:39:52 MDT 2009 adnan.durrani Fix for ICE-4850(Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Adnan Durrani created issue -
        Adnan Durrani made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adnan Durrani made changes -
        Summary Focus can not be set on inputRichText using application level setFous API or "focus" attribute on outputBody component Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        Description Focus can not be set on inputRichText using application level setFous API or "focus" attribute on outputBody component Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component
        Hide
        Adnan Durrani added a comment -

        Fixed:

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\InputRichTextRenderer.java
        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\InputRichTextRenderer.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Completed: At revision: 19179

        Show
        Adnan Durrani added a comment - Fixed: Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\InputRichTextRenderer.java Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\InputRichTextRenderer.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Completed: At revision: 19179
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Joanne Bai added a comment -

        Adnan, is this a duplicate of ICE-4760?

        Show
        Joanne Bai added a comment - Adnan, is this a duplicate of ICE-4760 ?
        Hide
        Ken Fyten added a comment -

        Let's try to implement this feature in a more deterministic manner (aka without using a timer and polling technique).

        Perhaps the component can track it's "readiness" state internally and depending on that either immediately set focus on the edit pane if it's "ready", otherwise set a flag that focus should be set and when the "onReady" event occurs it checks the flag and sets focus if the flag is set (and resets the flag, of course).

        Show
        Ken Fyten added a comment - Let's try to implement this feature in a more deterministic manner (aka without using a timer and polling technique). Perhaps the component can track it's "readiness" state internally and depending on that either immediately set focus on the edit pane if it's "ready", otherwise set a flag that focus should be set and when the "onReady" event occurs it checks the flag and sets focus if the flag is set (and resets the flag, of course).
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19197 Thu Aug 27 08:14:05 MDT 2009 adnan.durrani Fix for ICE-4850 reopen (Focus can not be set on inputRichText using application level setFocus API or "focus" attribute on outputBody component)
        Removed the polling based technique, used queue mechanism instead.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Hide
        Adnan Durrani added a comment -

        Removed the polling based technique, used queue mechanism instead.

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Completed: At revision: 19197

        Show
        Adnan Durrani added a comment - Removed the polling based technique, used queue mechanism instead. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Completed: At revision: 19197
        Adnan Durrani made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19943 Thu Dec 10 14:01:36 MST 2009 adnan.durrani 1.8.2EE inputRichText changes moved to Compat inputRichText towards ICE-4481. The changes include the fix of following JIRAs ICE-4495, ICE-4424, ICE-3965, ICE-4698, ICE-4760, ICE-4850, ICE-4758, ICE-4961
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/fckeditor.zip
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Adnan Durrani
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: