>>>>> On Sat, 27 Jan 2007 06:18:47 -0800 (PST), baptiste <baptiste_prieur_at_yahoo.fr> said:
B> In brief, I dont know how to pass parameters to a jsp page via a
B> portlet in order to initialize managed bean with parameters ? If
B> somebody know the solution, can you give me some instructions in
B> order to sovle my problem..
Is it possible and acceptable to have your client code, or rendering
code, tack on some query paremeters to the request URI sent to the
server? That way, if the bean is request scoped, you could, in your
bean ctor, get the query paremeters using the
ExternalContext.getRequestParameterMap [1].
Also, this particular mailing list tends to favor the Sun impl over the
MyFaces one.
Ed
[1]
http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/context/ExternalContext.html#getRequestParameterMap()
--
| ed.burns_at_sun.com | office: 408 884 9519 OR x31640
| homepage: | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com