dev@javaserverfaces.java.net

How to pass parameters to a jsp page via a portlet ?

From: baptiste <baptiste_prieur_at_yahoo.fr>
Date: Sat, 27 Jan 2007 06:18:07 -0800 (PST)

Hi,
I use portlet and JSF technologies.

I wish to pass parameters to a jsp page via a portlet ...

I declare a portlet in portlet.xml file :

<?xml version="1.0" encoding="UTF-8"?>



maPortlet
org.apache.myfaces.portlet.MyFacesGenericPortlet

default-view
jsp/home.jsp


text/html


jsf





I want to pass parameters to jsp page : home.jsp
And with these parameters I want to initialize attributes of a managed bean.
Thus, I declare in a faces-config.xml file a managed bean and I precise
parameters :


...

property
java.lang.String
#{param.param1}



The managed bean must be initialized with parameters

In brief, I dont know how to pass parameters to a jsp page via a portlet in
order to initialize managed bean with parameters ?
 If somebody know the solution, can you give me some instructions in order
to sovle my problem..

Thanks you.

Baptiste
-- 
View this message in context: http://www.nabble.com/How-to-pass-parameters-to-a-jsp-page-via-a-portlet---tf3127808.html#a8666288
Sent from the javaserverfaces dev mailing list archive at Nabble.com.