I prefer to do it my way similar to what I've been doing in the past in my
C# web projects. Those codes are actually built in my developed library on
top of qooxdoo so there is actually less code. For example, the code below:
export class EntryCourse extends ui.EntryNav {
constructor() {
super();
this.caption = "Courses";
this.tableName = "course";
this.sqlRec = "SELECT code,name,clevel,dept FROM course";
this.sqlDisp = "";
this.setAlignX("center");
var gbox = new ui.GridBox(this);
var code = gbox.addLabelText("code", "Code");
ui.addListenUpperCase(this, code);
var name = gbox.addLabelText("name", "Name", 3);
ui.addListenProper(this, name);
gbox.addLabelSelect("clevel", "Level", Arrays.LevelArray);
gbox.addSearchBox("dept", "Department", "dept");
gbox.setRequireFields("clevel");
this.gbox = gbox;
}
mapArray(a: string[]): { [index: string]: string } {
return {
"code": a[0],
"name": a[1],
"clevel": a[2],
"dept": a[3]
};
}
}
is the complete exact code needed for the following data entry with all the
database-related commands to the server-side.
http://digisoftph.com/downloads/navigation-view.jpg
http://digisoftph.com/downloads/navigation-edit.jpg
http://digisoftph.com/downloads/navigation-refresh.jpg
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/list-controller-does-not-update-list-tp7586693p7586705.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel