You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by miro <mi...@yahoo.com> on 2008/10/08 19:34:05 UTC
comcept of hirearchy
// 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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by James Carman <ja...@carmanconsulting.com>.
On Wed, Oct 8, 2008 at 2:06 PM, Arie Fishler <a...@zibaba.com> wrote:
> Label should be in a <span> tag...not <label>?
Why?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by Arie Fishler <a...@zibaba.com>.
Label should be in a <span> tag...not <label>?
On Wed, Oct 8, 2008 at 7:55 PM, miro <mi...@yahoo.com> wrote:
>
> yes..
> Here is the code
>
> private class InboxMenuLabel extends Label {
> public InboxMenuLabel() {
> super("inboxMenu","InboxMenu");
> }
> }
>
>
> Arie Fishler wrote:
> >
> > Seems to me like the hierarchy is ok.
> >
> > What's missing from the code you provided is the id of the component you
> > defined as InboxMenuLabel(). Are you sure it was named "inboxMenu"?
> >
> > Arie
> >
> > public InboxMenuContainer() {
> > super("inbox");
> > super.add(new InboxMenuLabel());
> > super.add(new StorageInboxLink());
> > super.add(new InventoryInboxLink());
> > }
> >
> >
> > On Wed, Oct 8, 2008 at 7:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/comcept-of-hirearchy-tp19883682p19884012.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: comcept of hirearchy
Posted by miro <mi...@yahoo.com>.
yes..
Here is the code
private class InboxMenuLabel extends Label {
public InboxMenuLabel() {
super("inboxMenu","InboxMenu");
}
}
Arie Fishler wrote:
>
> Seems to me like the hierarchy is ok.
>
> What's missing from the code you provided is the id of the component you
> defined as InboxMenuLabel(). Are you sure it was named "inboxMenu"?
>
> Arie
>
> public InboxMenuContainer() {
> super("inbox");
> super.add(new InboxMenuLabel());
> super.add(new StorageInboxLink());
> super.add(new InventoryInboxLink());
> }
>
>
> On Wed, Oct 8, 2008 at 7:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
--
View this message in context: http://www.nabble.com/comcept-of-hirearchy-tp19883682p19884012.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by Arie Fishler <a...@zibaba.com>.
Seems to me like the hierarchy is ok.
What's missing from the code you provided is the id of the component you
defined as InboxMenuLabel(). Are you sure it was named "inboxMenu"?
Arie
public InboxMenuContainer() {
super("inbox");
super.add(new InboxMenuLabel());
super.add(new StorageInboxLink());
super.add(new InventoryInboxLink());
}
On Wed, Oct 8, 2008 at 7:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: comcept of hirearchy
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Wed, 08 Oct 2008, miro wrote:
> just to make sure iam adding to container (CSRRicolaContainer ) and not to
> the page
>
> jwcarman wrote:
> >
> > Why are you calling super.add() as opposed to merely add()?
It doesn't work like this, "super." doesn't change anything
there.
To add to the page you would do
Index.this.add(new InboxMenuLabel());
> >>>> public Index() {
> >>>> super();
I think that that super() call isn't needed either, but Java
inbokes it automatically.
> >>>> protected Component getContent(){
and you have some pretty strange formatting here.
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by miro <mi...@yahoo.com>.
just to make sure iam adding to container (CSRRicolaContainer ) and not to
the page
jwcarman wrote:
>
> Why are you calling super.add() as opposed to merely add()?
>
> On Wed, Oct 8, 2008 at 3:06 PM, miro <mi...@yahoo.com> wrote:
>>
>> It extends WebMarkupContainer .
>>
>> jwcarman wrote:
>>>
>>> What does CSRRicolaContainer extend?
>>>
>>> On Wed, Oct 8, 2008 at 1:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/comcept-of-hirearchy-tp19883682p19885352.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/comcept-of-hirearchy-tp19883682p19885606.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by James Carman <ja...@carmanconsulting.com>.
Why are you calling super.add() as opposed to merely add()?
On Wed, Oct 8, 2008 at 3:06 PM, miro <mi...@yahoo.com> wrote:
>
> It extends WebMarkupContainer .
>
> jwcarman wrote:
>>
>> What does CSRRicolaContainer extend?
>>
>> On Wed, Oct 8, 2008 at 1:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/comcept-of-hirearchy-tp19883682p19885352.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by miro <mi...@yahoo.com>.
Altogether my problem is html for nested components I have a page to this
added component A (container) and to this added component B (Link)
page
A
B
now how would html look for this
<div wicket id="A">
<UL>
<LI> # Storage Inbox </LI>
</UL>
</div>
is this right please tell me ?
miro wrote:
>
> It extends WebMarkupContainer .
>
> jwcarman wrote:
>>
>> What does CSRRicolaContainer extend?
>>
>> On Wed, Oct 8, 2008 at 1:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/comcept-of-hirearchy-tp19883682p19885568.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by miro <mi...@yahoo.com>.
It extends WebMarkupContainer .
jwcarman wrote:
>
> What does CSRRicolaContainer extend?
>
> On Wed, Oct 8, 2008 at 1:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/comcept-of-hirearchy-tp19883682p19885352.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by James Carman <ja...@carmanconsulting.com>.
What does CSRRicolaContainer extend?
On Wed, Oct 8, 2008 at 1:34 PM, miro <mi...@yahoo.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: comcept of hirearchy
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Wed, 08 Oct 2008, miro wrote:
> <div wicket:id="csrHome">
> <div wicket id="inbox">
^
> <h3><label wicket:id="inboxMenu"></label></h3>
You're missing a colon (:) there in the wicket:id
declaration of inobx. That's why inboxMenu gets directly
under csrHome in the hierarchy.
Here's a good reason to use a good, syntax-checking IDE for
editing markup!
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org