Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

editing a data in a datatable using a modal form

 
prowl liew
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a datatable, each row has a



this is my modal:



prepareEdit method:



selected method:



when i debugged on the getSelected method, there is actually correct data on my "current" object.

my problem is, the input in the modal has no data.

using JSF 2.0 with Primefaces and my bean is using ViewScope.
 
FreddyKrg Freddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
FreddyKrg Freddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic