Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

jsf command link navigation case

Ads

 
 

Share on Google+Share on Google+

srikala
jsf command link navigation case
1 Answer(s)      8 years ago
Posted in : Java Server Faces Questions
Ads
View Answers

October 10, 2008 at 12:06 PM


Hi friend,

Command Link Tag in JSF :

<h:commandLink value="V1" action="newuser" />
<h:commandLink value="V2" action="back" />

"navigation case in faces-config.xml"

<navigation-rule>
<from-view-id>/pages/view1.jsp</from-view-id>
<navigation-case>
<from-outcome>newuser</from-outcome>
<to-view-id>/success.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>

For more information on JSF visit to :

http://www.roseindia.net/jsf/

Thanks










Ads









Related Tutorials/Questions & Answers:
jsf command link navigation case - Java Server Faces Questions
jsf command link navigation case  Hi, in my jsf page i have 2 commandlink tags,then how to write navigation case in faces config.xml tell me as soon... in JSF : "navigation case in faces-config.xml
jsf command link - Java Server Faces Questions
jsf command link  Hi deepak ji , i have created one jsf page in that 2 commandlinks are there,if we click firstlink it goes to first page... problem on JSF visit to : http://www.roseindia.net/jsf/commandLink.shtml
Advertisements
JSF Navigation By Example
JSF Navigation By Example     .... This section illustrates you about the JSF navigation by providing the example... for the following files these have been used in the JSF Navigation example
Show Confirmation Dialog on Click the Command Link
Show Confirmation Dialog on Click the Command Link  How to show Confirmation Dialog when user Click the Command Link
jsf navigation rule - Java Server Faces Questions
jsf navigation rule  Hi sir, here is the code: give me solution...) { this.username = username; } } Navigation starts from admin.jsp,then it goes to addusers.jsp(if click addusers link) otherwise it goes to addfieldusers.jsp
jsf navigation rule - Java Server Faces Questions
jsf navigation rule  hi, i have one jsf page admin.jsp in that 2 commandlinks are there,they are addusers,addfieldusers for this navigation in faces... given.This is my application.Upto addusers i understand the navigation,then how
JSF Global Navigation Example
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix...;Navigation Page</title></head> <body> <h1>
Adding Navigation in JSF Application
Adding Navigation in JSF Application   ... navigation in the JSF framework is controlled by the faces-config.xml.... in the file and choose JavaServer Faces > Add Navigation Case. Type /login.jsp
need link without underline in jsf - Java Server Faces Questions
need link without underline in jsf  Hi Friend, I need commandlink... jsf tag is available. (style="text-decoration:none" is html tag). Thanks in advance.  Hi friend, Use Style : a:link {text-decoration: none
JSF Command button problem - Java Server Faces Questions
JSF Command button problem  Hi Frnds... I have retrieved the records from the mdb file in backing bean..if i click the submit button those records will be displayed in the form of table... Records are displaying
LINK
LINK  Thank you friend.cant we use single click instead of double click and also for four link u has given the example but i have 14 links in that case wat i should do
Declare the Navigation Rules
Declare the Navigation Rules  How to declare the Navigation Rules for JSF
link
the link the table is displayed and other links were hidden if i want to click the next link i have to refresh the page instead i want to do is when i click the link the table should display and again when i click the link the table should
link
link  hey frnds can anyone plz tell me how can i store my videos as link in my database and can retrive the video using servlet by clicking on to that link .it may be confusing sorry about that and if someone can than plz help me
link
link  how can we give hyperlinks on data retrieved from the database and when a particular option is clicked it should be saved in another database and details related to that link should be diaplay and stored in the database
LINK
LINK  I have four links which link to a table,if i click one link... i want to ask is when i click the link the table is displayed and other links were hidden if i want to click the next link i have to refresh the page instead i
JSF
JSF  What is JSF
JSF Static Navigation Example
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix...;Navigation Page</title></head> <body> <h1>
JSF
JSF  In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we... and embed that into applets also rite.. Do u mean JSF also does the same internally
JSF param Tag
JSF param Tag      ... component. This tag is helpful in the case of  creating the compound message...;. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h
pull-down navigation menus
pull-down navigation menus  How can I use forms for pull-down navigation menus
JSF Tutorial
JSF Tutorial  plz provide the jsf complete tutorial  Hi, We have lot's of JSF tutorials. Please read it at [http://roseindia.net/jsf/][1] Thanks [1]: http://roseindia.net/jsf/  The link is http
JSF Forms - Developing form based application
in this case) entered by user. This bean is also know as backing bean or JSF managed bean...JSF Forms - Developing form based application          Complete Java Server Faces (JSF
JSF Tutorial For Beginners
to separate the behavior from presentation. JSF provides the facility to link...JSF Tutorial For Beginners In this section you will learn about the JSF framework. This section describes all the aspects of JSF in such a way that a user
UINavigationController hide navigation bar
UINavigationController hide navigation bar  HI, How to hide the navigation bar of UINavigationController? I have to hide navigation bar... code for hiding UINavigationController's navigation bar
navigation system in j2me
navigation system in j2me  how to load map image for offline navigation system?plz send the source code in j2me
JSF commandLink Tag
a hypertext. This is not only a anchor tag. This link behaves like a command...JSF commandLink Tag      This section illustrates you about the JSF commandLink tag
Hypertext link
Hypertext link  hii, What is a Hypertext link?   hello, A Hypertext link is a special tag that links one page to another page or resource. If you click the link, the browser jumps to the link's destination
Hypertext link
Hypertext link  What is a Hypertext link
navigation item back button
navigation item back button  I wants to add a navigationBar on the top of my UIWebView also a navigation item "back button". can anyone please explain how the back and refresh button works
Business case
Business case  hii, For which phase of RUP the "business case" for the project established ?   hello, Inception phase of RUP the "business case" for the project established