Show and receive response from a p: confirmDialog triggered through the Managed / CDI Bean

1

I have a view with a record button, but the method that executes on the record button does some checks on the bean and asks the user if they really want to save. Show the dialog:

RequestContext.getCurrentInstance( ).execute( "PF('confG').show();" );

How can I save data after I have had a response in Front End, given by the user in p:confirmDialog ?

    
asked by anonymous 29.04.2016 / 18:18

0 answers