wood burning stoves 2.0*
The moose likes JSF and the fly likes Command Link not working after navigating to other pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Command Link not working after navigating to other pages" Watch "Command Link not working after navigating to other pages" New topic
Author

Command Link not working after navigating to other pages

Subash Karuppiah
Greenhorn

Joined: Oct 21, 2011
Posts: 7
Hey am a newbie to JSF. I got a mainpage, where there are several links to different pages (Command Links), i have a corresponding rules in faces-config. The thing is when i login and click on any link it navigates to the page, but when i come back to home and click on link again it does not navigate. Clicking the home link again makes the links work. Can someone get me the answer for this asap. Thanks!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

Welcome to the Ranch, Subash!

commandLinks do not execute if the form that contains them has invalid control properties. An easy way to check for this is to put a "h:messages" tag on the page and see if any validation error messages display.


Customer surveys are for companies who didn't pay proper attention to begin with.
Subash Karuppiah
Greenhorn

Joined: Oct 21, 2011
Posts: 7
Hey, Thanks Tim!! i was able for find the errors and fix it. It works fine now!! Thz....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Command Link not working after navigating to other pages
 
Similar Threads
display FTP content
how to program page wise display?
Spring link navigation problem
h:link vs h:commandLink and using session attributes to show / hide components in JSF2
rich:tab