OK, I am now committing this feature. It is in! Martijn
On 5/1/07, Al Maw <[EMAIL PROTECTED]> wrote:
Martijn Dashorst wrote: > I just had a small idea, to regain the line precise error message when > we construct the component tree we lost in the constructor change > removal. > > Why don't we record the stack trace in Component#Component() if we are > in development mode, and put it in the meta data or in a temporary > store in the request cycle? > > This way if something goes wrong during construction, we can display > the component that is in violation and show the exact line number > where the component is constructed. > > Something similar can be done with the 'add' method. Yes! That sounds like an excellent idea. :-) +1 Alastair
-- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org
