This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes editing a data in a datatable using a modal form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "editing a data in a datatable using a modal form" Watch "editing a data in a datatable using a modal form" New topic
Author

editing a data in a datatable using a modal form

prowl liew
Greenhorn

Joined: Mar 04, 2013
Posts: 1
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

Joined: Mar 06, 2013
Posts: 2
FreddyKrg Freddy
Greenhorn

Joined: Mar 06, 2013
Posts: 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: editing a data in a datatable using a modal form
 
Similar Threads
JSF hide form or disable command buttons
p:fileDownload not working with h:head
Data confusion in dialog after validation
Trouble updating primefaces component w/ajax
Cant get my datatable to update [PRIMEFACES]