> I try to do my HelloWorld application to learn Weblocks.
Cool! Have you got a DEFWEBAPP statement, too?
You're going to need it.
> What I have missing ? How to render a View ?
There are multiple issues:
* You don't want to call RENDER-OBJECT-VIEW directly.
Instead pass a view designator to a GRIDEDIT/DATAGRID or a DATAFORM.
I can elaborate on this if you need help with it.
* You need to put a list of widgets into the root composite,
but you are filling it with whatever is returned by RENDER-OBJECT-VIEW.
I reckon this is the cause for the error you are seeing.
* You probably expect to interact class PROJECT/object PROJECT-TEST
with PROJECT-VIEW automatically. It doesn't. Use a DATAFORM
with :DATA project-test and :DATA-VIEW 'project-view.
The DATAFORM is a widget that can be put into the root composite.
I suggest you take a look at the example application. This will help
you understand how to use views and widgets.
Cheers,
Leslie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---