Hi Federico, On Tue, Jun 8, 2010 at 6:45 PM, Federico Paparoni <[email protected]> wrote: > ...I published a first commit on googlecode SVN > (http://code.google.com/p/davidgsoc2010/) > It's a very simple example, a maven bundle project where there are some > esp/js scripts....
Thanks, I had a quick look and think that goes in the right direction. > I created a simple layout with a menu, a esp script to submit content that > uses CKEditor and jQuery and another script to list the resources under the > root node (defined in a JSON file). Not sure what you mean by "defined in a JSON file", can you point me to that file so that I can understand? > I would like to put also a simple view script for the content but I haven't > understood why it doesn't work. > Using it I can submit content to the repository, under the node > /content/david. > For example I can create a node named /content/david/example. But if I call > /content/david/example.view, and there is a esp script under > /app/david/view.esp, it gives me an error. To help you we need a more precise description here: what's the sling:resourceType of the node that you're trying to view, and what's the exact error that you get. Basically: what's the exact simplest possible scenario that allows us to reproduce the problem. You can also use the "recent requests" plugin under /system/console to see details about how requests are processed. Ideally using curl to make requests, as if you use a browser it will make additional requests for javascript files, images etc. which make it harder to see what's going on. > The next steps will be to understand this error and to have a complete CRUD > system. Ok, once that works we can review and define the next steps. Note that I'll be offline tomorrow and Friday, it would be good to have the full CRUD working beginning of next week so that we can define more precisely where to put the efforts. -Bertrand
