Martin Cooper wrote:
>
>
> On Mon, 14 Feb 2005, mfaine wrote:
>
>> I am trying to do the following in my actionListener method.
>>
>> FacesContext context = FacesContext.getCurrentInstance();
>> context.getExternalContext().getRequestMap().put("selectedDocument",
document);
>
> This should have resulted in an UnsupportedOperationException. You can't
add parameters to the request in JSF, just as you can't do that in Servlets
either.
I lifted it directly from Oracle ADF Docs:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/devguide/communicatingBetweenPages.html
Is this an error in their docs?
>>
>> How can I ensure that a value is passed via request?
>
>
> You probably want a request attribute instead of a request parameter.
>
> --
> Martin Cooper
Thanks,
I'll try that.
-Mark