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:45:22 UTC
svn commit: r667362 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
Author: bommel
Date: Thu Jun 12 22:45:22 2008
New Revision: 667362
URL: http://svn.apache.org/viewvc?rev=667362&view=rev
Log:
(TOBAGO-680) Allow relative id of the popup in popupReferenceTag
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java?rev=667362&r1=667361&r2=667362&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java Thu Jun 12 22:45:22 2008
@@ -18,6 +18,7 @@
*/
import org.apache.myfaces.tobago.component.UIPopup;
+import org.apache.myfaces.tobago.component.ComponentUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -55,7 +56,7 @@
}
public void processAction(ActionEvent actionEvent) throws AbortProcessingException {
- UIPopup popup = (UIPopup) actionEvent.getComponent().findComponent(popupId);
+ UIPopup popup = (UIPopup) ComponentUtil.findComponent(actionEvent.getComponent(), popupId);
if (popup != null) {
if (LOG.isDebugEnabled()) {