Read the ListView javadoc: it states that a ListView has no markup itself. Override ListItem's onComponentTagBody instead...
Martijn On Fri, Dec 3, 2010 at 4:15 PM, alex shubert <alex.shub...@gmail.com> wrote: > Looks like onComponentTagBody is never called for ListView > I overrided it with copy-paste from Panel and .. nothing. Even If I > replace method body with Exception nothing happens... > > > > On 3 December 2010 17:45, Martin Grigorov <mgrigo...@apache.org> wrote: >> you need to call MarkupContainer#renderAssociatedMarkup() >> >> see https://gist.github.com/468502 for an example with >> WebMarkupContainerWithAssociatedMarkup >> >> On Fri, Dec 3, 2010 at 3:36 PM, alex shubert <alex.shub...@gmail.com> 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: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> > > > > -- > Best regards > Alex > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org