You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Eelco Hillenius <ee...@gmail.com> on 2007/07/10 18:58:52 UTC

Remove PageView in ExceptionErrorPage

Hi,

Our first part of the ExceptionErrorPage works fine. It's
straightforward and displays useful information.

I'm not happy with the PageView part though. Tbh, I don't think I ever
read anything from tree that helped me. What's worse, the size bit in
the PageView can be a serious hog sometimes. For example, a
problematic page I'm looking at now takes more than 40 seconds to
calculate the sizes of all the individual components, and the
resulting output is 400KB! If I remove PageView from the
ExceptionErrorPage, it displays immediately, and is just 20KB.

I would like to remove PageView from ExceptionErrorPage. I don't think
information such as

#  	Path  	Size  	Type  	Model Object
1    	-header
	org.apache.wicket.markup.html.internal.HtmlHeaderContainer
2    	-header:_FeedbackPanelnullHeader2
	org.apache.wicket.markup.html.HeaderPartContainer
3    	-header:_FeedbackPanelnullHeader2:_link_13
	org.apache.wicket.markup.html.WebMarkupContainer
4    	-header:_FeedbackPanelnullHeader2:_link_13:_autolink_14
	org.apache.wicket.markup.html.WebMarkupContainer
5    	-header:_FilterableTableViewEmbeddednullHeader2
	org.apache.wicket.markup.html.HeaderPartContainer
6    	-header:_FilterableTableViewEmbeddednullHeader2:_link_9
	org.apache.wicket.markup.html.WebMarkupContainer
7    	-header:_FilterableTableViewEmbeddednullHeader2:_link_9:_autolink_10
   	org.apache.wicket.markup.html.WebMarkupContainer
8    	-header:_PagingNavigatornullHeader0
... etc

is useful in that page at all, and having to wait for half a minute
before you see the page is very anoying. We might consider adding e.g.
an Ajax based tree that you can use to navigate the structure, but
otoh, we would only have such a tree in there because it is fancy, not
because it actually helps debugging (for that, just use your IDE).

Objections?

Eelco

Re: Remove PageView in ExceptionErrorPage

Posted by Eelco Hillenius <ee...@gmail.com>.
> instead of removing it completely can you make it hidden by default and add
> a link that will show it? i agree that it is not useful, i have never really
> used it myself for anything at least. if it was our treetable it would be
> easier to understand imho, but even then its usefulness can be argued. but
> that is just me and you, maybe others find it useful.

Ok, I'll do that.

Eelco

Re: Remove PageView in ExceptionErrorPage

Posted by Igor Vaynberg <ig...@gmail.com>.
On 7/10/07, Eelco Hillenius <ee...@gmail.com> wrote:
>
>
> is useful in that page at all, and having to wait for half a minute
> before you see the page is very anoying. We might consider adding e.g.
> an Ajax based tree that you can use to navigate the structure, but
> otoh, we would only have such a tree in there because it is fancy, not
> because it actually helps debugging (for that, just use your IDE).
>
> Objections?


instead of removing it completely can you make it hidden by default and add
a link that will show it? i agree that it is not useful, i have never really
used it myself for anything at least. if it was our treetable it would be
easier to understand imho, but even then its usefulness can be argued. but
that is just me and you, maybe others find it useful.

-igor



Eelco
>