Share on Google+Share on Google+

srikala
jsf command link
2 Answer(s)      8 years ago
Posted in : Java Server Faces Questions

Ads

View Answers

October 16, 2008 at 5:41 PM


Hi friend,

Code having error :

<h:form>
<h:commandLink id="link1" value="Add Users." action="addusers" /><br></br>
<h:commandLink id="link2" value="AddField Users." action="addfieldusers" /><br></br>
</h:form>

Replace with this Code :

<h:commandLink id="link1" value="Add Users." action="addusers" /><br></br>
<h:commandLink id="link2" value="AddField Users." action="addfieldusers" /><br></br>

Removing the "form" Tag in this Code then run perfectly.

If you have any more problem on JSF visit to :

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

Thanks


October 16, 2008 at 5:55 PM


ok now it is workingbut i have one more dought i.e.,iam using style.css in 3 pages but it is working only for first page only but i need remaing 2 also give me the solution
i added code like this in 3 pages:
<head>
<title>AddUsers</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
thanks in advance.









Related Tutorials/Questions & Answers:
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
jsf command link navigation case - Java Server Faces Questions
jsf command link navigation case  Hi, in my jsf page i have 2... as possible. Thanks in advance  Hi friend, Command Link Tag in JSF : "navigation case in faces-config.xml
Advertisements
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
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
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  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
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
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
Compute command
Compute command  hello, What is compute command?   hii, samar Compute command control computations on subsets created by the BREAK command
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
Hypertext link
Hypertext link  What is a Hypertext link
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
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
Link to a website
Link to a website  I have created a mobile application.Now I want to insert a link to a website so that when mobile user selects that link he is directed to that website
HTML link
HTML link  How do I create a link
Hypertext link
Hypertext link  hello,, What is a Hypertext link?   hii, A hypertext link is a special text that perform the linkage between two web page. <a href="www.roseindia.net">roseindia site</a>
HTML Link
HTML Link  How do I create a link that opens a new window
Print command
Print command  Can I use System.out.println command in Struts form bean or Struts action class. I am using Struts 1.3.8 but when I write this command...;You can use System.out.println command in Strut Action Class. The message written
position of a link
position of a link the table appears at the bottom i want it to be display at the top pls help me.Each link if i click it should display in the same position
attaching a link
attaching a link  I want the program code for , creating an application form and it is attached to our code, by clicking on this link, the form should be open
Link on Image
Link on Image  HTML link question mark Image can anyone please suggest how can i link the question mark image in HTML?   <p> <a class="mainLinks" href="#">Currency Converter&nbsp;<img src
mfmailComposeViewController link
mfmailComposeViewController link  Is there any way to get a hyperlink on email text using mfmailComposeViewController in my iPhone application?   To get link on the text, you need to make it HTML enable
how to close JSF application..?
how to close JSF application..?  how to close jsf appliaction using command button with help of java code
JavaScript link
JavaScript link...; In this section, you will learn about the text property of Link object in JavaScript. JavaScript's Link object has the property text which allow the user to get the text
JSF architecture
JSF architecture  What is JSF architecture
iperf command in java
iperf command in java  How to write a code for iperf command in java
Tutorials   
Java Spring Hibernate Struts Training i have an ques. of advanced java commandlink tag in primefaces needs onclick effect how can i run ASP.Net Server from netbeans IDE? java code for cursor java vertual machine launcher error; cannot access jarfiles JSF Tutorial render in input typetext java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener After authentication and connection establishment, Upload a zipfile by chunks in java JSF CONNECTION WITH MICROSOFT ACCESS Download Current Web Page As PDF java servlet dropdown list in jsf panelGrid header do the following how to make drop down list in JSF & fetch data Item from database help me please doubt regarding JSF Creating Dynamic Tree How to upload zip file from android to server programmatically????? jsf application war file not running in my jboss 6.0 on linux 5.5 Business analysis servlet servlet exception in thread main while running servlet How to get browser time zone? JAVA Socket Programming excel report fro jsp mysql Redirect to same jsp page on successful login jsf f:parm value dynamical settings jsf f:parm value dynamical settings RMI Program in netbeans pagination in jsf pagination jsf pagination How create csv format in jsf ? need JSP Code. Arrays, loops and string handling unique value renderer JSF 1.2 online tutorial JSF code JSP jps Multicast under UDP(client server application) How to rectify "Bad version number in .class file" exception in Eclipse about avl tree and hashing project on avl tree and hashing How to navigate from one jsf to another in eclipse how to focus on the new window opened from JSF ? Editing UI components using managed bean

Ads

 
Advertisement null

Ads