3 Replies Latest reply on Oct 31, 2007 10:05 AM by maruthi g

    urgent help required for showing portlet

    rahul kumar Newbie

      hi guys,
      pls help me out. i have already a jboss- seam project and i want to display portlet window in it. just tell me how to start with that.

        • 1. Re: urgent help required for showing portlet
          Thomas Heute Master

          If you have urgent needs , please consider our professional support. This forum has no guarantee of answers

          https://www.redhat.com/apps/store/jboss/portal.html

          • 2. Re: urgent help required for showing portlet
            Selcuk Bozdag Newbie

            rahulJava,

            have you ever found a solution?

            • 3. Re: urgent help required for showing portlet
              maruthi g Newbie

              Hi
              To add window to existing portal use this example
              Here iam adding child window to the parent portlet
              For this u hav to configure 3 xml files
              Portlet.xml
              Portletinstance.xml
              Defaultobject.xml

              portlet.xml
              ....................................
              <portlet>
              <portlet id="child">
               <portlet-name>childPortlet</portlet-name>
               <portlet-class>
              com.counterpane.dashboard.portal.controller.jspportlet.JspPortlet
              </portlet-class>
               <init-param>
               <name>default-view</name>
               <value>/jsf/child.jsp</value>
               </init-param>
               <portlet-preferences>
               <preference>
               <name>contentPage</name>
               <value>/jsf/child.jsp</value>
               </preference>
               </portlet-preferences>
               <expiration-cache>0</expiration-cache>
               <supports>
               <mime-type>text/html</mime-type>
               </supports>
               <portlet-info>
               <title>child</title>
               </portlet-info>
               </portlet>
              portlet-instance.xml
              ........................................
              <deployment>
               <instance>
               <instance-id>childPortletInstance</instance-id>
               <portlet-ref>childPortlet</portlet-ref>
               </instance>
               </deployment>
              defaultobject.xml
              .......................................
              <page>
               <page-name>parent</page-name>
               <properties/>
               <window>
               <window-name>NavigationPortletWindow</window-name>
               <instance-ref>NavigationPortletInstance</instance-ref>
               <region>navigation</region>
               <height>0</height>
               <properties>
               <property>
               <name>theme.windowRendererId</name>
               <value>emptyRenderer</value>
               </property>
               <property>
               <name>theme.decorationRendererId</name>
               <value>emptyRenderer</value>
               </property>
               <property>
               <name>theme.portletRendererId</name>
               <value>emptyRenderer</value>
               </property>
               </properties>
               </window>
               <window>
               <window-name>child</window-name>
               <instance-ref>childPortletInstance</instance-ref>
               <region>choose any reion in ur project</region>
               <height>0</height>
               </window>
               </page>

              Note:in the tag choose any region in ur project