Hi
Is it possible to add a close="true" (the default) or close=false" attribute to the dialog widget ?.
With the following behaviour:
if close="false" the dialog will not display the Upper-Right close icon and in fact only the application will be able to make him hidden, destroy, etc.
In 0.4 the dialog widget have this attribute.
thanks
Eduardo

It did in fact. You can
It did in fact. You can simply hide the close icon using CSS, making it unavailable for clicking: I think it's .dijitDialogCloseIcon
#myDialog .dijitDialogCloseIcon {
display:none;
}
</style>
<div id="myDialog" title="Unclosable">
Foo!
</div>
you can use styles to turn it on or off, or fade it in and out like:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/widget/tests/te...
Though I could easily be persuaded to add a closeable="" boolean attribute to the DojoX Dialog. If the workaround isn't sufficient, please feel free to file an enhancement request at trac.dojotoolkit.org l/p guest/guest - file against my forum name.
Regards
Oh I missed this
Thanks you very much !!
I think that this workaround is Ok .
Eduardo