Assuming you have a feedback panel added to your page and a form with 
onSubmit(): 

  public final void onSubmit()
  {
    if (fileToLarge()) {
      this.info("The file you want to upload is too large");
      return;
    }
    ...
  }

HTH

Sven
 
>I've reviewed the API docs for FeedbackPanel and FeedbackMessaage andI'm >lost 
>at how to return a message to the user saying that his or herfile is >too 
>large to be uploaded.  Is there an example that Ididn't find?  1.1b4 >doesn't 
>have it.  How do I create aFeedbackMessage and add it to the >FeedbackPanel?  
>Or isn't it thatsimple?


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to