aspose file tools
The moose likes JSF and the fly likes Problem with Richface Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Problem with Richface" Watch "Problem with Richface" New topic
Author

Problem with Richface

Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
Hi guys,

I am having a strange issue where my Richface page hangs (the progress bar embbed in the status bar at the bottom of your browser just advance very very slowly) and when it happens, I can't open my richface modal panel. I don't really quite know what happened and I need some suggestions, let me know if I need to post a specific chunck of code to resolve the issue here.

Thanks a bunch
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
Does anyone know this issue before, I use RichFace 3.1.5 and JSF 1.1_1

Thanks
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
I have notice that when my app hangs, the a4j buttons doesn't work but the h buttons can still work just fine. In fact, sometimes when it hangs, I had to click the h button to make it not hang. It's like there is a thread blocking somewhere in the richface 3.1.5 api since all my code is already executed and pop- off the stack.

Has anyone know this issue before and has anyone know any solutions?

Please help
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
So it seems like to me the h component cause my page to hang, not the a4j components. I can not reproduce this problem in Firefox, only happens in IE 8.

has anyone else experiencing this issue?
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
I have been striping richface components out of my facelets and I found my <rich:modalPanel> is causing my page to hang.

It's hard to believe I am the only person that experience this problem. Please, if you know something about this issue, share it here.

Thank you
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
<script type='text/javascript' src='/a4j_3_1_5.GA/org/ajax4jsf/framework.pack.js.jsf'></script>

This script cause my page to hang, but than this script is huge, would be nice to be able to zero in on where it cause my page to hang sometimes
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
I HAVE JUST FOUND MY SOLUTION

If any of you have the same problem with modal panel in IE8, check out this link

solution to modal panel hanging IE8

Oh my, it took me two weeks to find this, it's totally worth it
Roma Datta
Greenhorn

Joined: Jun 26, 2010
Posts: 3
can you make sure this happens the same way in all the browsers?
Richfaces may have cross browser issues if use combination of tags.


SCJP
Open Source is the world!
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
The issue was not due to combination use of the tags, it was due to the javascript that Richface supplies. My app is only for in-house use, it's not intended for outside customers so we only use IE as our default browser, so I don't understand what you mean by "make sure it works the same way in all browsers"
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Problem with Richface
 
Similar Threads
richface tree example
RichFace -> f:view is not a registered tag in that namespace.
Richface/Primefaces Elements are not rendered
Popuppanel+datatable in richface(JSF)
Struts2 with JSF and RichFace