Hello Denis,
Our cms/repository does not publish binaries (and there is no workflow
on them (by default)). Therefor, binaries are always taken from the
preview, even if you are in the 'live' frontend.
Normally, if in the frontend we need to fetch a binary, we just use the
preview repository href. I know some customers are using workflow on
binaries, so if you really need it, it should be possible. If so, you
might get some pointers on this list. I never used workflow on binaries
though, so can't help you with the details, but others might know.
Regards Ard
>
> Hi all,
>
> We are working on Susa project and client need funcionality
> to fetch some template from repository
>
>
> I made it to work with preview is OK
>
> but when i try to fetch in live mode i'm getting exception
>
> I know there is no live and preview repository so i didn't
> add any mode to href
>
> As I sad in preview mode it works OK but in live it doesn't
>
> Just simple code
>
> ===============================================
>
> <c:set var="href" value="/binaries/templates/test.vm"/>
> <c:set var="template"
> value="${repository.fetchDocument[href].content}" />
>
> ===============================================
>
>
>
> Is this possible to work with live OR to say client templates
> must be in filesystem as jsp files
>
> Thanks in advance,
>
> Denis Balog
>
> HintTech
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist