-1

I have tried this link to solve my issue but it's not showing the parameter value in url just like http://www.example.com/jsfApp.jsf?param1=value1&param2=value'

my issue is when i post the value just like

<h:outputLink value="jsfApp.jsf">
    <f:param name="param1" value="value1" />
    <f:param name="param2" value="value2" />
</h:outputLink>

then it will be show in url just like this

http://www.example.com/jsfApp.jsf?param1=value1&param2=value2
Community
  • 1
  • 1
Himanshu
  • 378
  • 8
  • 26

1 Answers1

2

Being your outcome jsfApp, you only need to specify it like that:

<h:link value="Go with params" outcome="jsfApp">
    <f:param name="param1" value="value1" />
    <f:param name="param2" value="value2" />
</h:link>

Have a look at 1.2 point.

Aritz
  • 29,795
  • 13
  • 135
  • 209