WebSphere Portal Server - parameters from portlet.xml

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2005 > parameters from portlet.xml





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author parameters from portlet.xml

2005-08-04, 2:48 am

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>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com