You might want to check that you are adding your components in the correct 
place, hierarchically speaking...

I always forget to add elements to the item like so...

protected abstract void populateItem(final ListItem<T> item){
    item.add(new Component(...));  --> correct
    add(new Component(...)); --- WRONG
    

I imagine getMarkupResourceStream is not called because one of the validations 
that check the tree of components failed.

--
Eugene

On 03 Dec 2010, at 9:36 AM, alex shubert wrote:

> Hello
> 
> I got the following error trying to provide custom render for ListView
>>> WicketMessage: The component(s) below failed to render. A common problem is 
>>> that you have added a component in code but forgot to reference it in the 
>>> markup (thus the component will never be rendered).
> 
> New class  signature is
> private abstract class EnumListView<T> extends ListView<T> implements
> IMarkupResourceStreamProvider
> 
> I was sure getMarkupResourceStream will be called then EnumListView is
> to be added to a page.
> But it never happens, debug pointer never suspends execution at this point.
> 
> What may be wrong? (except my English ofc)
> 
> -- 
> Best regards
> Alex
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to