Everyone,
I am showing a "Loading...." message when the user submits a form in my
MyFaces/Trinidad application by having an onclick handler set the 'display'
style to be 'inline' for my a tr:outputText tag. This works fine unless
there is a validation error on the page for a required field. In this case,
the JavaScript code for Trinidad detects the empty field and the page is not
submitted. My "Loading..." message is still displayed however. Is there a
way to hook into the Trinidad JavaScript validation code so that I can have
one of my JavaScript functions set the display style  back to none in this
case?

Thanks,

Richard

Reply via email to