Fornax-Platform
Forum

 « Return to Thread: Problem with Web CRUD GUI Tutorial

Re: Problem with Web CRUD GUI Tutorial

by Andreas Källberg-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,
It doesn't sound right, we will have a look at it.

.../Andreas

On Thu, Jun 25, 2009 at 8:31 AM, dannythomas <daniel.thomas@...> wrote:

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



--
View this message in context: http://www.nabble.com/Problem-with-Web-CRUD-GUI-Tutorial-tp24197725s17564p24197725.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
Fornax-developer@...
https://lists.sourceforge.net/lists/listinfo/fornax-developer


------------------------------------------------------------------------------

_______________________________________________
Fornax-developer mailing list
Fornax-developer@...
https://lists.sourceforge.net/lists/listinfo/fornax-developer

 « Return to Thread: Problem with Web CRUD GUI Tutorial