I'm not sure if this is the right forum for this. If not could someone point me elsewhere.
I have an issue with a JSR168 Portlet that has 3 attributes defined in the <user-attribute> section of the Portlet.xml. I can't find any information on how to set these values.
Can anyone help me out with this?
Thanks,
Damian.
Mike Farnham
Ranch Hand
Joined: Sep 25, 2001
Posts: 76
posted
0
Damian,
If they are defined in as Initial Parameters, then you can get them using the getInitParameter() method.
portlet.xml excerpt ---- < !-- example of an init parameter<br /> init parameters should be used if there is configuration<br /> used by ALL instances of the portlet on your server <br /> it should not be used for instance-level parameters<br /> -->