Martijn thanks for your patience and help. Sometimes I miss obvious things. Only one question left: why onComponentTagBody implemented on ListView if it's never called? I miss something clear again?
On 3 December 2010 18:18, Martijn Dashorst <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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] >>>> >>>> >>> >> >> >> >> -- >> Best regards >> Alex >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Best regards Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
