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



Home Answers Viewqa Development-process Action of h:commanLink in xhtml page doesn't run correctly
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Abdurrahman Sert
Action of h:commanLink in xhtml page doesn't run correctly
1 Answer(s)      4 years and 4 months ago
Posted in : Development process


In my jsf/facelet xhtml page, when click on h:commanLink, the same page on which has h:commanLink is created in a new window. At second click on the new page, action normally run and rediretion to target page is ok.

xhtml code snippet:

<h:commandLink action="#{kmmTahliye.doKokKomurSahaBilgileri}"
value="KOK-K?M?R SAHA BİLGİLERİNİ G?NCELLE"
target="KMM_SAHABILGILERI" >
</h:commandLink>

action code snippet:

public String doKokKomurSahaBilgileri() {
Map<String,Object> map=FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
map.put("vardiyaBaslangicSaati", getVardiyaBaslangicSaati());
return "kokKomurSahaBilgileri";
}

Why doesn't action run at first click on the first page.
Thanks to All.

Advertisement
View Answers

August 17, 2010 at 11:36 AM


Hi Friend,

Please visit the following link:

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

Thanks


Related Tutorials/Questions & Answers:
Action of h:commanLink in xhtml page doesn't run correctly - Development process
Action of h:commanLink in xhtml page doesn't run correctly  In my jsf/facelet xhtml page, when click on h:commanLink, the same page on which has h:commanLink is created in a new window. At second click on the new page, action
.xhtml or .jsp page in a jsf project
.xhtml or .jsp page in a jsf project  in a jsf project which pages should i use, .jsp or .xhtml? and why ? what are adventages or dis adventages jsp and xhtml pages. thanks
Advertisements
hello .. still doesn't run - Java Beginners
hello .. still doesn't run  Iam still having a prblem in running this problem errors are: can not resolve symbol import.util.Scanner class Scanner another error is can not resolve symbol method setname(java.lang.String
Design a web page using XHTML and JavaScript that does the followings:
Design a web page using XHTML and JavaScript that does the followings:  Design a web page using XHTML and JavaScript that does the followings: 1... page 3- A frame that shows two images (img1, img2) at a time. a. Upon
What is XHTML?
with the page. But as XHTML is a combination of html and xml, writing code is much harder...What is XHTML XHTML (eXtensible HyperText Markup Language) is extended... for creating XHTML document In html, if you omit an end-tag or leave a quote etc
java program run on thml page?
java program run on thml page?  how to run java program on html page using text area
Displaying different portions of a page subsequently on the basis of action
Displaying different portions of a page subsequently on the basis...: with js calender beside these and a SEARCH Button(When the page initially loads... with previous portion on the same page that contains four Radio buttons(Group
Comparing arrays not working correctly?
Comparing arrays not working correctly?  Comparing arrays not working correctly
How to run a simple jsp page in tomcat???
How to run a simple jsp page in tomcat???  i am trying to run a simple jsp page in tomcat,i am having web.xml also in WEB-INF folder. but it is giving me this error below....please help me to solve it. my jsp page code is given
Unable to run the jsp page - JSP-Servlet
Unable to run the jsp page  Expert:Naga Hi, I need solution... page is shipping and billing details and the next page is payment details. What... on the textbox of the payment.jsp page and also calculate the tax payment and shipping
XHTML - JSP-Servlet
difference between HTML and XHTML  Is there difference between HTML and XHTML
Including applet in JSF (XHTML)
Including applet in JSF (XHTML)  Hi I want to generate graphs in facelets project. We are using JSF 2.0. We have Perspective for Java to generate graphs. in this project. So, Perspective for Java is providing an applet which i
How to pass Array of string from action class to jsp page
How to pass Array of string from action class to jsp page  this is my action class package login.ipm; import java.sql.*; import java.util.ArrayList... jsp page is <%-- Document : select_service Created on : Aug 31
FORM Tag Correctly for Uploading Files.
FORM Tag Correctly for Uploading Files.  How To Write the FORM Tag Correctly for Uploading Files?   Hi friends, When you clicks the submit... is controlled by a properly written <FORM...> tag as: <FORM ACTION
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page  Hi, <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%> </head>... to open the pdf file when i execute the jsp page
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page  Hi, <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%> </head>... to open the pdf file when i execute the jsp page
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page  Hi, <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%> </head>... to open the pdf file when i execute the jsp page
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page  Hi, <%@page import="com.itextpdf.text.,com.itextpdf.text.pdf.,java.io.*;"%> </head>... to open the pdf file when i execute the jsp page
xor operator not working correctly with array
xor operator not working correctly with array  main { int a[2...] ^= a[0]; //a[0] ^= a[1]; //this is working correctly. a[0] ^= a[1] ^= a[0] ^= a[1]; //this didn't work correctly why? printf("after swapping: %d %d\n
xor operator not working correctly with array
xor operator not working correctly with array  main { int a[2...] ^= a[0]; //a[0] ^= a[1]; //this is working correctly. a[0] ^= a[1] ^= a[0] ^= a[1]; //this didn't work correctly why? printf("after swapping: %d %d\n
xor operator not working correctly with array
xor operator not working correctly with array  main { int a[2...] ^= a[0]; //a[0] ^= a[1]; //this is working correctly. a[0] ^= a[1] ^= a[0] ^= a[1]; //this didn't work correctly why? printf("after swapping: %d %d\n
how to forward select query result to jsp page using struts action class
how to forward select query result to jsp page using struts action class  how to forward select query result to jsp page using struts action class
Struts2.2.1 Action Tag Example
Struts2.2.1 Action Tag Example The Action tag  is used to call action class directly from a JSP page. We can call action directly by specifying the action name and an optional namespace.The body content of the tag is used to render
convert Html to Xhtml - Java Beginners
convert Html to Xhtml  Hi All, I am trying to convert html to xhtml in java. to do this i am using htmlcleaner api. i am not able to do with it.i ve not even got basic example on that so please can u send some example
How To Write the FORM Tag Correctly for Uploading Files?
How To Write the FORM Tag Correctly for Uploading Files?  How To Write the FORM Tag Correctly for Uploading Files
Data is not inserting correctly in mysql database.
Data is not inserting correctly in mysql database.  Hello Sir, below is my code to insert data into database by list iteration through for loop but it is not getting inserted ..it is taking only one value
how to pass string array from action class to jsp page? pls reply me.
how to pass string array from action class to jsp page? pls reply me.  how to pass string array from action class to jsp page? pls reply me.  .... In your action class, String[] arr = {"A","B","C","D"}; for (int x = 0; x < arr
Identify correctly-implemented deployment descriptor elements for a CMP bean (including container-managed relationships).
Identify correctly-implemented deployment descriptor elements for a CMP bean (including container-managed... correctly-implemented deployment descriptor elements for a CMP bean
profile doesn't match application identifier
profile doesn't match application identifier  profile doesn't match application identifier
In JSF2 application, source code written in xhtml file is downloading
for the development. (Due to complexity of code , we can not change xhtml page to jsp...In JSF2 application, source code written in xhtml file is downloading  ... on xhtml pages, source code written on xhtml pages is downloaded. Same application
Pass value of rasio button from jsp page to action class(not conventional problem)
Pass value of rasio button from jsp page to action class(not conventional problem)  Hi, I have a jsp page that has code which goes ike this: <...; </table> <s:submit value="Delete" action="deleteSchedule
Advertisements
 

 

 

DMCA.com