parameters from portlet.xml
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > parameters from portlet.xml




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    parameters from portlet.xml  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 07: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? al
l I have is the FacesContext to get stuff from.

neither of these two work:

String noteType = (String)context.getExternalContext().getInitParameter("not
etype");

String noteType = (String)requestParam.get("notetype");



<config-param>
<param-name>notetype</param-name>
<param-value>information</param-value>
</config-param>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register