AnsweredAssumed Answered

cannot grab mimetype in freemarker

Question asked by dooley on Jul 10, 2008

I have a webscript and in the freemarker response, I query for a piece of content that exists within my web project.  However, I'm having an issue with grabbing the mimetype off of the piece of content that I am querying for.

Here is my query:
<#assign doc = store.luceneSearch("@cm\\:title:\"" + docName + "\"")>

I know this query is returning the document I want because if I call
, it correctly displays the documents name.

When I call
I get an error saying that is undefined.  I get a similar error when I call
as well.

Does anybody know what I am doing wrong???