I forget about  <t:dataTable> datascroller. I know during request lyfecycle 
first time getter method is invoked, some internal datascroller variables are 
calculated, for example: pageIndex, pageCount, in order to paginate. 

So , I wonder if it is possible to alter request lyfecycle. I tried it once but 
it didn't work. Pagination brokedown. 


----- Mensaje original ----
De: Richard Yee <[EMAIL PROTECTED]>
Para: MyFaces Discussion <[email protected]>
Enviado: jueves, 27 de septiembre, 2007 14:14:07
Asunto: Re: Perfomance problem with JSF


How are you using your LDAP ArrayList? Should you be using a Map 
instead? Is the getter/setter in a ManagedBean or somewhere else? Are 
you doing more in your getter than just returning an instance variable?

Angel Miralles Arevalo wrote:
> Hi everybody, I have a perfomance problem with JSF. I have a 
> java arraList attribute. This attribute have getter and setter 
> methods. It is used to store LDAP users, so I have to access LDAP in 
> getter method.
>  
> Because of the lifecycle the getter is invoked twice, so LDAP access 
> is twice too. The problem is my LDAP has around 15000 users. My web 
> application is getting very slow.
>  
> How can I customize this behaviour??
>  
> Thanks in advanced.
>
> ------------------------------------------------------------------------
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! 
> <http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html>.


       
____________________________________________________________________________________
Sé un Mejor Amante del Cine                         
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html

Reply via email to