[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/component ...
Peter Muir
peter at bleepbleep.org.uk
Wed Oct 17 05:40:26 EDT 2007
User: pmuir
Date: 07/10/17 05:40:26
Modified: ui/src/main/java/org/jboss/seam/ui/component
UISeamCommandBase.java
Log:
Fix for RF
Revision Changes Path
1.9 +7 -3 jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UISeamCommandBase.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- UISeamCommandBase.java 30 Aug 2007 11:48:28 -0000 1.8
+++ UISeamCommandBase.java 17 Oct 2007 09:40:26 -0000 1.9
@@ -161,17 +161,21 @@
public void removeActionListener(ActionListener listener)
{
- throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
+ // Silently fail, RF requires this
+ //throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
}
public ActionListener[] getActionListeners()
{
- throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
+ // Silently fail, RF requires this
+ //throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
+ return null;
}
public void addActionListener(ActionListener listener)
{
- throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
+ // Silently fail, RF requires this
+ //throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
}
@Deprecated
More information about the jboss-cvs-commits
mailing list