Hi,

is there an actual description how to use ocm in sling? I've found a page marked as outdated with little information.

Christian

**************************************
Christian Eugster
Grissian 14
I-39010 Tisens
0039 0473 420 873
0041 79 594 85 45
[email protected]

Am 23.04.13 11:02, schrieb Bertrand Delacretaz:
Hi,

On Tue, Apr 23, 2013 at 8:08 AM, Christian Eugster
<[email protected]> wrote:
...After initializing there is indeed a node "pages/home" under content. But
looking in the sling jcr explorer, there are no properties at all given for
this node "home" (nor for "pages". Looking "directly" in jcr (via a self
built view in eclipse) the properties are shown....

Might be a bug in the explorer? I'd use /pages/home.tidy.infinity.json
to see exactly what's in there.

...When I call the page via browser
(http://localhost:8888/content/pages/home.html) the page is laid out but the
content is shown as follows...

Looks like Sling's default HTML rendering. If your /pages/home node
has "sling:resourceType": "thun/home" a script at
/apps/thun/home/home.esp should be used to render /pages/home.html.
The recents requests plugin at system/console/requests outputs
debugging information that should help figure out what's going on.

-Bertrand

Reply via email to