Geert Bevin <gbevin <at> uwyn.com> writes:

> 
> Hi John,
> 
> I'll be short and refer you to:
> http://rifers.org/wiki/display/RIFE/Content+management 
> +framework#Contentmanagementframework-example
> 
> Look at the "SERVE_CONTENT" element and its explanation as well as  
> getContentForHtml at the bottom of the page.
> 
> Best regards,
> 
> Geert
> 

OK, got it.

Here is what I found.  First, here is what I have in my top-level site config:
<element id="SERVE_CONTENT" file="rife/cmf/serve_content.xml" 
url="/content/*"/>
...When I made it look like the example, with the nested datasource, it didn't 
work.

Also, the signature for getContentForHtml in the example looks wrong (for 1.4, 
1.5).  Here is what worked, apparently the key is the reference to the serve 
content exit:
template.setValue("thumbnail", rifeDbManager.getContentForHtml
(plan, "thumbnail", this, "serve content"));

Thanks.

 - JT


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to