Forget it, please, I found my fault after 1 minute!!!
Thank you!

On Fri, Oct 16, 2009 at 4:38 PM, Anton Veretennikov
<anton.veretenni...@gmail.com> wrote:
> Hello, wicket users and developers,
>
> I need your help, can't find the reason of problem. Tried this with
> 1.4.1 and 1.4.2 wicket versions.
>
> My class IconImage extends WebMarkupContainer and adds "src" attribute
> to <img> tag depending on some logic and I use it in several panels.
> It works perfectly until I want to use it in this breadcrump markup:
>
> <wicket:panel>
>    <span wicket:id="breadcrumb">
>        <a wicket:id="link">
>           <img wicket:id="icon" src="" alt="" />
>           <span wicket:id="text"></span>
>        </a>
>        <span wicket:id="gt"> <img src=".../gtdot.gif" alt="&gt;"/> </span>
>    </span>
>    <img src=".../gtdot.gif" alt="&gt;"/>
>    <a wicket:id="nameimglink" class="noadecoration">
>        <img src=".../link.gif" alt="" title=""/>
>     </a>
>     <a wicket:id="goodLink">
>        <img wicket:id="goodIcon" src="" alt="" />
>        <span wicket:id="name"></span>
>     </a>
> </wicket:panel>
>
> Span [wicket:id="breadcrumb"] is filled using ListView, here IconImage
> is added to [wicket:id="icon"], it WORKS here.
>
> But last [wicket:id="goodIcon"] throws
>
> org.apache.wicket.markup.MarkupException: Unable to find component
> with id 'goodIcon' in [MarkupContainer [Component id = goodLink]]
>
> When I replace IconImage with simple WebMarkupContainer - everything
> starts to work.
> Even when I make simple extend of WebMarkupContainer without any logic
> it throws this exception.
>
> What's the matter?
>
> Best regards,
> -- Tony
>

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

Reply via email to