public abstract class AbstractPopupActionListener implements ActionListener {
private static final Logger LOG = LoggerFactory.getLogger(AbstractPopupActionListener.class);
public void processAction(final ActionEvent actionEvent) throws AbortProcessingException {
final AbstractUIPopup popup = getPopup(actionEvent);
if (popup != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("Setting activated for component: clientId='"
+ actionEvent.getComponent().getClientId(FacesContext.getCurrentInstance()) + "'");
}
popup.setActivated(true);
}
}