Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Other Java Products and Servers
JSR168 Portlet User-Attributes
Joined: Aug 02, 2001
Jul 19, 2004 17:34:00
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?
Joined: Sep 25, 2001
Nov 18, 2004 17:10:00
If they are defined in as Initial Parameters, then you can get them using the getInitParameter() method.
LIST_PAGE = "ListPage";
String page = getInitParameter(LIST_PAGE);
< !-- 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 /> -->
I agree. Here's the link:
subject: JSR168 Portlet User-Attributes
How to retrieve portlet id within a portlet code?
Welcome to the Portal / Portlets Forum
Get Login User
Calender Portlet using jsr168
Getting Logged in User from JSR 168 Portlet API
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014