2 Replies Latest reply on Mar 20, 2009 4:26 AM by vantek

    Portlet Instance Membership

      Hi all --

      I noticed that after programmatically creating a Portlet instance it is not immediately available for viewing in the portal. In addition if I go to the portal Admin console and look for this portlet instance, it is no where to be found.

      Now if I logout of the portal and log back in, and then look in the Admin console, it available. In addition, once I log back in, it is also available on the page in which the instance was programmatically placed.

      Note that the portlet instance is created in the database and wired up correctly, the instant that the portlet instance is created.

      Is this a documented behavior in JBoss portal? Do I need to make another call to force the portal to recognize the new portlet instance was created?

      BTW The current user is permissioned to view the portlet instance.


      Thanks all.

        • 1. Re: Portlet Instance Membership
          vantek

          Hi


          I think it's a "refresh" / "reload" problem.

          I got almost the same thing, with a struts portlet that shows the session attributes, after setting attributes, it didn't show them immediatly, i had to go to the Edit mode of the portlet, then come back to the view mode, and refresh has been done!

          • 2. Re: Portlet Instance Membership
            vantek

            and i got the same thing when after editing a jsp page called in my struts portlet, and after republishing, no refresh was done =/