I am using "jboss-portal-2.0-jboss-4.0.2" and getting the same error - 
org.jboss.portal.common.util.NoSuchElementException: Missing child 
component-ref of element instance

See the sample xml code - 
--portlet.xml
<portlet-app>
    
        <portlet-name>MyTest</portlet-name>
        <display-name>My test</display-name>
        <portlet-class>mypackage.MyTest</portlet-class>
                <expiration-cache>0</expiration-cache>
                
                    <mime-type>text/html</mime-type>
                    <portlet-mode>EDIT</portlet-mode>
                    <portlet-mode>HELP</portlet-mode>
                
    
</portlet-app>

--jboss-app.xml
<jboss-app>
    <app-name>MyTest</app-name>
</jboss-app>

--jboss-portlet.xml
<portlet-app>
   
           <portlet-name>mytest</portlet-name>
   
</portlet-app>

--portlet-instances.xml
<?xml version="1.0" standalone="yes"?>

   
      <instance-name>MyTestInstance</instance-name>
      <component-name>MyTest</component-name>
   


--mytest-pages.xml

   <portal-name>default</portal-name>
   
      <page-name>mytest</page-name>
      
         <window-name>MyTestWindow</window-name>
         <instance-ref>mytest.MyTest.MyTestInstance</instance-ref>
         true
         left
         0
      
   


i tried to get the samples from 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortalSamples, which 
unfortunately is not accessible for last 2 days!!

i didn't define the *-portal.xml since i am using default. Any error in above 
xmls ?

Could you send or paste some working samples ?

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to