Hi All
I tried using dojo.lfx.rounded on a div inside a dojo.widget.Dialog :
rounded: { tl:{radius:15},tr:{radius:15},bl:{radius:15},br:
{radius:15} },
fillInTemplate: function(args, frag) {
dojo.html.hide(this.logInNode);
dojo.html.hide(this.logOutNode);
this.loginAuthDialogWidget =
dojo.widget.createWidget("dojo:Dialog", { toggle:"fade",
toggleDuration:250}, this.logInAuthDialogNode);
dojo.lfx.rounded(this.rounded, "rounded");
this.loginAuthDialogWidget.setCloseControl(dojo.byId
("userWidgetLoginAuthCancel"));
},
The template :
<div class="userWidget" dojoAttachPoint="containerNode">
<div class="login" dojoAttachPoint="logInNode" style="text-
align:right;"><span class="link" dojoOnClick="login"
title="authenticate with your account">Login</span><br/><span
class="name">you are not not logged in.</span></div>
<div class="logout" dojoAttachPoint="logOutNode" style="text-
align:right;"><span class="link" dojoOnClick="logout"
title="logout">Logout</span><br/><span class="name"
dojoAttachPoint="logInNameNode"> </span></div>
<div class="loginAuthDialog"
dojoAttachPoint="logInAuthDialogNode" style="background:white;">
<div style="background:white;padding:10px;border:2px solid
black;" class="rounded">
<p style="text-align:center;font-
weight:bold;">Authenticating</p>
<p>Complete the authentication in this page, then click
this OK button to continue.</p>
<p style="text-align:center;">
<span dojoOnClick="loginStep2" title="I have
authenticated" style="background:#aaa;padding:5px;">OK</span>
<span id="userWidgetLoginAuthCancel" title="Cancel
the login" style="background:#aaa;padding:5px;">Cancel</span>
</p>
<div dojoAttachPoint="logInAuthDialogNode"> </div>
</div>
</div>
</div>
What happens when I add the rounding using dojo.lfx.rounded
(this.rounded, "rounded"); is that all of the buttons in the dialog
stop working.
This includes buttons that use @dojoOnClick and dialog.setCloseControl.
Is this a known issue, or an I doing something wrong ?
thanks for any suggestions
regards Jeremy
On 12 Jan 2007, at 18:53, Evrim ULU wrote:
_______________________________________________
Dojo FAQ:
http://dojo.jot.com/FAQDojo Book:
http://manual.dojotoolkit.org/DojoDotBookDojo-interest@...
http://dojotoolkit.org/mailman/listinfo/dojo-interest