Permission denied with IE7

View: New views
3 Messages — Rating Filter:   Alert me  

Permission denied with IE7

by Monique :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

  when I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> in my JSF pages, I get a "Permission denied" JavaScript error with ajax4jsf.  Does anyone know how I can solve this problem?

Thanks in advance,

Monique

Re: Permission denied with IE7

by wbossons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think I know the solution to this problem, if you haven't already found it. What I did to get around this type of issue in my jsf with ajax4jsf application is write a PhaseListener that listens to the render_response phase of the lifecycle. In the afterPhase method, reset the content type to text/xhtml. (Ajax4Jsf makes it text/xml, so this step is needed to get the correct content type for transitional web apps.)

..\Wendy


Monique wrote:
Hi all,

  when I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> in my JSF pages, I get a "Permission denied" JavaScript error with ajax4jsf.  Does anyone know how I can solve this problem?

Thanks in advance,

Monique

Re: Permission denied with IE7

by Monique :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Wendy,

  I've solved the problem by using the new jars of RichFaces.  Anyway, thanks for the reply!

Monique


I think I know the solution to this problem, if you haven't already found it. What I did to get around this type of issue in my jsf with ajax4jsf application is write a PhaseListener that listens to the render_response phase of the lifecycle. In the afterPhase method, reset the content type to text/xhtml. (Ajax4Jsf makes it text/xml, so this step is needed to get the correct content type for transitional web apps.)

..\Wendy


Monique wrote:
Hi all,

  when I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> in my JSF pages, I get a "Permission denied" JavaScript error with ajax4jsf.  Does anyone know how I can solve this problem?

Thanks in advance,

Monique

LightInTheBox - Buy quality products at wholesale price