9 Replies Latest reply on Sep 2, 2010 7:43 AM by porek

    s:selectItems is too slow

    ivicac

      I have aplication with seam 2.0.1 and s:selectItems component works normally but with 2.0.2CR2 it becomes too slow.
      Description       
         I have aplication with seam 2.0.1 and s:selectItems component works normally but with 2.0.2CR2 it becomes too slow.


        • 1. Re: s:selectItems is too slow
          tino4

          Hi,
          have you already found the solution of your problem?
          i have almost the same problem like yours.
          i have just upgraded my jboss AS from 4.0.5.GA to 4.2.2.GA and my seam from 1.2.1.GA to 2.0.2.GA.


          all my applications with s:convertentity ran fast in old version but work very slowly in the new one.


          i have followed the to do list in migratetoJboss4.2.txt and also the same thing in seam.


          is it a bug of seam 2 or i don't have the right config of my seam?
          has anyone alse had or does have the same problem?


          here is my config in components.xml :



          
          <?xml version="1.0" encoding="UTF-8"?> 
          <components xmlns="http://jboss.com/products/seam/components"
                      xmlns:core="http://jboss.com/products/seam/core"
                      xmlns:bpm="http://jboss.com/products/seam/bpm"
                      xmlns:persistence="http://jboss.com/products/seam/persistence"
                      xmlns:security="http://jboss.com/products/seam/security"
                      xmlns:framework="http://jboss.com/products/seam/framework"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation=
                          "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
                           http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
                           http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
                           http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                           http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.0.xsd
                           http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
          
          
          
              <component name="org.jboss.seam.core.init">
                  <property name="debug">true</property>
                  <property name="myFacesLifecycleBug">false</property>
                  <property name="jndiPattern">my/#{ejbName}/local</property>
              </component>
              
                  <component  name="entityManager" auto-create="true" 
                                          class="org.jboss.seam.persistence.ManagedPersistenceContext">
                          <property name="persistenceUnitJndiName">java:/EntityManagerFactories/myEMF</property>
                  </component>
                  
                  <component class="org.jboss.seam.web.MultipartFilter">
                          <property name="createTempFiles">true</property>
                          <property name="maxRequestSize">10000000</property>
                  </component>
                  
                  
                  <component name="org.jboss.seam.ui.EntityConverter">
                          <property name="entityManager">#{entityManager}</property>
                  </component>
          
          
          </components>
          
          




          do i miss something?


          thx in advance for any helps


          cheers


          tino






          • 2. Re: s:selectItems is too slow
            pmuir

            Unfortunately, a known issue. It will be fixed for 2.1

            • 3. Re: s:selectItems is too slow
              tino4

              Oh...Ok
              I'll be waiting for seam 2.1


              thx for your info
              cheers

              • 4. Re: s:selectItems is too slow
                infinity2heaven

                Could you tell us what this known issue is? I have loads of <s:selectItems/> and is a huge performance hit in my dataTables too. If there's a workaround, maybe we can include that

                • 5. Re: s:selectItems is too slow
                  pmuir

                  The known issue is that the one in 2.x is much slower than the one in 1.2 (I'm not quite sure exactly why), but probably I made a naive assumption somewhere which is slow. Profile it, find it, report it.

                  • 6. Re: s:selectItems is too slow
                    www.supernovasoftware.com

                    So is there a jira for this?

                    • 7. Re: s:selectItems is too slow
                      pmuir
                      • 8. Re: s:selectItems is too slow
                        www.supernovasoftware.com

                        Is there any chance this will be back ported to the 2.0.x branch?

                        • 9. Re: s:selectItems is too slow

                          Hello Everybody !!
                          I'm using SEAM  2.1.1.GA and i still have the same problem.selectitems takes too time to load...
                          My page contains a scrollabledatatable in a tabpanel.Each entry of the table contains a combobox.switching from tab to another takes too time due to selectitems.
                          Thx you in advance !!