@version $Name: $ ($Revision: adfrt/faces/adf-faces-api/src/main/java/oracle/adf/view/faces/event/DisclosureEvent.java#0 $) $Date: 10-nov-2005.19:09:00 $ @author The Oracle ADF Faces Team
134135136137138139140141142143144
if (comp instanceof UIXShowDetail) { UIXShowDetail showDetail = (UIXShowDetail) comp; // Queue an event to hide the currently expanded showDetail if (showDetail.isDisclosed()) (new DisclosureEvent(showDetail, false)).queue(); } } } super.queueEvent(event); }
72737475767778798081
e.setPhaseId(PhaseId.INVOKE_APPLICATION); } // Now queue the event for the to-be-undisclosed showDetailItem // Note that this is always delivered earlier than the one that is // already queued for to-be-disclosed showDetailItem. (new DisclosureEvent(toBeUnDisclosedChild, false)).queue(); } } super.queueEvent(e); }
575859606162636465666768697071
} if (this == parent) { // Care only if the incoming event was from the to-be-disclosed showDetailItem. DisclosureEvent disclosureEvent = (DisclosureEvent)unwrappedEvent; if (disclosureEvent.isExpanded()) { FacesContext context = FacesContext.getCurrentInstance(); String disclosedClientId = disclosureEvent.getComponent().getClientId(context); // Visit all of the flattened children: try { UIXComponent.processFlattenedChildren(
137138139140141142143144145
} // Now queue the event for the to-be-undisclosed showDetailItem // Note that this is always delivered earlier than the one that is // already queued for to-be-disclosed showDetailItem. (new DisclosureEvent(toBeUnDisclosedChild, false)).queue(); } } }
8990919293949596979899
if (!child.isRendered() || _isItemDisabled(child)) continue; if (itemId.equals(child.getClientId(context))) { (new DisclosureEvent(child, isDisclosed)).queue(); RequestContext rc = RequestContext.getCurrentInstance(); // We're not using PPR on PDAs, even if they support it, // so don't force PPR on! if (!rc.getAgent().getType().equals(Agent.TYPE_PDA)) {
104105106107108109110111112113
6768697071727374757677
626364656667686970717273747576