I get an error when replacing components (of type Panel) on a page during the onSubmit() method call in the form.
Basically when the form is submited, in the onSubmit() I perform a replace of the component the actually holds the form. The exception is being thrown in the onFormSubmitted() methoed and mentions something about trying to access part of the form (that was just replaced). It appear that the form that is replaced is getting referenced after the onSubmit call is performed. I was able to get around the problem by performing my replace in the onFormSubmitted method itself (which the javadocs state you should not override). So I got it to work but I dont think this is the right place to be doing this. Just wanted to know if I should be doing this replacing function somewhere other the onSubmit method or if this is a RFE or bug I should log. Thanks Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user