dev@javaserverfaces.java.net

RE: Re: How to pass parameters to a jsp page via a portlet ?

From: Jason Lee <lee_at_iecokc.com>
Date: Mon, 29 Jan 2007 09:59:16 -0600

If he can append a variable to the query string, could he not use the
param implicit object and wire the value in automagically via
faces-config?

-----
Jason Lee, SCJP
Programmer/Analyst
http://www.iec-okc.com
 

> -----Original Message-----
> From: Ed Burns [mailto:ed.burns_at_sun.com]
> Sent: Monday, January 29, 2007 9:57 AM
> To: dev_at_javaserverfaces.dev.java.net
> Subject: Re: How to pass parameters to a jsp page via a portlet ?
>
> >>>>> 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/ja
> vax/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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>