usually what i do is make listeners on the page level/panel level (whatever your encapsulaion unit is) that various components trigger.

for example

Page.onUserSelected(User user) {}

then whatever is in charge of selecting users raises this event.

if it is encapsulated on the level of the panel i sometimes make these listeners abstract so i remember to implement them if they are required.

sometimes the simplest solutions are the best :)

-Igor

On 8/21/06, Jan Willem Janssen <[EMAIL PROTECTED]> wrote:
Hi,

I'm, in general, wondering what the "Wicket way" of inter-component
communication would be. Or even, if there is such a way of doing
this.

For example, I've got a Tree, which should update a List according to
a clicked tree-node (viz. a simple webmail app). The click event of
the tree node should fire an event to update the list, which might on
its own another component, and so on.

How are other users of Wicket dealing with this? Do they create custom
controllers for this, which handle the events? Or, ...?

TiA,

--

Jan Willem Janssen, M.Sc.
software engineer, Development
______________________________

Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T:  +31 (0) 24 648 7662
F:  +31 (0) 24 642 2942
E: [EMAIL PROTECTED]
W: www.planon-fm.com

Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to