Class IgnorePostbackOperation

java.lang.Object
org.ocpsoft.rewrite.faces.annotation.config.IgnorePostbackOperation
All Implemented Interfaces:
org.ocpsoft.rewrite.config.Operation

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

    • IgnorePostbackOperation

      public IgnorePostbackOperation(org.ocpsoft.rewrite.config.Operation delegate)
  • Method Details

    • perform

      public void perform(org.ocpsoft.rewrite.event.Rewrite event, org.ocpsoft.rewrite.context.EvaluationContext context)
      Specified by:
      perform in interface org.ocpsoft.rewrite.config.Operation