Reply To: How to create onPostback="false" at HttpConfigurationProvider

Splash Forums Rewrite Users How to create onPostback="false" at HttpConfigurationProvider Reply To: How to create onPostback="false" at HttpConfigurationProvider

#24706

persapiens
Participant

I could run rewrite-parent with profile JBOSS_AS_MANAGED_7.X,
but rewrite-integration-faces build fails 🙁

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project rewrite-integration-faces: An Ant BuildException has occured: Warning: Could not find file /home/marcelo/workspace/rewrite/integration-faces/test-harness/src/main/resources/jbossas-managed-standalone.xml to copy.
[ERROR] around Ant part ...<copy todir="/home/marcelo/workspace/rewrite/integration-faces/target/container/jboss-as-7.1.1.Final/standalone/configuration" file="/home/marcelo/workspace/rewrite/integration-faces/test-harness/src/main/resources/jbossas-managed-standalone.xml"/>... @ 4:251 in /home/marcelo/workspace/rewrite/integration-faces/target/antrun/build-main.xml

Well, we should add the following methods at org.ocpsoft.rewrite.faces.config.PhaseOperation:

public static PhaseOperation<?> enqueueIgnorePostback(final Operation operation)
{
return enqueue(new IgnorePostbackOperation(operation));
}

public static PhaseOperation<?> enqueueIgnorePostback(final Operation operation, final int priority)
{
return enqueue(new IgnorePostbackOperation(operation), priority);
}

How could I test it? I don’t work with junit regularly, I’m a bit familiar with maven and jsf. I’m learning git too.