title: Keep p:dialog open when a validation error occurs after non-ajax submit
body: <p>I have a PrimeFaces <code>&lt;p:dialog&gt;</code>. The dialog has an input field and a command button. The command button posts the form without ajax (e.g. to upload a file via simple mode). If there is a validation error on the input field then the <code>&lt;p:message&gt;</code> in the dialog shows the error correctly, however the dialog closes because of the non-ajax postback. Because I am not using ajax, I can't really use the <code>oncomplete</code> trick to keep the dialog open as answered in <a href="https://stackoverflow.com/questions/9195756/keep-pdialog-open-when-a-validation-error-occurs-after-submit">Keep p:dialog open when a validation error occurs after submit</a>.</p>
  <p>What are my options to keep the dialog open (or reopen) after non-ajax submit if there was a validation error?</p>