Some more things to try: 1) I use this code to get request parameter (It is a bit different, but I believe it won't solve your problem...): ((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getParameter(key) 2) Print out the entire query string and check that it is getting updated.
Guy. -----Original Message----- From: Alex Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 1:49 AM To: MyFaces Discussion Subject: Re: Problems getting the query string in the request url Yes I tried opening a new window and still getting the same problem, and the parameters are being changed, but still I get the same parameters as the previous page request. Weird. On Wed, 01 Oct 2008 17:04:32 -0400, Guy Bashan <[EMAIL PROTECTED]> wrote: > I can suggest this: > 1) Try opening the page in a new browser window instead of iframe and > see if you get the same behavior (you could see clearly the parameters). > 2) Write the iframe src in a javascript alert to make sure parameters > are really changed. > 3) add to the url a random parameter to make sure there is no some cache > problem. > > Guy. > > -----Original Message----- > From: Alex Diaz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2008 9:35 PM > To: MyFaces Discussion > Subject: Re: Problems getting the query string in the request url > > Yes I have a page with an iframe and the main page has a link to change > the iframe contents passing parameters through the query string. > Thanks. > > On Wed, 01 Oct 2008 14:21:17 -0400, Guy Bashan <[EMAIL PROTECTED]> > wrote: > >> How do you make the second call? >> From the original page? Just change parameter manually? >> >> Sent from my iPhone >> >> On Oct 1, 2008, at 8:49 PM, "Alex Diaz" <[EMAIL PROTECTED]> wrote: >> >>> Hi guys, I am having problems getting the parameters in the request >>> url, the first time I request the page I get the right parameter like >>> this: >>> >>> Map requestMap = FacesContext. >>> getCurrentInstance().getExternalContext().getRequestParameterMap(); >>> labelText = (String)requestMap.get("node"); >>> >>> but when I call the same page with diferent query string parameters >>> then I get the same values from the first call to the page. I am using >>> a managed bean which with "Request" scope. >>> >>> Any ideas? >>> Thanks. >>> >>> --Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

