f:param does not work with p:commandLink or h:commandLink on query string

前端 未结 2 525
抹茶落季
抹茶落季 2021-02-04 18:24

f:param works great with h:link, but not with p:commandLink or h:commandLink.

For example, I have two pages tes

2条回答
  •  悲&欢浪女
    2021-02-04 18:45

    You could do it by concatenating the parameters with & directly at the action attribute:

    
    

    Update 1

    You might also consider to add &includeViewParams=true. This way view parameters of your target navigation will be included automatically.

提交回复
热议问题