Hi everyone,
I need some help with concept or any suggestion that would resolve specific issue that I have.
My jdev version is 12.1.3.
I have inputText (this is column in editable table) with autoSubmit="true". That is desired behaviour because I want to do eo validation when user goes out of field.
I have specific case where I don't want autoSubmit to occur. When I click to commit button (that I implemented) focus goes out from inputText and do validation, and than again on commit. I have two request in this case.
Everything works fine when I go out of field or go to F10 (this is same as button commit, but not losing focus from inputText and in that case it's one request).
Can I implement some kind of conditional autoSubmit with EL or in any other way js.. eg. autoSubmit="notCommit"...
Second option would be that when I click commit to prevent second request if I have validation error in inputText. Maybe to put validation errors from eo in pageFlowScope and than to execute commit only if I don't have errors. Than button will have client listener and event that I will cancel if I have errors?
Is this the way to go? Is there any better solution for this or idea that I could try.
Also can I focus that inputText field (that have validation error) when user goes out with mouse. Field is red but because it is not anymore in focus I don't have message until user goes in field.
Any help would be greatly appreciated.
Best regards