What does CSRRicolaContainer extend?

On Wed, Oct 8, 2008 at 1:34 PM, miro <[EMAIL PROTECTED]> wrote:
>
>
>      // My page
>      public Index() {
>                super();
>                add(getContent());
>        }
>
>        protected Component   getContent(){
>                RicolaGroupbox  ricolaGroupbox= new 
> RicolaGroupbox("csrHome","ESP");
>                ricolaGroupbox.add(new InboxMenuContainer());
>
>                return ricolaGroupbox;
>        }
>
>
>        private class InboxMenuContainer  extends  CSRRicolaContainer {
>
>                public InboxMenuContainer() {
>                        super("inbox");
>                        super.add(new InboxMenuLabel());
>                        super.add(new StorageInboxLink());
>                        super.add(new InventoryInboxLink());
>                }
>        }
>
>
> ricolaGroupbox   has a child component InboxMenuContainer, this has three
> childern    InboxLabel, StorageInboxLink and InventoryInboxLink , to
> describe this html
>
>    <div wicket:id="csrHome">
>                        <div  wicket id="inbox">
>                                <h3><label wicket:id="inboxMenu"></label></h3>
>                                        <UL>
>                                                        <LI> # Storage Inbox 
> </LI>
>                                                        <LI> # Inventory Inbox 
> </LI>
>                                                </UL>
>                        </div>
>   </div>
>
>
> I am getting this error
>
> ERROR RequestCycle - Unable to find component with id 'inboxMenu' in
> [MarkupContainer [Component id = csrHome, page =
> com.uprr.app.csr.webapp.pages.Index, path = 0:csrHome.RicolaGroupbox,
> isVisible = true, isVersioned = true]]. This means that you declared
> wicket:id=inboxMenu in your markup, but that you either did not add the
> component to your page at all, or that the hierarchy does not match.
>
>
> Please explain why   inboxMenu is not found and where in hirearchy it
> belongs .
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/comcept-of-hirearchy-tp19883682p19883682.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to