How do I close the message of faces by programming

Hi all
I'm working on Jdeveloper 11.1.1.5 and I show faces messages conditionally in my form on key press F4. :-
The idcomp is the component of Id that I'm passing javascript on key press F4.

{} public void displayMessage (entry from list < ErrorDetail >)
bussLogic (input);
List < ClassB > classBList = getDescBasedOnId (idcomp);
for (ClassB classB: classBList) {}

FacesMessage fm = new FacesMessage (classB.getErrorDescription ());
fm.setSeverity (FacesMessage.SEVERITY_ERROR);

FacesContext context = FacesContext.getCurrentInstance ();
context.addMessage (null, fm);

}
Now, I have to close the message press F8 key. I am able to show the error on the F4, but how do I close the message of faces? Is there a method to achieve this?
Please suggest!
Thank you.

"The use of JavaScript to clear validation error messages" on page 14 of http://www.oracle.com/technetwork/developer-tools/adf/learnmore/nov2010-otn-harvest-190744.pdf

Timo

Tags: Java

Similar Questions

Maybe you are looking for

  • MacBook Pro 15 "mid 2015 retina freezes

    Hey everybody, I got my macbook pro 15 "2015 high spec, a year ago and it froze twice since then, but lately, it happens more often. Also at the start, the screen resolution is not correct and after entering the password and loading starts, the scree

  • Model Australian Satellite A660 - issue of guarantee for Sri Lanka

    I have a toshiba Satellite A660 baught in Australia.I am in Sri Lanka at the moment and I need to get my repaired unit. It is still under warranty. When I contacted Toshiba guy in Sri Lanka, they say I must record the ion online computer area.Or if I

  • pencil to Apple support

    Hello is it possible to charge the pen from a wall socket via the ipad apple pro cable loading? THX in advance, Rob

  • Graphics card for HP Pavilion p6632f desktop PC

    I have HP Pavilion p6632f Desktop PC. I want to know which map graphic that I put in to get the most out of this old pc because the hd 4200 integrated is everything just bad .

  • When Outlook Express Mail compose the cursor suddenly starts moving across the page.

    When I'm composing an e-mail on Outlook Express if I stop for a moment the cursor starts to move across the page. I can stop by clicking 'End', but soon he begins to do it again. My OS is Windows XP and my version of OE 6. IE version is 8.