On 5/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, how can i configure a DialogContextListener?



Two different ways:

(1) Get access to the DialogContext instance for the
   currently active dialog, then call addDialogContextListener()
   on it, passing the instance of your listener.  This is the
   usual JavaBeans pattern for registering event listeners.

(2) If you are using the getData/setData methods to save state
   information for your dialog, *and* the class of the object you
   pass to setData implements DialogContextListener, it will
   automatically be registered as a listener and will receive events,
   for as long as it is the data value for this dialog.

Craig



Regards

Mario





This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to