0 Replies Latest reply on Feb 1, 2006 3:51 AM by davinchi

    NewbieQuestion

    davinchi

      Hi All,

      Does anybody know the difference between

      a) creating portlet instances from the management console
      (which comes on logging in with admin/admin )

      b) creating portlet instances using *-object.xml

      For eg:

      I can create an instance of cmsportlet using management console
      OR
      I can create it using the following mapping (after making the relevant entry in portlets.xml)

       <deployment>
       <if-exists>overwrite</if-exists>
       <parent-ref>HelloPortal</parent-ref>
       <page>
       <page-name>home</page-name>
      
       <window>
       <window-name>CMSPortletWindow</window-name>
       <instance-ref>CMSPortletInstance</instance-ref>
       <region>center</region>
       <height>0</height>
       </window>
      
       </page>
      
      <deployment>
       <if-exists>keep</if-exists>
       <instance>
       <instance-name>CMSPortletInstance</instance-name>
       <component-ref>helloworld.MyCMSPortlet</component-ref>
       </instance>
       </deployment>
      
      </deployments>
      


      Is it somewhat related to persistence?

      Thanks in advance
      DaV