Package org.apache.wicket

Examples of org.apache.wicket.AbortException


      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }

    locale = resourceStream.getLocale();
View Full Code Here


      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }
    this.locale = resourceStream.getLocale();
    return resourceStream;
  }
View Full Code Here

      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }

    locale = resourceStream.getLocale();
View Full Code Here

            "behavior not enabled; ignoring call. behavior: {} at index: {} on component: {}",
            new Object[] { behavior, idAsInt, component });
          if (requestCycle.getRequest() instanceof WebRequest &&
            ((WebRequest)requestCycle.getRequest()).isAjax())
          {
            throw new AbortException();
          }
          return;
        }

        behaviorListener = (IBehaviorListener)behavior;
      }
    }

    if (behaviorListener == null)
    {
      // wicket-2107
      throw new PageExpiredException("No behavior listener found with behaviorId " + id +
        "; Component: " + component.toString());
    }

    if (!component.isVisibleInHierarchy() ||
      (!(behaviorListener instanceof IIgnoreDisabledComponentBehavior) && !component.isEnabledInHierarchy()))
    {
      // ignore this request
      logger.warn("component not enabled or visible; ignoring call. Component: {}", component);
      if (requestCycle.getRequest() instanceof WebRequest &&
        ((WebRequest)requestCycle.getRequest()).isAjax())
      {
        throw new AbortException();
      }
      return;
    }

View Full Code Here

      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }
    this.locale = resourceStream.getLocale();
    return resourceStream;
  }
View Full Code Here

                     StatusMessage.Severity.WARN,
                     "org.jboss.seam.NoConversation",
                     "The conversation ended or timed"
                  );
               cycle.redirectTo(cycle.getSession().getPageFactory().newPage(noConversationPage));
               throw new AbortException();
            }
         }
      }
   }
View Full Code Here

                  StatusMessage.Severity.WARN,
                  "org.jboss.seam.NoConversation",
                  "The conversation ended or timed"
            );
            cycle.redirectTo(Session.get().getPageFactory().newPage(noConversationPage));
            throw new AbortException();
         }
         else
         {
            throw new NoConversationException( "no long-running conversation for @Conversational wicket component: " + invocationContext.getComponent().getClass().getName());        
         }
View Full Code Here

      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }

    locale = resourceStream.getLocale();
View Full Code Here

      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }

    locale = resourceStream.getLocale();
View Full Code Here

      {
        throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_FOUND, msg);
      }
      else
      {
        throw new AbortException();
      }
    }

    locale = resourceStream.getLocale();
View Full Code Here

TOP

Related Classes of org.apache.wicket.AbortException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.