change your component so it forwards its events to protected methods,
so you can do something like this:

new JMSModuleComponent("moduleList") {
   oncomponentselected(ajaxrequettarget t) {
       t.addcomponent(queuelistcomponent);
   }
}

-igor


On Mon, Dec 14, 2009 at 5:17 AM, Daniel Ferreira Castro
<[email protected]> wrote:
> Just to add some more detail to my difficluty.
> forgot to mention my markup html of my webpage
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd";>
> <wicket:head>
> <title wicket:id="pageTitle">Administração</title>
> </wicket:head>
> <body>
> <div wicket:id="moduleList" class="moduleList">[module list here]</div>
> <div wicket:id="queueList" class="moduleList">[module list here]</div>
> </body>
> </html>
> This is the class of my WebPage - the relevant part.
> private JMSModuleComponent moduleListComponent;
> private JMSQueueListComponent queueListComponent;
> public Index() {
> super();
> moduleListComponent = new JMSModuleComponent("moduleList");
> queueListComponent = new JMSQueueListComponent("queueList", null);
> add(moduleListComponent);
> add(queueListComponent);
> }
>
>
> 2009/12/14 Daniel Ferreira Castro <[email protected]>
>>
>> Guys,
>> I searched inside the list before posting that, but nothing was clarifying
>> so I will ask here for help.
>> My application have a Component that renders a List of Links.  These links
>> represents JMS Modules present on a domain that I am reading.
>> After I click over one of the links A second component is refreshed on
>> this page showing the list of JMS Queues of the clicked module.
>> The problem is the refreshing action.
>> How should I proceed to make my JMSModuleComponent, present inside my
>> WebPage, to update my JMSQueueListComponent present also insde the same
>> WebPage?
>> --
>> "Two rules to succeed in life:
>> 1 - don´t tell people everything you know."
>> --------
>> We shall go on to the end.
>> We shall fight in France
>> We shall fightover the seas and oceans.
>> We shall fight with growing confidence and growing strength in the air.
>> We shall defend our island whatever the cost may be
>> We shall fight on beaches, we shall fight on the landing grounds,
>> We shall fight in the fields and in the streets,
>> We shall fight on the hills.
>> We shall never surrender.
>> Winston Churchill
>
>
>
> --
> "Two rules to succeed in life:
> 1 - don´t tell people everything you know."
> --------
> We shall go on to the end.
> We shall fight in France
> We shall fightover the seas and oceans.
> We shall fight with growing confidence and growing strength in the air.
> We shall defend our island whatever the cost may be
> We shall fight on beaches, we shall fight on the landing grounds,
> We shall fight in the fields and in the streets,
> We shall fight on the hills.
> We shall never surrender.
> Winston Churchill
>
>
> ---------------------------------------------------------------------
> 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