• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

use commandLink, get value eq null in backing bean

Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic