3 Replies Latest reply on Jan 19, 2009 10:37 AM by maxandersen

    parameters/preferences of portlet

      LS,

      I am developing jboss portal portlets but cannot get init-params/preferences to work.

      Using JBoss tools 3.0.0 and portal 2.7.0 I create a new "dynamic web project" and include a jboss portlet in it with a defined parameter.
      In the generated portal.xml I see the <init-param> fields.

      But after deploying on the 2.7.0 portal, going into admin mode, on the portlet definitions and portlet instances there are no preferences.

      Do I have to configure other parts to have them show up in the portal ?

      Kind regards,

      Herman

        • 1. Re: parameters/preferences of portlet
          maxandersen

          Hi Herman,

          I suggest you ask in the portal forum. If that shows the tools is causing something to fail please let us know - but I believe this to be not specific to the tools.

          • 2. Re: parameters/preferences of portlet

            Hello Max,

            I managed to find the issue.
            When creating the portlet using "new->jboss portlet" in the UI you can only insert init-param value pairs.
            I had to include additional entries in the resulting portlet.xml where the portlet-preferences are defined and then the show up in the jboss admin portal.

            Maybe an option to be added to the tools later on to be able to do it using the ui.

            Kind regards,

            Herman

            • 3. Re: parameters/preferences of portlet
              maxandersen

              add a feature request in jira and explain what extra xml you want generated and we'll look into it.