What is wrong with the javadoc?

Martijn

On 5/1/08, Jay <[EMAIL PROTECTED]> wrote:
> Hi, Igor
>
>  What's the difference between "RestartResponseException" and
>  "RestartResponseAtInterceptPageException"? Thx
>
>
>  Regards,
>  Jay
>
>  -----邮件原件-----
>  发件人: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>  发送时间: 2008年2月21日 7:03
>  收件人: [email protected]
>  主题: Re: What is the Wicket way to redirect?
>
>
>  s/error/session.error/
>  s/setresponsepage/throw new restartresponseexception
>
>  -igor
>
>
>  On Wed, Feb 20, 2008 at 2:54 PM, MYoung <[EMAIL PROTECTED]> wrote:
>  >
>  >  In my Checkout page if there is nothing to checkout, I want to bounce to
>  the
>  >  ShowCatalog page with an error message.  I did it this way:
>  >
>  >  class Checkout extends WebPage {
>  >     public Checkout() {
>  >         if (thereIsNothingToCheckout()) {
>  >             error("You have nothing to checkout");
>  >             setResponsePage(ShowCatalog.class);
>  >             return;
>  >         }
>  >
>  >         // continue to checkout
>  >
>  >     }
>  >  }
>  >
>  >  Is this the right way?
>  >  --
>  >  View this message in context:
>  http://www.nabble.com/What-is-the-Wicket-way-to-redirect--tp15600869p1560086
>  9.html
>  >  Sent from the Wicket - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.3

Reply via email to