[Dojo-interest] Newbie: how to create a tabular body in a dialog

7 views
Skip to first unread message

ceving

unread,
Feb 29, 2012, 11:03:21 AM2/29/12
to dojo-i...@mail.dojotoolkit.org
I am new to Dojo. I would like to create a login window. This is what I have
so far:

require
(
["dijit/Dialog", "dijit/form/Button", "dijit/form/TextBox",
"dojo/domReady!"],
function (Dialog, Button, TextBox)
{
var login = new Dialog ({
id: "login-window",
title: "Authentication",
content: new Button ({
label: "Sign in",
onClick: function () { login.hide(); }})
});
login.show ();
}
);

Now I am wondering how to create a tabular layout with two input fields for
user name an password the dialog box. I read a bit about dojo.layout but I
am not sure if it is the right way.

Can anybody help me with a snippet how to create a tabular content in the
dialog box?


--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Newbie-how-to-create-a-tabular-body-in-a-dialog-tp3787736p3787736.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-i...@mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Reply all
Reply to author
Forward
0 new messages