You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by andrea pantaleoni <an...@fao.org> on 2007/08/31 16:05:22 UTC

Hierarchy of components

Hi,
I build a page quite complex with 10 panels several listview a nd other
components
When I try to run the application I got always an error:
hierarchy does not match (markup and page components)
Anyone knows a way to DEBUG wicket to understand how is built the internal
hierarchy of components for a page?


Thanks a lot for any suggestion

-- 
View this message in context: http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12427104
Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Hierarchy of components

Posted by Kees de Kooter <kd...@gmail.com>.
Check out this thread:
http://www.nabble.com/hierarchy-does-not-match-tf4344474.html#a12414152

I had the same problem, it is solved in trunk.

On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>
> Hi,
> I build a page quite complex with 10 panels several listview a nd other
> components
> When I try to run the application I got always an error:
> hierarchy does not match (markup and page components)
> Anyone knows a way to DEBUG wicket to understand how is built the internal
> hierarchy of components for a page?
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Hierarchy of components

Posted by Eelco Hillenius <ee...@gmail.com>.
> you are right we changed
> we are going to add a parameter that in development will let us to get the
> wicket standard error page
> Andrea

It actually should already work like that (Wicket serving different
pages depending on whether you're in development or deployment mode),
unless you provide your error page through a custom request cycle. If
that is the case, use for instance
Application.DEPLOYMENT.equals(Application.get().getConfigurationType())

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Hierarchy of components

Posted by andrea pantaleoni <an...@fao.org>.
you are right we changed 
we are going to add a parameter that in development will let us to get the
wicket standard error page
Andrea

igor.vaynberg wrote:
> 
> you should get that on the error page, unless you changed the error page
> used to your own
> 
> -igor
> 
> 
> On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>>
>>
>> Thanks a lot for the suggestion finally I solved the problem.
>> Anyway I would find more helpful a clear debug that  shows visually the
>> internal hierarchy of components.
>> Just to find quicker the bugs
>> Andrea
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > it helps when you paste the stacktrace
>> >
>> > -igor
>> >
>> >
>> > On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>> >>
>> >>
>> >> Hi,
>> >> I build a page quite complex with 10 panels several listview a nd
>> other
>> >> components
>> >> When I try to run the application I got always an error:
>> >> hierarchy does not match (markup and page components)
>> >> Anyone knows a way to DEBUG wicket to understand how is built the
>> >> internal
>> >> hierarchy of components for a page?
>> >>
>> >>
>> >> Thanks a lot for any suggestion
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12427104
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12429312
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12429419
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Hierarchy of components

Posted by Igor Vaynberg <ig...@gmail.com>.
you should get that on the error page, unless you changed the error page
used to your own

-igor


On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>
>
> Thanks a lot for the suggestion finally I solved the problem.
> Anyway I would find more helpful a clear debug that  shows visually the
> internal hierarchy of components.
> Just to find quicker the bugs
> Andrea
>
>
>
> igor.vaynberg wrote:
> >
> > it helps when you paste the stacktrace
> >
> > -igor
> >
> >
> > On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
> >>
> >>
> >> Hi,
> >> I build a page quite complex with 10 panels several listview a nd other
> >> components
> >> When I try to run the application I got always an error:
> >> hierarchy does not match (markup and page components)
> >> Anyone knows a way to DEBUG wicket to understand how is built the
> >> internal
> >> hierarchy of components for a page?
> >>
> >>
> >> Thanks a lot for any suggestion
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12427104
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12429312
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Hierarchy of components

Posted by andrea pantaleoni <an...@fao.org>.
Thanks a lot for the suggestion finally I solved the problem.
Anyway I would find more helpful a clear debug that  shows visually the
internal hierarchy of components.
Just to find quicker the bugs
Andrea



igor.vaynberg wrote:
> 
> it helps when you paste the stacktrace
> 
> -igor
> 
> 
> On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>>
>>
>> Hi,
>> I build a page quite complex with 10 panels several listview a nd other
>> components
>> When I try to run the application I got always an error:
>> hierarchy does not match (markup and page components)
>> Anyone knows a way to DEBUG wicket to understand how is built the
>> internal
>> hierarchy of components for a page?
>>
>>
>> Thanks a lot for any suggestion
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12427104
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12429312
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Hierarchy of components

Posted by Igor Vaynberg <ig...@gmail.com>.
it helps when you paste the stacktrace

-igor


On 8/31/07, andrea pantaleoni <an...@fao.org> wrote:
>
>
> Hi,
> I build a page quite complex with 10 panels several listview a nd other
> components
> When I try to run the application I got always an error:
> hierarchy does not match (markup and page components)
> Anyone knows a way to DEBUG wicket to understand how is built the internal
> hierarchy of components for a page?
>
>
> Thanks a lot for any suggestion
>
> --
> View this message in context:
> http://www.nabble.com/Hierarchy-of-components-tf4360349.html#a12427104
> Sent from the Wicket - User mailing list archive at Nabble.com.
>