Fornax-Platform
Forum

Problem with Web CRUD GUI Tutorial

View: New views
3 Messages — Rating Filter:   Alert me  

Problem with Web CRUD GUI Tutorial

by dannythomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



Re: Problem with Web CRUD GUI Tutorial

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

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem with Web CRUD GUI Tutorial

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

Reply to Author | View Threaded | Show Only this Message

Hi, again.
Yes, this is a bug, I've created an issue for it:
http://fornax.itemis.de/jira/browse/CSC-379

Thx for pointing this out.
I don't think its going to be a fix in a 1.6.x release, it will probably be in the 1.7 (if nobody doesn't request it ).
I will also change the tutorial to be ok.

.../Andreas

2009/6/25 Andreas Källberg <andreas.kallberg@...>
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