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

#24754

persapiens
Participant

So, the method could be:

   
   /**
    * Check if operation should not run onPostback, using {@link IngorePostbackOperation}.
    */
   public Operation onPostback(boolean onPostback)
   {
       Operation result = this;
       
       if (!onPostback)
       {
           result = new IgnorePostbackOperation(result);
       }
       
       return result;
   }

Lincoln, the generated file is:
‘/home/marcelo/workspace/rewrite/integration-faces/target/container/jboss-as-7.1.1.Final/standalone/configuration/jbossas-managed-standalone.xml’

More, how could I write the test case?