Package org.ocpsoft.rewrite.bind

Examples of org.ocpsoft.rewrite.bind.Binding


      // run subsequent handler to enrich the parameter and wrap the binding
      chain.proceed();

      // add the enriched binding to the parameter
      Binding enrichedBinding = (Binding) context.get(Binding.class);
      Assert.notNull(enrichedBinding, "Binding was removed from the context");
      parameterBuilder.bindsTo(enrichedBinding);
   }
View Full Code Here


            context.put(Operation.class, new IgnorePostbackOperation(operation));
         }
      }

      if (context instanceof FieldContext) {
         Binding binding = (Binding) context.get(Binding.class);
         if (binding != null) {
            // replace the binding with a wrapped one that ignores postbacks
            context.put(Binding.class, new IgnorePostbackBinding(binding));
         }
      }
View Full Code Here

         // locate the parameter previously created by @Parameter
         final Parameter<?> parameter = (Parameter<?>) context.get(Parameter.class);
         if (parameter != null) {

            Binding binding = (Binding) context.get(Binding.class);
            if (binding != null)
            {
               PhaseBinding phaseBinding = PhaseBinding.to(binding);

               Converter<?> converter = parameter.getConverter();
View Full Code Here

TOP

Related Classes of org.ocpsoft.rewrite.bind.Binding

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.