0 Replies Latest reply on Feb 8, 2007 12:52 AM by bhupeshs

    configuring remote portlet instances through *-instances.xml

    bhupeshs

      Hi,

      I tried to create an instance of a remote portlet through xml and not through management portlet interface. I created a *-instances.xml file where i defined the instance as



      <instance-id>MyRemotePortletInstance</instance-id>
      <portlet-ref>{producer-id}.{remoteappname}.{portletname}</portlet-ref>




      when I deploy this into jboss portal, the portal container is trying to lookup the portlet after appending the {localappname} to the portlet-ref. So it is trying to lookup something like {localappname}.{producer-id}.{remoteappname}.{portletname} and giving out an error that the portlet is not found.

      Is there a way to create instances of a remote portlet through xml descriptors?

      --Bhupesh