[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/component ...

Peter Muir peter at bleepbleep.org.uk
Thu Aug 30 07:48:28 EDT 2007


  User: pmuir   
  Date: 07/08/30 07:48:28

  Modified:    ui/src/main/java/org/jboss/seam/ui/component 
                        UISeamCommandBase.java
  Log:
  JBSEAM-1866
  
  Revision  Changes    Path
  1.8       +14 -2     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.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- UISeamCommandBase.java	4 Aug 2007 12:28:18 -0000	1.7
  +++ UISeamCommandBase.java	30 Aug 2007 11:48:28 -0000	1.8
  @@ -17,6 +17,7 @@
   
   import org.jboss.seam.navigation.Pages;
   import org.jboss.seam.ui.util.ViewUrlBuilder;
  +import org.jboss.seam.ui.util.cdk.MethodBindingToMethodExpression;
   
   public abstract class UISeamCommandBase extends UIOutput implements ActionSource2
   {
  @@ -171,7 +172,18 @@
      public void addActionListener(ActionListener listener)
      {
         throw new UnsupportedOperationException("Action listeners not supported by s:link/s:button");
  +   }
   
  +   @Deprecated
  +   public void setAction(javax.faces.el.MethodBinding methodBinding)
  +   {
  +      setActionExpression(new MethodBindingToMethodExpression(methodBinding));
  +   }
  +   
  +   @Deprecated
  +   public javax.faces.el.MethodBinding getAction()
  +   {
  +      return new org.jboss.seam.ui.util.cdk.MethodExpressionToMethodBinding(getActionExpression());
      }
   
   }
  
  
  



More information about the jboss-cvs-commits mailing list