On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
No, does not work because getDialogContext().getName() returns null
(also in onStop() method).
Does work in onEntry(String stateId)....
Any suggestion?
<snip/>
Indeed, I see, it has to do with some internals of the basic
implementation (the "positions" stack happens to be empty in both
cases).
Please raise an issue in JIRA [1] (component "Dialog").
-Rahul
[1] http://issues.apache.org/struts/browse/SHALE
-----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
>
>