Episode1
08-17-2007, 09:32 AM
Hello,
I still trying to make my first steps with Ext.nd and I am (as as former client only programmer) a little bit confused:
When I start my web application with a main.html as suggested, where I make a DemoApp.init and create a Ext.nd.DominoUI, what does this mean for my forms and why is the behaviour different?
Example: On my form I fill a field with the picklist function (just like in the sample):
[CODE]
pick : function(){
ws = new Ext.nd.UIWorkspace();
ws.PickList({
viewName : Ext.get('ansicht').getValue(),
title : Ext.get('title').getValue(),
prompt : Ext.get('prompt').getValue(),
column : Ext.get('column').getValue(),
callback : this.handleMyPickList
});
},
handleMyPickList : function(arStrings) {
var tmp = "";
if (arStrings == null) {
ws.Prompt('OK', '', 'Es wurde CANCEL geklickt!');
} else {
for (var i=0; i<arStrings.length; i++) {
tmp += arStrings[i] + "\n";
}
ws.Prompt('OK', 'Ergebnis', 'Der R
I still trying to make my first steps with Ext.nd and I am (as as former client only programmer) a little bit confused:
When I start my web application with a main.html as suggested, where I make a DemoApp.init and create a Ext.nd.DominoUI, what does this mean for my forms and why is the behaviour different?
Example: On my form I fill a field with the picklist function (just like in the sample):
[CODE]
pick : function(){
ws = new Ext.nd.UIWorkspace();
ws.PickList({
viewName : Ext.get('ansicht').getValue(),
title : Ext.get('title').getValue(),
prompt : Ext.get('prompt').getValue(),
column : Ext.get('column').getValue(),
callback : this.handleMyPickList
});
},
handleMyPickList : function(arStrings) {
var tmp = "";
if (arStrings == null) {
ws.Prompt('OK', '', 'Es wurde CANCEL geklickt!');
} else {
for (var i=0; i<arStrings.length; i++) {
tmp += arStrings[i] + "\n";
}
ws.Prompt('OK', 'Ergebnis', 'Der R