Strange behavior for my first project test [message #991232] |
Mon, 17 December 2012 22:38 |
gio coot Messages: 22 Registered: December 2012 |
Junior Member |
|
|
I'm trying my first test with EGL Edt; I bought the Joe's Pluta Book (Developing Web 2.0 Applications with EGL for IBM i) I'm following the first example on creating an Rich UI. I don't understand why when I click in the design or view tab I don't see the "textlabel" ; this is the source and in attached image the preview rusult :
Thanks in advance
import org.eclipse.edt.rui.widgets.GridLayout;
import org.eclipse.edt.rui.widgets.Box;
import org.eclipse.edt.rui.widgets.TextLabel;
import org.eclipse.edt.rui.widgets.Button;
import org.eclipse.edt.rui.widgets.TextField;
import org.eclipse.edt.rui.widgets.BoxLib;
handler test_handler type RUIhandler{initialUI = [ ui ], onConstructionFunction = start, cssFile = "css/test_01.css", title = "test_handler"}
ui Box{ padding=50,
columns = 1,
children = [ title, Box, Button ] };
title TextLabel{ text = "Contact Information" };
Box Box{ padding=8,
columns = 2,
children = [ maillabel, mailfield, phonelabel, phonefield ],
alignment = BoxLib.ALIGN_LEFT };
Button Button{ text = "Save" };
phonelabel TextLabel{text = "phone"};
phonefield TextField{};
maillabel TextLabel{ text = "Mail" };
mailfield TextField{};
function start()
end
end
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds