[jboss-user] [JBoss Portal] - Re: Problem when deploying portlet

ice_casa do-not-reply at jboss.com
Mon Apr 21 05:11:50 EDT 2008


I have a similar problem
i had take a change a IFrame portlet and create new class portlet simular a IFrame class
my portlet.xml file is 

  |    <portlet>
  |       <portlet-name>SearchPortlet</portlet-name>
  |       <portlet-class>org.jboss.portlet.iframe.SearchPortlet</portlet-class>
  |       <supports>
  |          <mime-type>text/html</mime-type>
  |          <portlet-mode>VIEW</portlet-mode>
  |          <portlet-mode>EDIT</portlet-mode>
  |       </supports>
  |       <portlet-info>
  |          <title>Firewall Access Stats</title>
  |       </portlet-info>
  |    </portlet>
  | 
my portlet-instances.xml

  | <deployments>
  |    <deployment>
  |       <if-exists>overwrite</if-exists>
  |       <instance>
  |          <instance-id>SearchPortletInstance</instance-id>
  |          <portlet-ref>SearchPortlet</portlet-ref>
  |       </instance>
  |    </deployment>
  | </deployments>
  | 



the same error :


Failed to create instance SearchPortletInstance of portlet Searchportlet.SearchPortlet because portlet Searchportlet.SearchPortlet is not available


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145415#4145415

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145415



More information about the jboss-user mailing list