I am new to portals and i am trying to deploy 2 portlets in the same war in 
jboss.

I defined both portlets in portal.xml and portlet-instances.xml but only 1 of 
my portlet instance is registered with jboss portal on startup

My portal.xml and portal-instance.xml are

<?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 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
             version="1.0">
 
      <portlet-name>SecondPortlet</portlet-name>
      <portlet-class>org.jboss.portlet.SecondPortlet</portlet-class>
      
         <mime-type>text/html</mime-type>
         <portlet-mode>VIEW</portlet-mode>
      
      <portlet-info>
         SecondPortlet
      </portlet-info>
    
 

      <portlet-name>FirstPortlet</portlet-name>
      <portlet-class>org.jboss.FirstPortlet</portlet-class>
      
         <mime-type>text/html</mime-type>
         <portlet-mode>VIEW</portlet-mode>
      
      <portlet-info>
         First Portlet
      </portlet-info>
   
</portlet-app>

<?xml version="1.0" standalone="yes"?>

   
      
         <instance-id>FirstInstance</instance-id>
         <portlet-ref>FirstPortlet</portlet-ref>
      
      
         <instance-id>SecondInstance</instance-id>
         <portlet-ref>SecondPortlet</portlet-ref>
      
   


can somebody help me please



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078901
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to