Thanks Timo,

I'll try this one too. Does the visitChildren() have potential performance 
issue? For example, if you have lots of panels in a page you have to traverse 
and check them all right?

public final java.lang.Object visitChildren(java.lang.Class clazz,
                                            Component.IVisitor visitor)
 Thanks,
 WT

--
The only constant in life is change.

----- Original Message ----
From: Timo Rantalaiho <[EMAIL PROTECTED]>
To: users@wicket.apache.org
Sent: Tuesday, January 15, 2008 7:40:55 PM
Subject: Re: how to reference component in RequestTarget


On Tue, 15 Jan 2008, Beyonder Unknown wrote:
> I'm going to try your solution!

OK, remember that you can also use marker interfaces for
shooting the visitor. For example, you can make PanelA and
PanelB classes both implement a UserSelectionEventReceiver
interface and then when a user is selected with an Ajax
event, process all UserSelectionEventReceiver components on
the page with the visitor.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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






      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

Reply via email to