use commandLink, get value eq null in backing bean
posted 10 years ago
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.
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
Jys<br /><a href="http://jy-s.com" target="_blank" rel="nofollow">http://jy-s.com</a><br /> <br />Trying my very best to learn java, please forgive me if i'm asking some really stupid questions.