Fornax-Platform
Forum

 « Return to Thread: Problem with Web CRUD GUI Tutorial

Problem with Web CRUD GUI Tutorial

by dannythomas :: Rate this Message:

Reply to Author | View in Thread

Hi everybody,

While working through the Web CRUD GUI tutorial (and sculptor 1.6) I encountered following problem:

After changing the model.guidesign (as described in the tutorial) and rebuilding the project in helloworld-parent (which gives an error), the generated sourcecode in src/generated/java/UpdatePlanetForm has following errors:

- Moon isn't imported (from package
- it tries to acess methods on this that aren't defined, namingly getMessage() and getDiameter()

All of this happens in the toModel method of UpdatePlanetForm.

It seems as if, because I explicitly don't list diameter, moons and message in the UpdateTask for Planet
it get's a problem and doesn't notice that it hasn't got these methods.

When I add diameter, moons and message to updateTask, then everything works fine.
As far as I understood the DSL, leaving out these things would have been perfectly ok, is this a bug or
am I missing something?

Regards

Danny Thomas


 « Return to Thread: Problem with Web CRUD GUI Tutorial