• Post Reply Bookmark Topic Watch Topic
  • New Topic

use commandLink, get value eq null in backing bean

 
Jolie Lee
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i've a dataTable, and commandLink is one of the column. when i clicked on the link, i'm actually calling a method in the backing bean. and when i clicked the commandLink, a field, remark is required.

now my problem is, when i trying to retrieve remark in my backing bean, i kept getting NULL value. i won't have this problem is i used commandButton.

pls help..

here my commandLink:


and the code in my backing bean:


of cos, i do have the get and set method for my remark field.

is there anything wrong with my code? kindly advise. thks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!