my dog learned polymorphism*
The moose likes JSF and the fly likes Lazy loading while using Richfaces.showModal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Lazy loading while using Richfaces.showModal" Watch "Lazy loading while using Richfaces.showModal" New topic
Author

Lazy loading while using Richfaces.showModal

Amar Jarubula
Greenhorn

Joined: Jan 18, 2011
Posts: 5
Hi I am using the Richfaces.showModal in different places and I am including the html page using ui:include. To my understanding this modal loads while the parent page loads as I am using ui:include. However when the showModal is used the show the modal, the messages in the screen are loading quite slowly. I have tried different options but couldn't find the reason why this is happening. Somebody please help. tx
Aba Dov
Greenhorn

Joined: Jan 24, 2011
Posts: 6

Hi
please post the code example.
In general this could happen from various reasons.
Try to determine whether the loading time is caused in the server side or client side (using FireBug or similar), and progress from there
Regards
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

http://www.ibm.com/developerworks/java/library/j-jsf2/

Despite its age, this is still an excellent intro to how JSF works. As opposed to some of the "brute force" ways I've commonly seen out there which are overly-dependent on JSF internal methods and use of insecure data manipulation techniques.


Customer surveys are for companies who didn't pay proper attention to begin with.
Amar Jarubula
Greenhorn

Joined: Jan 18, 2011
Posts: 5
This is a great article. Thanks Tim.

Tim Holloway wrote:http://www.ibm.com/developerworks/java/library/j-jsf2/

Despite its age, this is still an excellent intro to how JSF works. As opposed to some of the "brute force" ways I've commonly seen out there which are overly-dependent on JSF internal methods and use of insecure data manipulation techniques.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Lazy loading while using Richfaces.showModal