You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/06/13 07:43:39 UTC
svn commit: r667360 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
Author: bommel
Date: Thu Jun 12 22:43:39 2008
New Revision: 667360
URL: http://svn.apache.org/viewvc?rev=667360&view=rev
Log:
(TOBAGO-680) Allow relative id of the popup in popupReferenceTag
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java?rev=667360&r1=667359&r2=667360&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java Thu Jun 12 22:43:39 2008
@@ -18,6 +18,7 @@
*/
import org.apache.myfaces.tobago.component.AbstractUIPopup;
+import org.apache.myfaces.tobago.util.ComponentUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -55,8 +56,7 @@
}
public void processAction(ActionEvent actionEvent) throws AbortProcessingException {
- AbstractUIPopup popup = (AbstractUIPopup) actionEvent.getComponent().findComponent(popupId);
-
+ AbstractUIPopup popup = (AbstractUIPopup) ComponentUtil.findComponent(actionEvent.getComponent(), popupId);
if (popup != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("activated "