This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Command Link not working after navigating to other pages  RSS feed

 
Subash Karuppiah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Subash Karuppiah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, Thanks Tim!! i was able for find the errors and fix it. It works fine now!! Thz....
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!