Package com.sun.facelets.el

Examples of com.sun.facelets.el.LegacyValueBinding


      ValueExpression toExpression=  _to.getValueExpression(faceletContext,
                                                            Object.class);
      ActionSource actionSource= (ActionSource) parent;
      SetActionListener listener = new SetActionListener();
      listener.setValueBinding(SetActionListener.FROM_KEY,
                               new LegacyValueBinding(fromExpression));
      listener.setValueBinding(SetActionListener.TO_KEY,
                               new LegacyValueBinding(toExpression));
      actionSource.addActionListener(listener);
    }
  }
View Full Code Here


    if(ComponentSupport.isNew(parent))
    {
      ValueExpression valueExp = _value.getValueExpression(faceletContext, Object.class);
      ActionSource actionSource = (ActionSource)parent;
      ReturnActionListener listener = new ReturnActionListener();
      listener.setValueBinding(ReturnActionListener.VALUE_KEY, new LegacyValueBinding(valueExp));
      actionSource.addActionListener(listener);
    }
  }
View Full Code Here

TOP

Related Classes of com.sun.facelets.el.LegacyValueBinding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.