1 2 Previous Next 19 Replies Latest reply on Oct 11, 2010 8:50 AM by mahi101987 Go to original post
      • 15. Re: Which Component to use  in Rich Faces ?
        mahi101987

        Hi All ,

         

        I need this kind of functionality in rich faces . i am attaching the screenshot of the type of the functionality i need. Depending on the value selected from the first list box , different values should be populated in the second list box . From what i know about rich faces , we first of all dont have the list box component . So i am stuck here . I am unable to proceed from here ? Please suggest

         

        2.JPG

         

         

        Another Question ,

         

        Also i need a drop down list component in rich faces . Can somebody let me know what is the compatible component here in rich faces ?

         

         

         

        Thanks

        Mahendra

        • 16. Re: Which Component to use  in Rich Faces ?
          ilya_shaikovsky

          have you checked the livedemo example from my first answer? You could download source code and check the beans with page code locally and change the inplaces used there to standard listboxes easilly.

           

          about drop down - we have combobox - but it's input component with client suggestions and if you need select component - use standard selects from JSF.

          • 17. Re: Which Component to use  in Rich Faces ?
            mahi101987

            hi Ilya ,

             

            I believe you are talking about the dependable list of options . Yes i have seen that example , the main point is to find out which tag is used to generate listboxes . As far as i have seen we have three kinds of lists , picklist etc , but if i am using those lists then i am getting some extra buttons which i dont need .  

             

            Can i use standard jsf tage to generate my list box and drop down list ?

             

            If i use them does they have a different look and feel when compared to the rich faces tags ?

             

            Thanks

            Mahendra

            • 18. Re: Which Component to use  in Rich Faces ?
              ilya_shaikovsky

              1) Yes, in your case (dependent boxes) you need to use standard h:selectMany(One?)Listbox components. Because you case as I see requires two selection component with different selection lists? And pickList - single selection component which just represent selection/available options as two lists.

               

              About look and feel - our standard skinning feature adds some skinning for standard components for sure. But some browsers could just not support some CSS for standard components. But there we really limited by standard components renderers and browser's support of CSS.

               

              2) The second solution could be two orderingList components usage. Just remove buttons using attribute - and them will look the same as pickList ListShuttle and other RF components. But using OL - take care of converter for objects and equals and hashCode methods. Example of management of selection in such component - http://livedemo.exadel.com/richfaces-demo/richfaces/orderingList.jsf

              • 19. Re: Which Component to use  in Rich Faces ?
                mahi101987

                thanks Ilya ,

                 

                Will try both the options you suggested and revert back for any clarifications

                 

                Can we remove the buttons which we have in the ordering list ?

                 

                Thanks

                Mahendra

                1 2 Previous Next