WebSphere Portal


parameters from portlet.xml


I am using JSF and want to get some parameters from the portlet.xml file. I am thinking maybe the config-param. How do I get these in my backingbean? all I have is the FacesContext to get stuff from.
neither of these two work:
String noteType = (String)context.getExternalContext().getInitParameter("notetype");
String noteType = (String)requestParam.get("notetype");
<config-param>
<param-name>notetype</param-name>
<param-value>information</param-value>
</config-param>
Is this not possible?
SystemAdmin
110000D4XK
‏2005-08-10T14:23:12Z
Is this not possible?
More...
To get a parameter defined in the portlet.xml file you could do this:
String value = (String) facesContext.getApplication() .createValueBinding("#{portletPreferences.the_parameter_name}") .getValue(facesContext);
/Luis Santos
SystemAdmin
110000D4XK
‏2005-08-10T15:05:00Z
To get a parameter defined in the portlet.xml file you could do this:
String value = (String) facesContext.getApplication() .createValueBinding("#{portletPreferences.the_parameter_name}") .getValue(facesContext);
/Luis Santos
More...
Here is what I did to ge this to work:
String noteType = (String)facesContext.getApplication().createValuBinding("#portletSettings.notetype"}.getValue(context);

Related Links

Portal Project Woes
How to disable a Portlet skin for one particular jsp
Issue/Bug/Tasks tracking portlets
Dynamics group caching
J2EE project migrated to be deployed in WPS 7-Encountered servlet exception
AD Groups being ignored when added to portlets and pages WPS 6.1.0.27
How to get list of portal users using Puma Services??
Credential vault in Standalone and Cluster Environment
Portal 6.1.5 install missing Content apps
Action url to new page triggers portlet action only on second invocation
Application Objects
Link to IBM Web Content Management Forum
Internal Server Error...
getting lastLoginTime using PUMA API
get configured ldap server programmatically
Please Help urgently

Categories

DW
IBM Tivoli Monitoring ...
Sterling Commerce
Globalization
dW
C/C++ compilers for IB...
IBM Connections Meetin...
IBM SmartCloud Notes
IBM FileNet Records Ma...
IBM FileNet Content Ma...
Content Analytics
IBM Kenexa BrassRing o...
IBM Kenexa LCMS Premier
IBM Kenexa Assess on C...
Application Security
Security Access Manage...
IBM Application Perfor...
Distributed Marketing
IBM SmartCloud Applica...
IBM SmartCloud Applica...
Jazz for Service Manag...
Tivoli Business Servic...
iPhone Mobile Apps
IBM SPSS Modeler
R Programmability in S...
IBM SPSS Collaboration...
RDi - Rational Develop...
RPG Cafe
HATS HotSpot
WebSphere ILOG Busines...
ERP
Cognos BI 10
User Groups
Cognos Series 7
Cognos Planning 10
Reportar contenido ina...
AIX и UNIX
Information Management
Enterprise Change Mana...
Серверы IBM System x
xml
webarchitecture
Greenhouse
Electronics
aW
OpenCL Development Kit...
RSDC
Partnerworld blogs
All blogs
Community
AIX and UNIX
IBM Data Studio
IBM Toolbox for Java a...
Master the Mainframe G...
IBM PureData-Enzee Com...
Part 2 - Challenge #10...
WebSphere Commerce
IBM Web Experience Fac...
IBM Security Identity ...
Administration
HA - High Availability
QRadar Vulnerability M...
OM Mobile Framework
**NEW** Sterling File ...
Business Solutions Forums
Warehouse Management
Gentran Windows upgrad...
General Discussion
Connect:Direct for HP ...
Connect:Enterprise Gat...
Connect:Enterprise Mai...
Connect:Enterprise Mai...
C3 Product Depot
C3 Replenishment
C3 Analyzer Q&A
Reporting and Analysis
ROI Issues
Comergent Security
Back End Integation
Commerce/Order Management
Release 6.4
E-Commerce/EDI/XML Cou...
Outbound planning
Internationalization a...
Receipts
Call Center Order Mana...
WebLogic - JMS
EGL
IBM ILOG Elixir Previe...
Business/IT challenges...
IBM ILOG Elixir Enterp...
Форумы Open Source
Форум по AIX и UNIX
FAQ
Документация по решени...
IBM Mote Runner SDK
Visual Performance Ana...
IBM Cloud Application ...
IBM i
IBM i Access for Linux
IBM i: Firmware
System x Server
IBM Systems Director F...
IBM Flex Systems
XML and Java Technology
Linux for Power Archit...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile