No, does not work because getDialogContext().getName() returns null
(also in onStop() method).
Does work in onEntry(String stateId)....

Any suggestion?



-----Original Message-----
From: Rahul Akolkar [mailto:[EMAIL PROTECTED] 
Sent: 2 luglio 2007 19.01
To: user@shale.apache.org
Subject: Re: How know dialog name in onStart method of
AbstractDialogContextListener

On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> i'm using Shale Basic Dialog 1.1.0 and I have a my
DialogContextListener
> extending AbstractDialogContextListener. In the onStart() method I
need
> to know the dialog name is starting. How can I know it?
>
<snip/>

public void onStart() {

    String dialogName = getDialogContext().getName();
    // ...

}

-Rahul


>
>
> Thanks in advance
>
> Mario Buonopane
>
>


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