Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Development-process Action attribute in Jsf framework
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Raghu J Ram
Action attribute in Jsf framework
1 Answer(s)      5 years and a month ago
Posted in : Development process



Advertisement
View Answers

September 8, 2009 at 2:33 PM


Hi Friend,

1)Put the following code in your welcome.jsp page:

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>

<f:view>
<html>
<head><title>jsf h:commandButton example</title></head>

<body>
<h:form>
<h:commandButton value="Go To Index Page." action="page1" />
</h:form>
</body>
</html>
</f:view>

2) navigation-rule:

<navigation-rule>
<from-view-id>/welcome.jsp</from-view-id>
<navigation-case>
<from-outcome>page1</from-outcome>
<to-view-id>/details.jsp</to-view-id>
</navigation-case>
</navigation-rule>


Thanks


Related Tutorials/Questions & Answers:
Action attribute in Jsf framework - Development process
Action attribute in Jsf framework  There will be one welcome.jsp... which will get the information from database.so action attribute... to action attribute of the welcome.jsp /welcome.jsp
jsf attribute
jsf attribute  What is the different between value and binding attribute of jsf
Advertisements
JSF Rendered Attribute
JSF Rendered Attribute  i need the example for jsf with rendered attribute
JSF framework
JSF framework  hi Can I use Jdeveloper to learn JSF framework? thanks Sangeetha
About JSF Framework. - Framework
About JSF Framework.  What is JSF? Why it is used?What is flow of JSF with example code.. What is the difference between Struts and JSF? Which... on JSF framework. Best site for JSF http://www.roseindia.net
attribute in action tag - Java Beginners
attribute in action tag  I'm just a beginner to struts. The name tag(name="bookListForm") is used to define the form used with the action class. But i`m not clear about the attribute tag(attribute
JSF - Framework
JSF  Can any one please provide me with code to create widget in JSF using - IBM JSF Widget Library (JWL). Thank you for your Help
JSF - Framework
information : http://www.roseindia.net/jsf/SimpleHelloByEnteringName.shtml http://www.roseindia.net/jsf/richfaces/creating-managed-bean.shtml Thanks
JSF - Framework
Servlet *.jsf --------------------------------- faces...://www.roseindia.net/jsf/richfaces/creating-configuration-files.shtml Thanks
HTML Action attribute - Java Beginners
In action Attribute I want to give emp_event.java class. But When I run I am...HTML Action attribute  I have folder structure like... are calling servlet from action tag,then you need to import the package
Why binding attribute is required in jsf frame work
Why binding attribute is required in jsf frame work  Why binding attribute is required in jsf frame work. And what use of binding attribute
Visual JSF - Framework
Visual JSF  I am using netbeans6.0IDE and Visual JSF framework using Database MySQL database using. My doubt is Visual JSF table using briefly with example with database using insert, edit and delete
back ground mechanism of jsf framework
back ground mechanism of jsf framework  what is back ground mechanism of jsf framework?   Hi Friend, Please visit the following link: JSF Tutorials Thanks   Thanks
Deployment of JSF - Framework
Deployment of JSF   Hello, I am getting the following error while deploying the JSF application in JBOSS 4.0.0, I have followed all the steps...-INF\lib\jsf-impl.jar(com/sun/faces/taglib/jsf_core/ViewTag.class) class file
JSF binding attribute - Java Server Faces Questions
JSF binding attribute  Hi frnds.. Can anyone please enlighten me about binding attribute in JSF... how can we use binding attribute...please give... by referencing the property in the "binding" attribute of the tag associated
Action Script 'source' attribute example
Action Script 'source' attribute example       In the example below an action.... This .as file instance is brought through the source attribute in <mx
JSF Select one menu - Framework
JSF Select one menu  Hi, I am new in Jsf, I use one this is based... of JSF is not showing it show (canā??t display the mainlayer component in the visual... : For more information on JSF visit to : http
Action in Struts 2 Framework
Actions Actions are the core basic unit of work in Struts2 framework. Each action provides the processing logic for a specific URL with which it is linked. Actions are mostly associated with a HTTP request of User. The action class
JSF with Facelets - Problem setting attribute maxlength - Java Server Faces Questions
JSF with Facelets - Problem setting attribute maxlength  Hi, I have just started working on JSF along with facelets. I have created a xhtml file that contains a widget. I want to set the maxlength attribute of the text field
Retrieving Information From Database in JSF Framework - Development process
://i32.tinypic.com/2lsbots.jpg this should be done in JSF Framework only please...Retrieving Information From Database in JSF Framework  Requirement...: http://www.roseindia.net/jsf/commandButton.shtml http://www.roseindia.net/jsf
Update to database in jsf framework - Java Server Faces Questions
be forwarded to success page. how can we do it in JSF framework. How to call a method...Update to database in jsf framework  Hello, i have a page with lot of fields and 10 radio buttons. Now user should fill that form. when user clicks
Creating a Web Application with the JSF Framework
Creating a Web Application with the JSF Framework... illustrates how to add JSF supporting file while creating a new web application... all behavior of JSF component in your application.       
JSF most popular web application development framework
read the topic ?JSF Introduction? in roseindia.net, which introduces you to the JSF technology, reasons that initiated the development of JSF framework...JSF has simplified handling the complexity and other problems faced during
JSF
JSF  What is JSF
JSF Examples
in to create web applications using JSF framework. You can find here various... Applications : This page describes you why one should choose JSF framework... the JSF framework as web application development.   JSF Components
Backbase AJAX for JSF
Backbase AJAX for JSF       Backbase AJAX for JSF is a complete AJAX - JSF programming framework build on top of Apache MyFaces and Eclipse it's Pre-build AJAX-JSF components andEclipse
Introduction to JSF
JSF is a server side UI based MVC Framework for building Java based web application
JSF Tutorial For Beginners
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... to download JSF, What is JSF ? JSF (JavaServer Faces) is a Framework for developing
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
Framework......
Framework......  What is framework? What is difference between framework and package
JSF Training
Writing and Using Custom Converters  11. JSF Events Handling Action Events... JSF Training     JSF Training Overview JavaServer Faces is a standard framework of components
 

 

 

DMCA.com