aspose file tools
The moose likes JSF and the fly likes how ro use commandlink tag  to forward to a different page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "how ro use commandlink tag  to forward to a different page " Watch "how ro use commandlink tag  to forward to a different page " New topic
Author

how ro use commandlink tag to forward to a different page

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
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

Joined: Jul 11, 2001
Posts: 15230

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how ro use commandlink tag to forward to a different page
 
Similar Threads
h:commandLink is not working within h:dataTable
h:commandLink and page Navigation
Repeating JSF code
how to remember the value in h:commandLink inside a h:datatable
Navigation using h:commandLink