[jboss-user] [JBoss Portal] - Re: Problem with IFramePortlet and Stock News Portlet.
portalgeek
do-not-reply at jboss.com
Fri Oct 27 13:28:56 EDT 2006
Hi,
I have the same problem with IFrame Portlet.
| org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.jboss.portal.portlet.taglib.DefineObjectsTagTEI
|
|
I saw your reply, but did not understand completely. Can you be more explicit regarding what changes have to be made in portlet.tld and portal.xml
My portlet.tld looks as follows:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
| <taglib>
|
| <tlib-version>1.0</tlib-version>
| <jsp-version>1.2</jsp-version>
| <short-name>portlet</short-name>
|
| <uri>http://java.sun.com/portlet</uri>
|
| <tag>
|
| <name>param</name>
| <tag-class>org.jboss.portal.portlet.taglib.URLParameterTag</tag-class>
| <body-content>empty</body-content>
|
| <attribute>
| <name>name</name>
| <required>true</required>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>value</name>
| <required>true</required>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
|
| </tag>
| <tag>
|
| <name>defineObjects</name>
| <tag-class>org.jboss.portal.portlet.taglib.DefineObjectsTag</tag-class>
| <tei-class>org.jboss.portal.portlet.taglib.DefineObjectsTagTEI</tei-class>
| <body-content>empty</body-content>
|
| </tag>
| <tag>
|
| <name>namespace</name>
| <tag-class>org.jboss.portal.portlet.taglib.NamespaceTag</tag-class>
| <body-content>empty</body-content>
|
| </tag>
| <tag>
|
| <name>renderURL</name>
| <tag-class>org.jboss.portal.portlet.taglib.RenderURLTag</tag-class>
| <tei-class>org.jboss.portal.portlet.taglib.GenerateURLTagTEI</tei-class>
| <body-content>JSP</body-content>
|
| <attribute>
| <name>portletMode</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>secure</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>var</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>windowState</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
|
| </tag>
| <tag>
|
| <name>actionURL</name>
| <tag-class>org.jboss.portal.portlet.taglib.ActionURLTag</tag-class>
| <tei-class>org.jboss.portal.portlet.taglib.GenerateURLTagTEI</tei-class>
| <body-content>JSP</body-content>
|
| <attribute>
| <name>portletMode</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>secure</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>var</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
| <attribute>
| <name>windowState</name>
| <rtexprvalue>true</rtexprvalue>
|
| </attribute>
|
| </tag>
|
| </taglib>
|
|
My Portlet.xml looks ad follows
| <?xml version="1.0" encoding="UTF-8"?>
| <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd /opt/SUNWps/dtd/portlet.xsd"
| version="1.0">
| <portlet>
| <portlet-name>IFramePortlet</portlet-name>
| <portlet-class>org.jboss.portlet.iframe.IFramePortlet</portlet-class>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| <portlet-mode>EDIT</portlet-mode>
| </supports>
| <portlet-info>
| <title>IFrame</title>
| </portlet-info>
| </portlet>
| </portlet-app>
|
I am using JbossPortal 2.4
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981373#3981373
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981373
More information about the jboss-user
mailing list