• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic