You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shale.apache.org by Pich <pe...@edb.com> on 2007/03/09 09:25:41 UTC
Shale Dialog Manager
Hi,
I am wondering if there is anybody who has managed to start A DialogContext
Via URL Parameters, as described here
http://shale.apache.org/shale-dialog/index.html:
In a use case like a pop-up window, the first request served by the
application will be to a new window that is not currently associated with a
current dialog. In order for such a window to immediately become associated
with a DialogContext instance, the Dialog Manager also recognizes the
following request parameters, if they are present, and if there is no active
DialogContext already:
* org.apache.shale.dialog.DIALOG_NAME - The logical name of the dialog
to be created and started.
* org.apache.shale.dialog.PARENT_ID - (Optional) the logical dialog
identifier of a parent DialogContext instance that should become the parent
of the newly created one. This allows, for example, a popup window to be
associated with the data element for the DialogContext instance associated
with the parent window.
I cannot get this to work.
Regards
Pich
--
View this message in context: http://www.nabble.com/Shale-Dialog-Manager-tf3374345.html#a9390229
Sent from the Shale - Dev mailing list archive at Nabble.com.
Re: Shale Dialog Manager
Posted by Rahul Akolkar <ra...@gmail.com>.
Please post usage questions to the user list, its this forum on nabble:
http://www.nabble.com/Shale---User-f15689.html
A quick answer below:
On 3/9/07, Pich <pe...@edb.com> wrote:
>
> Hi,
>
> I am wondering if there is anybody who has managed to start A DialogContext
> Via URL Parameters, as described here
> http://shale.apache.org/shale-dialog/index.html:
>
> In a use case like a pop-up window, the first request served by the
> application will be to a new window that is not currently associated with a
> current dialog. In order for such a window to immediately become associated
> with a DialogContext instance, the Dialog Manager also recognizes the
> following request parameters, if they are present, and if there is no active
> DialogContext already:
>
> * org.apache.shale.dialog.DIALOG_NAME - The logical name of the dialog
> to be created and started.
> * org.apache.shale.dialog.PARENT_ID - (Optional) the logical dialog
> identifier of a parent DialogContext instance that should become the parent
> of the newly created one. This allows, for example, a popup window to be
> associated with the data element for the DialogContext instance associated
> with the parent window.
>
> I cannot get this to work.
>
<snip/>
See wizardpage2.jsp in any of the test apps for dialogs, the one for
the basic impl (and 1.0.4 release) is here [1]. Search for
"zipCodePopup" for an example.
-Rahul
(long URL below, might get fragmented)
[1] http://svn.apache.org/repos/asf/shale/framework/tags/APACHE_SHALE_1_0_4/shale-apps/shale-test-dialog-basic/src/main/webapp/wizardpage2.jsp
> Regards
>
> Pich
> --
> View this message in context: http://www.nabble.com/Shale-Dialog-Manager-tf3374345.html#a9390229
> Sent from the Shale - Dev mailing list archive at Nabble.com.
>
>