|Beginners Notes [message #838417]
||Sat, 07 April 2012 02:34
| Arjun Dhar
Registered: April 2012
I was following your article @ wiki.eclipse.org/Scout/Tutorial/HelloWorld
I tried a few things and conceptually I just found it wrong for this framework to allow/handle. I could be wrong, but thought worthwhile sharing notes:
Note: I created a helloworld project with "proj1" as a postfix.
1. Whenever I make changes in the Properties editor, the "Save file" option always looks disabled. I can see the code being modified as I modify properties (great) but that save file makes me wonder if the changes I'm making will have any effect.
...and anyway they are saved automatically, so I dont set the "Save File"
2. Whatever changes I make do not reflect when I run the client (server is run before I run the client SWT dev version).
I see the following in my console:
!ENTRY org.eclipse.ui 4 4 2012-04-06 22:24:48.097
!MESSAGE Referenced part does not exist yet: helloworld.ui.swt.proj1.views.TablePageView.
!ENTRY org.eclipse.core.jobs 4 2 2012-04-06 22:24:52.477
!MESSAGE An internal error occurred during: "Busy in 300ms".
"helloworld.ui.swt.proj1.views.TablePageView" does Exist. Also, I have not typed a single line of code yet, so it should have no reason to complain.
Furthermore the stack trace looks like internal vomit which I dont have a handle of.
|Re: Beginners Notes [message #879964 is a reply to message #838417]
||Fri, 01 June 2012 07:58
| Matthias Villiger
Registered: September 2011
Sorry for the late reply and thank you for sharing your thoughts and experiences with us!
Now to your remarks:
1. Yes, you are right about that: when you are changing properties or operations using the Object Properties view, the file is saved automatically. And this is why the save button is disabled then because there is actually nothing to save. The button will get active as soon as you start writing business logic in the java editor. As long as you are writing there, the Properties View will be disabled. Then you can use the save button to persist your changes and the Properties View will be enabled again (and the save button disabled accordingly). If this is irritating to you, we would be very happy to hear your ideas.
2. There has been a bug in an older version where the mapping for the TablePageView was missing. This should be fixed (you have to re-create the scout project to get the fix in). The NullPointerException I have never seen before. Maybe others know more about that?
You can try it out using the new developer build which can be downloaded from here: www.eclipse.org/downloads/index-developer.php
And the corresponding tutorials can be found here: wiki.eclipse.org/Scout/Tutorial/3.8
I hope that helps. If you have further problems/questions running the application or working through the tutorials don't hesitate to ask.
Powered by FUDForum
. Page generated in 0.02150 seconds