A friendly place for programming greenhorns!
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
Author
how ro use commandlink tag to forward to a different page
felix thomas
Ranch Hand
Joined: Jun 10, 2001
Posts: 89
posted
Sep 28, 2005 06:14:00
0
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
I like...
posted
Sep 28, 2005 11:27:00
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter