richfaces - Keeping a rich:modalPanel open on validation fail? -


When I was done with an action, fails, I try to stop my modal from closing I am here.

I have seen many discussions on this issue with many objective solutions but there is no luck with any of them. Has anyone got any work solution?

I Reachfaces 3.3.3 I am using the finals.

I like stack overflow because I always get a solution right after posting a question.

The first solution to work for me

Paraphrased, enter the ID on your Html element and then check this Javascript whether you can turn off the modal or not.

  function modalClose (if (!! Document.getElementById ('fullresolvedidofmessagepanel')) {Richfaces.hideModalPanel ('modalpanelid');}}   

Here are the string ins.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -