jquery - Primefaces Dialog content not empty after escaping + deleting value -


I have to select a line in the dialog, which occurs when the dataset (Risslet). It shows the metadata of this line and the price comes from the example that has been selected. But when I close this dialog and click on my button, which should show the same dialogue, but without any value (data and amp; has been shown to save), the oldest one.

NULL, so there is no value in Autfilds, but still the same

  public void newMember () {memberInstance = null; // RequestContext.getCurrentInstance () Reset ("memberDllg"); RequestContext requestContext = RequestContext.getCurrentInstance (); RequestContext.execute ("memberDlg.show ()"); }   

and

  & lt; H: form id = "memberDllg" & gt; & Lt; P: dialog id = "memberDlg" header = "# {AdminControllBean.memberInstance.name} # {AdminControllBean.memberInstance.vorname}" widgetVar = "memberDlg" provided went = "right" closeOnEscape = "true" style = "width: 99%! Important; Height: 99%! Important; "Resizable =" false "& gt;   

I did it try with the following Feslet, but full dialogue was empty (except for the header, which was still old)

  onHide = "Pf ('memberDlg') content.empty ()" & gt;    

You'll need to use update attribute in your button So you update the value of components, something like this:

  & lt; P: command button update = "dialyod" ... />    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -