10-30-2008 08:31 AM
500 Description: An error inside the HTTP server which prevented it from fulfilling the request.
Message: Error during processing of the template 'Expression resultset is undefined on line 7, column 8 in SearchDate.post.html.ftl.'. Please contact your system administrator.
var nodes = search.luceneSearch("date:\" [2008\-10\-30T00:00:00 TO 2008\-10\-30T00:00:00]);
model.resultset=nodes;
<html>
<body>
<img src="${url.context}/images/logo/AlfrescoLogo32.png" alt="Alfresco" />
Date Searched for : PUT THE DATES HERE
<br>
<table>
<#list resultset as node>
<tr>
<td><img src="${url.context}${node.icon16}"/>
<td><a href="${url.serviceContext}/api/node/content/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/${node.name?url}">${node.name}</a>
</tr>
</#list>
</table>
</body>
</html>
10-30-2008 09:46 AM
var nodes = search.luceneSearch("@cm\\:modified:[2005\-10\-30T00:00:00 TO 2008\-10\-30T00:00:00]");
model.resultset = nodes;
@test\:date:[2003\-12\-16T00:00:00 TO 2003\-12\-17T00:00:00]
@test is the prefix for your model and date is the property.
10-30-2008 09:48 AM
var nodes = search.luceneSearch("date:[2008-10-30T00:00:00 TO 2008-10-30T00:00:00]");
model.resultset=nodes;
10-31-2008 05:15 AM
fdate="2008\-10\-28T00:00:00";
tdate="2008\-10\-29T00:00:00";
spath="'+PATH:\"/app:company_home//*\" + ";
scontent="@\\{http\\://www.alfresco.org/model/content/1.0\\}content.mimetype:text/plain + ";
qdate="@cm\\:created:[" + fdate + " TO " + tdate +"]'";
strq=spath+scontent+qdate;
// logger.Log(">>>> Fdate " +fdate + ">>>>>TDate " + tdate);
//document.writeln("Test");
// perform the search
var nodes=search.luceneSearch(strq);
model.resultset=nodes;
04-09-2014 03:27 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.