Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how ro use commandlink tag to forward to a different page  RSS feed

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

Below is the code i have written to forwardto a different jsp page

<h:commandLink id="hyperLinkOne" title="Click Here!" value="/error.jsp">
<f aram id="hyperParam" name="day" value="beautiful"/>
</h:commandLink>

but it is not working can anyone tell me how to go abt it.


 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A commandLink requires an action attribute which binds to a method in your backing bean or binds to a static navigation case in order to determine where the link redirects to.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!