Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

commandLink inside dataTable not working  RSS feed

 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JSF. I have a dataTable and it has some 4 columns. One of the columns is a link (commandLink). This commandLink should take me to a method in my java class. But instead when I place the mouse pointer on the link in firefox, it is pointing to the same page it is on. Here is a little code snippet.

(since I am typing code here, there might be some typos but please ignore those, there is no xml error).


Can you please point out my errors? Thanks. My managed bean was initially in request scope but I have also tried session scope (I am using annotations and not faces-config.xml to define scope)
 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ignore this one. Accidentally created a reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!