| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/08/2008 12:05:51
|
crgio
Joined: 10/06/2008 00:00:00
Messages: 5
Offline
|
Hi...
I developed a portlet with JSF an ICEfaces, using liferay portal 5.0 and ICEfaces 1.7, I followed the developer's guide to make it, the portlet deployed correctly but the firebug catched 2 errors:
$element is not defined
http://localhost:8080/portal/web/guest/home
Line 461
and
"Tb6xb-M3P3-oqwwXYlL7rg:1:configuration-script".asElement is not a function
http://localhost:8080/portal/web/guest/home
Line 460
the javascript doesn't work either,
setFocus is not defined
iceSubmit is not defined
does anyone have idea!!!!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 05/08/2008 15:47:45
|
crgio
Joined: 10/06/2008 00:00:00
Messages: 5
Offline
|
Thanks to everyone...
The problem was resolved, based in the Neil Griffin (sample-icefaces-jsf-1.1-sun-facelets-portlet) I found the solution, some jars were missing
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/08/2008 12:07:55
|
andorscape
Joined: 20/01/2007 00:00:00
Messages: 3
Offline
|
could you please specify which exact jars you were missing cause i seem to have the same problem
cheers
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 12/08/2008 09:26:12
|
crgio
Joined: 10/06/2008 00:00:00
Messages: 5
Offline
|
Hi...
I don't remember exactly which jars was missing, but this are the jars in my project.
backport-util-concurrent.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-el.jar
commons-fileupload.jar
commons-logging.jar
icefaces-comps.jar
icefaces.jar
jsf-api-1.2.jar
jsf-impl-1.2.jar
commons-lang.jar
commons-validator.jar
oro.jar
jstl.jar
all imported, not taken from liferay.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 17/08/2008 07:13:10
|
andorscape
Joined: 20/01/2007 00:00:00
Messages: 3
Offline
|
the issue was related to icefaces compressing resources
when i switched it off some javascript errors disappeared
i am still having a hard time putting a gmap portlet together in the ext env
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/11/2009 10:14:13
|
caski
Joined: 21/08/2009 00:00:00
Messages: 1
Offline
|
Yes removing the compression did solved the problem.
You should have this in your web.xml
<context-param>
<param-name>com.icesoft.faces.compressResources</param-name>
<param-value>false</param-value>
</context-param>
Here the Jars I have right now. This is for icefaces+facelet portlet.
backport-util-concurrent
icefaces
icefaces-comps
icefaces-facelets
jsf-api
jsf-impl
My portlet is working as expected under Liferay 5.2.3 using tomcat 6.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 21/02/2010 21:38:27
|
venkat_sankar
Joined: 20/01/2010 00:00:00
Messages: 2
Offline
|
Hi,
I have the same issue,("Icesubmit is not defined" , because of this, none of the links in the page, works) but it doesnt happen all the time, once in a while i get this error and after restarting the server, it works for some time and the issue comes up again. So for now, restarting the server is the only solution we have. Can someone help us on this.
P.S : i have crossed checked the jars and also i have changed the value of com.icesoft.faces.compressResources in web.xml to false. It didnt work.
TIA
Rgds,
Venkat
|
|
|
 |
|
|