Hi Folks,

I have problems with openutils SimpleMedia. I don't know if this is the right 
place for this kind of question but I did not find mailing lists or forums for 
SimpleMedia.

We use SimpleMedia Version 4.2.0 with Magnolia 4.3.2.

My problem is using the media Taglib from SimpleMedia in Freemarker.

Here is a freemarker snippet:

[#assign media=JspTaglibs["http://net.sourceforge.openutils/mgnlMedia";]]

[[email protected] property="img" /]

In data node "img" is a uuid stored which points to an image. This uuid was 
created with a dialog with controlType media.

I get following error:

on line 4, column 1 in module/paragraphs/teaser/teaser_img_bg.ftl media.media 
not found.
The problematic instruction:
----------
==> user-directive media.media [on line 4, column 1 in 
module/paragraphs/teaser/teaser_img_bg.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: on line 4, column 1 in 
koop-cms-templating/paragraphs/teaser/teaser_img_bg.ftl media.media not found.

... and so on ... 

I don't get why I cannot access this tag.

I also tried to use some functions like ${media.url(img)} and I get the same 
error "bla bla media.url not found"

I don't know how to fix this problem.

Cheers, Bao

---------------------------------------------------------------------------

Dinh Bao Dang
pro!vision GmbH

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to