1 Reply Latest reply on Jan 5, 2006 12:19 AM by Viet

    Portal 2.2 - XML files - questions

    pmn92 Novice

      in portlet.xml:

      1. Is <init-param> related to PortalContext.getInitParameter(java.lang.String name)

       <description>Default path to index page.</description>

      2. What is <user-attribute> for?


      in jboss-portlet.xml:

      3. what is < transaction > and <trans-attribute> for ?


        • 1. Re: Portal 2.2 - XML files - questions
          Viet Master

          1. rather PortletContext.getInitParameter no ?
          2. user attribute is used to specify an attribute retrievable from the specific Map attribute in the PortletRequest
          3. it is used to propagate the portal transaction to the portlet, so it can use the User object directly and make operations on it