3 Replies Latest reply on Sep 15, 2008 5:13 AM by abelevich

    Issues combobox component

    mkuiper

      Hello,

      I'm developing an application in which I use your combobox component. It works great for the most part but there are a few issues which stop me from fully implementing it.

      I'm not sure if this makes a difference, but please note that I create the component dynamically using Java code.

      • There's a setWidth() method but no setHeight() method. To make the combobox blend in with the rest of the form components I use I need to tweak it's height a little. I have a rather ugly workaround for it now which involves setting it's height with javascript after it has rendered, so a height attribute would be great!

      • The onfocus event doesn't work.

      • The onkeydown event doesn't work when pressing enter (the component catches the enter key itself, but forgets to pass it on).

      • The dropdown list always appears when the focus moves to the control's input field (except when clicking it with the mouse). I find this breaks the fluidity of my forms somewhat when trying to move through controls quickly using the tab key. I would like to have an option through which I can set the list only to open when the dropdown button was clicked or the down key pressed.

      • The control doesn't rerender when it's on a tab which hasn't been visible yet. Test case: create a tab component with atleast two tabs and place a disabled combobox on the second tab. Now try to enable it through an ajax event and then go to the second tab.

        I use Richfaces 3.2.2.

        I hope you're able to look into these issues soon. Thanks and keep up the good work!

        Marc


        • 1. Re: Issues combobox component
          abelevich

          Hello,

          thanks for reporting this issues

          There's a setWidth() method but no setHeight() method. To make the combobox blend in with the rest of the form components I use I need to tweak it's height a little. I have a rather ugly workaround for it now which involves setting it's height with javascript after it has rendered, so a height attribute would be great!

          ok https://jira.jboss.org/jira/browse/RF-4465 created

          The onfocus event doesn't work.


          known bug https://jira.jboss.org/jira/browse/RF-3284

          The onkeydown event doesn't work when pressing enter (the component catches the enter key itself, but forgets to pass it on).


          ok https://jira.jboss.org/jira/browse/RF-4466 created

          The dropdown list always appears when the focus moves to the control's input field (except when clicking it with the mouse). I find this breaks the fluidity of my forms somewhat when trying to move through controls quickly using the tab key. I would like to have an option through which I can set the list only to open when the dropdown button was clicked or the down key pressed.


          ok https://jira.jboss.org/jira/browse/RF-4467 created

          The control doesn't rerender when it's on a tab which hasn't been visible yet. Test case: create a tab component with atleast two tabs and place a disabled combobox on the second tab. Now try to enable it through an ajax event and then go to the second tab.


          I'll test it ASAP.

          • 2. Re: Issues combobox component
            mkuiper

            Thank you very much for your reply. Looking forward to the next version. :-)

            • 3. Re: Issues combobox component
              abelevich

              Hello,

              Could you attach your page for this issue?


              The control doesn't rerender when it's on a tab which hasn't been visible yet. Test case: create a tab component with atleast two tabs and place a disabled combobox on the second tab. Now try to enable it through an ajax event and then go to the second tab.