Class IgnorePostbackBinding

java.lang.Object
org.ocpsoft.rewrite.faces.annotation.config.IgnorePostbackBinding
All Implemented Interfaces:
org.ocpsoft.rewrite.bind.Binding, org.ocpsoft.rewrite.bind.Retrieval, org.ocpsoft.rewrite.bind.Submission

public class IgnorePostbackBinding extends Object implements org.ocpsoft.rewrite.bind.Binding
A wrapper for an existing binding that will only delegate to the wrapped binding if the current request is a JSF postback. Will only work if the wrapper is deferred.
Author:
Christian Kaltepoth
  • Constructor Details

    • IgnorePostbackBinding

      public IgnorePostbackBinding(org.ocpsoft.rewrite.bind.Binding delegate)
  • Method Details

    • retrieve

      public Object retrieve(org.ocpsoft.rewrite.event.Rewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)
      Specified by:
      retrieve in interface org.ocpsoft.rewrite.bind.Retrieval
    • submit

      public Object submit(org.ocpsoft.rewrite.event.Rewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, Object value)
      Specified by:
      submit in interface org.ocpsoft.rewrite.bind.Submission
    • supportsRetrieval

      public boolean supportsRetrieval()
      Specified by:
      supportsRetrieval in interface org.ocpsoft.rewrite.bind.Binding
    • supportsSubmission

      public boolean supportsSubmission()
      Specified by:
      supportsSubmission in interface org.ocpsoft.rewrite.bind.Binding