Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGL Development Tools » Strange behavior for my first project test
Strange behavior for my first project test [message #991232] Mon, 17 December 2012 22:38 Go to next message
gio coot is currently offline gio cootFriend
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
  • Attachment: Immagine.png
    (Size: 6.28KB, Downloaded 109 times)
  • Attachment: Immagine.png
    (Size: 41.31KB, Downloaded 103 times)
  • Attachment: Immagine 1.png
    (Size: 41.31KB, Downloaded 95 times)
Re: Strange behavior for my first project test [message #991373 is a reply to message #991232] Tue, 18 December 2012 20:00 Go to previous messageGo to next message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
I tried the code ... pasted it directly into a source part ... and everything looks fine.

I even had the Angiolo send me a project export ... and it imported fine and looked fine.

Anyone have any suggestions?

Possible that this has to do with character encoding?

--Dan

[Updated on: Tue, 18 December 2012 20:07]

Report message to a moderator

Re: Strange behavior for my first project test [message #991546 is a reply to message #991373] Wed, 19 December 2012 17:57 Go to previous messageGo to next message
gio coot is currently offline gio cootFriend
Messages: 22
Registered: December 2012
Junior Member
Hi again

is there any log that i can check to see some error message ?

Thanks

Re: Strange behavior for my first project test [message #991814 is a reply to message #991546] Thu, 20 December 2012 09:01 Go to previous messageGo to next message
fahua jin is currently offline fahua jinFriend
Messages: 58
Registered: July 2011
Member
What's your JRE and IE version? Could you please check 'Render engine for Rich UI editor' (Windows > Preference > EGL > Rich UI > Appearance)?
Re: Strange behavior for my first project test [message #993451 is a reply to message #991232] Mon, 24 December 2012 12:31 Go to previous messageGo to next message
Richard Moulton is currently offline Richard MoultonFriend
Messages: 92
Registered: August 2011
Location: Devon, UK
Member
When you create a new handler part do you see the default GridLayout widget in the Design view (see attached)?

Richard
Re: Strange behavior for my first project test [message #994165 is a reply to message #993451] Wed, 26 December 2012 15:46 Go to previous message
gio coot is currently offline gio cootFriend
Messages: 22
Registered: December 2012
Junior Member
Hi Richard

see the attached image to see default Gridlayout that i obtain whe i create a new handler
Thanks in advance

Razz Razz
  • Attachment: Img.png
    (Size: 5.97KB, Downloaded 94 times)
Previous Topic:Automated testing tool
Next Topic:Invalid preference page path: Web Page Editor
Goto Forum:
  


Current Time: Thu Dec 18 02:37:04 GMT 2014

Powered by FUDForum. Page generated in 0.01757 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software