Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Richface  RSS feed

 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know this issue before, I use RichFace 3.1.5 and JSF 1.1_1

Thanks
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you make sure this happens the same way in all the browsers?
Richfaces may have cross browser issues if use combination of tags.
 
Davie Lin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!