} else {
href = "#"; // this is to make the link "active", needed for focus, cursor, etc.
UIPopup popup = (UIPopup) command.getFacet(Facets.POPUP);
if (popup != null) {
if (!ComponentUtils.containsPopupActionListener(command)) {
command.addActionListener(new PopupFacetActionListener());
}
}
boolean defaultCommand = ComponentUtils.getBooleanAttribute(command, Attributes.DEFAULT_COMMAND);
boolean transition = ComponentUtils.getBooleanAttribute(command, Attributes.TRANSITION);