Breadcrumb Breadcrumb
Community Links Community Links
Javadoc Links Javadoc Links
Community Forums Community Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
ClassNotFound Exception: PermissionsLinkTag
toggle
Hi all,

I am testing version 1.3.0 and I am getting this exception during deployment.

java.lang.ClassNotFoundException: org.edorasframework.portletfaces.taglib.component.PermissionsLinkTag

I have opened portletfaces.tld and found this:

<tag>
<name>permissionsLink</name>
<tag-class>org.edorasframework.portletfaces.taglib.component.PermissionsLinkTag</tag-class>
<!-- Basic HTML attributes: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage5.html#wp118992 -->

Where can I find the class. I solved problem temporarily by renaming portletfaces.tld to bak....

Thanks.
Flag Flag
RE: ClassNotFound Exception: PermissionsLinkTag
2/17/10 10:23 AM as a reply to Petar Banicevic.
Are your JSF views .jsp or .jspx? At this time we are only supporting Facelets, and you have discovered an unimplemented JSP feature in the codebase.
Flag Flag
RE: ClassNotFound Exception: PermissionsLinkTag
2/17/10 10:56 AM as a reply to Neil Griffin.
Well you have found a bug in my configuration that might causing me all kind of other problems and I wasn't aware of cause !

Can you see some problems with the configs below ? Btw, I still have css loss issue when changing views, so any comment is well come !

I am using facelets, xhtml, icefaces, jbos EL.

Thanks for everything.
P.

PS: Here are fragments of faces-config.xml

<view-handler>com.icesoft.faces.facelets.D2DFaceletViewHandler</view-handler>

Here are fragments of web.xml

<context-param>
<param-name>com.icesoft.faces.hiddenPortletAttributes</param-name>
<param-value>COMPANY_ID LAYOUT RENDER_PORTLET THEME_DISPLAY</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>


BTW; thanks for answer in your blog about "hiddenPortletAttributes"

<!-- PORTLET FACES BY NEIL - Spring XmlWebApplicationContext bean definition files -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext*.xml</param-value>
</context-param>
<!-- PORTLET FACES BY NEIL - Spring XmlWebApplicationContext class -->
<context-param>
<param-name>contextClass</param-name>
<param-value>com.liferay.portal.spring.context.PortletApplicationContext</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.compressResources</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.delegateNonIface</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.synchronousUpdate</param-name>
<param-value>false</param-value>
</context-param>

<listener>
<description>PORTLET FACES BY NEIL - Listener that starts up the XmlWebApplicationContext IOC container (bean factory). Use for Liferay Spring.</description>
<listener-class>com.liferay.portal.kernel.spring.context.PortletContextLoaderListener</listener-class>
</listener>

<listener>
<description>ICEFACES SPECIFIC - REMOVE IF NOT USING ICEFACES</description>
<listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
</listener>

<!-- ICEFACES SPECIFIC - REMOVE IF NOT USING ICEFACES -->
<servlet>
<servlet-name>Persistent Faces Servlet</servlet-name>
<servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.iface</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>/xmlhttp/*</url-pattern>
</servlet-mapping>
Flag Flag
RE: ClassNotFound Exception: PermissionsLinkTag
2/17/10 11:26 AM as a reply to Petar Banicevic.
Regarding this bit of configuration:

<context-param>
<param-name>com.icesoft.faces.delegateNonIface</param-name>
<param-value>true</param-value>
</context-param>

Are you using just-ice.jar instead of icefaces.jar?

I am thinking that this could *possibly* be the reason why the portletfaces.tld file gave you a problem.

BTW, I just removed the portletfaces.tld artifact in SVN. The SNAPSHOT jar will be updated tonight. So this should solve the problem.
Flag Flag
RE: ClassNotFound Exception: PermissionsLinkTag
2/17/10 3:16 PM as a reply to Neil Griffin.
Neil,


icefaces.jar 1.7.2 and some patches above it....

PS: Here is list:

annotationPhaseListener.jar
backport-util-concurrent.jar
commons-beanutils.jar
commons-collections.jar
commons-configuration.jar
commons-digester.jar
commons-fileupload.jar
commons-lang.jar
commons-logging.jar
commons-validator.jar
displaytag.jar
easyconf.jar
el-api.jar
el-ri.jar.old
EuresVJF-service.jar
icefaces-comps.jar
icefaces-facelets.jar
icefaces.jar
jboss-el.jar
jboss-el.jar.old
jsf-api.jar
jsf-impl.jar
jstl-1.2.jar.not_used_not_tested
jstl.jar
lib.rar
log4j.jar
My_Calendar_new-service.jar
My_Groups.jar
org.edorasframework.extfaces-1.3.0-SNAPSHOT.jar
org.edorasframework.liferay.5.1.adapter-1.3.0-SNAPSHOT.jar
org.edorasframework.portletfaces-1.3.0-SNAPSHOT.jar
oro.jar
petar.txt
portletfaces-sun-0.9.2-Petar-0.1.jar.old
slf4j-api-1.5.6.jar
slf4j-log4j12-1.5.6.jar
standard.jar
util-bridges.jar
util-java.jar
util-taglib.jar
xstream.jar
Flag Flag