Hello Denis et al,
Since I am not aware of the HST (I suppose you are working with the hst
jsp toolkit), and I can only help you out about the repository and cms
mechanics, can somebody else jump in and explain how to fetch binaries
in the hst from the preview when you are in the live environment?
-Ard
>
> Thanks Ard,
>
> I need to fetch a binary and i want to fetch it from preview
> repository
>
> But can't do that whit this
> ===============================================
>
> <c:set var="href" value="/binaries/templates/test.vm"/>
> <c:set var="template"
> value="${repository.fetchDocument[href].content}" />
>
> ===============================================
>
> when I'm int preview mode it works
> BUT
> When i'm in live mode (i don't need binaary from live
> repository , i didn't put $mode in href) it doesn't work
> maybe fetchDocument add live or preview in href that means
> when i'm in preview mode it adds preview and it's ok but when
> i'm in live it add live and that is the problem
>
> How do you fetch binaries in frontend from preview repository
> when you are in live mode?
>
>
> Thanks in advance,
>
> Denis Balog
>
> HintTech
>
> .
>
>
>
>
>
> On Wed, May 14, 2008 at 9:24 AM, Ard Schrijvers
> <[EMAIL PROTECTED]> wrote:
> > 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
> >
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist