cancel
Showing results for 
Search instead for 
Did you mean: 

How to close wec:overlay dialog box

Former Member
0 Kudos

Hi  WCEM experts

I have wec:overlay dialog box, I am trying to close using cancel button, but not working.

any idea how we can close or hide the popup on a button event?

Thank you in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Suhaas

You can use a <c:if> block encompassing your overlay component, and use a boolean attribute to control the display. When you click the cancel button, just set the attribute for display to false.


See illustration below:

Below is the method for closing the button in the VCH

Regards,

Brian