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
wrote:
> Just to add some more detail to my difficluty.
> forgot to mention my markup html of my webpage
> "http://www.w3.org/TR/html4/loose.dtd";>
> http://www.w3.org/1999/xhtml";
> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd";>
>
> Administração
>
>
> [module list here]
> [module list here]
>
>
> 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
>>
>> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org