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
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 Summary
Constructors -
Method Summary
-
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:
retrievein interfaceorg.ocpsoft.rewrite.bind.Retrieval
-
submit
public Object submit(org.ocpsoft.rewrite.event.Rewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, Object value) - Specified by:
submitin interfaceorg.ocpsoft.rewrite.bind.Submission
-
supportsRetrieval
public boolean supportsRetrieval()- Specified by:
supportsRetrievalin interfaceorg.ocpsoft.rewrite.bind.Binding
-
supportsSubmission
public boolean supportsSubmission()- Specified by:
supportsSubmissionin interfaceorg.ocpsoft.rewrite.bind.Binding
-