Forums de discussion

My liferay portlet doesn't work!!

thumbnail
Sergio Alejandro Muñoz, modifié il y a 15 années.

My liferay portlet doesn't work!!

New Member Publications: 24 Date d'inscription: 03/06/08 Publications récentes
Hi...

I developed a portlet with JSF and ICEfaces, using liferay portal 5.0 and ICEfaces 1.7, I followed the ICEfaces 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!!!!
thumbnail
Lari Tuominen, modifié il y a 15 années.

RE: My liferay portlet doesn't work!!

Expert Publications: 283 Date d'inscription: 07/11/07 Publications récentes
Hi Sergio,

Not sure if you know this, but you can find several sample ICEfaces-JSF portlets from liferay's repository, that Neil Griffin has written. Usually if I develop portlet with ICEfaces I'm starting from those samples.

- Lari
thumbnail
Sergio Alejandro Muñoz, modifié il y a 15 années.

RE: My liferay portlet doesn't work!!

New Member Publications: 24 Date d'inscription: 03/06/08 Publications récentes
Thanks lari...

when I started to develop my ICEfaces portlet I used the ICEfaces developer's guide and the Neil Griffin sample, but the outcome was the one I pointed before. However I will review the Neil Griifin sample to search for any fail in my code.
thumbnail
Sergio Alejandro Muñoz, modifié il y a 15 années.

RE: My liferay portlet doesn't work!!

New Member Publications: 24 Date d'inscription: 03/06/08 Publications récentes
Thanks to everyone...

The problem was resolved, based in the Neil Griffin sample I found the solution, some jars were missing.
b v j, modifié il y a 15 années.

RE: My liferay portlet doesn't work!

New Member Publications: 24 Date d'inscription: 28/04/08 Publications récentes
Sergio, could you describe which jars were missing?
thumbnail
Sergio Alejandro Muñoz, modifié il y a 15 années.

RE: My liferay portlet doesn't work!

New Member Publications: 24 Date d'inscription: 03/06/08 Publications récentes
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 in the project, not taken from liferay.