Hello Wilson,

The repository object in the c:set only exists if the request passes a
repository filter. How do you get to the index.jsp?

Do you get an error, a stacktrace or just a blank page if you go
directly to
http://localhost:8080/vgm/artikeloverzicht.jsp 

Best Regards,

Mike Meijnhard

Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
www.onehippo.com [EMAIL PROTECTED]



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Wilson de Paula Pedro Junior
> Sent: woensdag 14 mei 2008 15:37
> To: [email protected]
> Subject: [HippoCMS-dev] jsp:include problems
> 
> Hello,
> 
> We are having some problems including small jsp's in our site.
> Can anyone help us with this issue?
> 
> We have a list of all articles from the repository working fine at:
> http://localhost:8080/vgm/preview/content/documents/artikel
> 
> The RequestURLMatcher dispatch this url to 
> artikeloverzicht.jsp, with the following content:
> 
> <c:set var="searchPath" value="/content/documents/artikel/"/>
> <c:import url="/dasl/artikel-dasl.jsp" var="artikelquery" 
> scope="page"/> <c:set var="artikel" value 
> ="${repository.fetchCollection[searchPath][artikelquery][*true
> *].documents}"
> scope="page"/>
> <c:forEach var="doc" items="${artikel}"> <p> <a 
> href="${doc.path.externalURL}" />*${doc.content.xpath['/root/titel']}
> </a></p>
> 
> Now we need to include the artikeloverzicht.jsp into the index.jsp.
> Using <jsp:include page="artikeloverzicht.jsp"/> the c tag is 
> interpreted but nothing appears.
> 
> I think it does not work because we need to first pass 
> throught the content filter to let it work.
> 
> Going directly to 
> http://localhost:8080/vgm/artikeloverzicht.jsp doesn't work either.
> 
> Anyone knows how to solve this problem?
> 
> Thanks in advance,
> 
> Wilson de Paula Pedro Junior
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to