Example #1
0
 public void apply(FacesContext context, AspectInvocation invocation) throws IOException {
   setInvocation(invocation);
   try {
     this.proceedCalled = false;
     super.encodeChildren(context);
     if (!proceedCalled) {
       invocation.proceed();
     }
   } finally {
     clearInvocation();
   }
 }