Tree Collapse/Expand not working in IE8

UI Components for JSF
Post Reply
lorenzo
Posts: 6
Joined: 25 May 2010, 18:12

23 Jul 2010, 16:50

Tree works fine with Firefox. But when I click on the expand/collapse icon of the tree, then a javascript error occurs.
Is this a bug? Is there a workaround?

Error Message on Internet Explorer:
Webpage error details
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Line: 10
Char: 2724
Code: 0
URI: http://localhost:7001/nus-ui/primefaces ... iew-min.js

Environment
AppServer: WLS 11g2
JSF: com.sun.faces (2.0.3)
Primefaces: 2.0.2

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Jul 2010, 23:10

Can you replicate it at online showcase?

http://www.primefaces.org:8080/prime-sh ... eeHome.jsf

lorenzo
Posts: 6
Joined: 25 May 2010, 18:12

26 Jul 2010, 13:53

It was not a bug.
The problem was in my css file:

Code: Select all

a.ygtvspacer {
	display: none;
}
Due to global css styles the link of the tree icon had an underline. To get rid of it, I put the diplay:none on the tree icon link.
With Mozilla it was still working, but on IE the a YIU js threw an error.
Now, I changed the css to text-decoration:none; and everything is working fine.

Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: chieddy and 13 guests