Ajax true doesn't check validation of the input -


If I put ajax = "false" but it does not, then my command button Checks the required input and do not start incomplete. However, when I put ajax = "true" , everything works fine, if validity is success, but if I have not entered a valid input, then nothing is removed is.

  & lt; P: Command Button Value = "Extract" style = "width: 12%; height: 100%" update = "tablemales, confirm: confirmed testest: mainform" id = "extractbutton" widgetVar = "ButtonExtract" actionoff = "# { MailMB.searchEmails ()} "ajax =" false "icon =" ui-icon-disk "style class =" ui-priority primary "onstart =" blockUIWidget1.show (); "incomplete =" blockUIVIDT 1.hide (); Freemail (); " / & Gt;   

How can I fix this for checking my button and starting a fire and doing a completely incomplete check?

defining a button as AJAX = "false" will not give you some special features Only AJAX requests are available (i.e. onstream, incomplete, update).

I think that by "checking the necessary inputs correctly" you are trying to say that message verification displays details of the problems. If this is the case, check whether your message component is being automatically updated as an example:

  & lt; P: show message id = "message" dipet = "true" auto-update = "true" off = "true" />   

If it is not, tell the message for automatic updates or include your button in your button update property:

  & lt; P: commandButton value = "Extract" style = "width: 12%; height: 100%" update = "message, tablemales, confirm: confirm purchase, buySTst: mainform" id = "extractbutton" widgetVar = "button Extract "ActionNid =" # {mailMB.searchEmails ()} "icon =" ui-icon-disk "styleClass =" ui-priority primary "onstart =" blockUIWidget1.show (); "incomplete =" blockUIVIDT 1.hide () ; FreeMail (); " / & Gt;    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -