Hi,

afaik and according to the specs [1], [2], the parameterMap is immutable.

so you can't do this.

[1] 
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html#getRequestParameterMap()
[2] 
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletRequest.html#getParameterMap()

regards,
 Volker

2007/1/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

The request attribute works fine. I made a mess. But I am still
interested how I can set a
parameter und its value within a bean method.

----Ursprüngliche Nachricht----
Von: [EMAIL PROTECTED]
Datum: 19.01.2007 15:51
An: <[email protected]>
Betreff: Access to param


Hello

Can I set a request parameter in the action listener? Thanks for
Your help.
I tried it with a request attribute, but I think this does not
work

Urs


<h:commandLink id="Category"  actionListener="#
{overview.categoryActionListener}">
        <h:outputText value="#{category.description}" />
        <f:param id="categoryId" name="id" value="#{category.catId}" />
</h:commandLink>


        <navigation-rule>
                <description>Show category</description>
                <from-view-id>/overview.jsp</from-view-id>
                <navigation-case>
                        <from-outcome>category</from-outcome>
                        <to-view-id>/category.jsp</to-view-id>
                </navigation-case>
        </navigation-rule>






Reply via email to