掲示板

Issue in creating BooleanClause object in WebContent Template

thumbnail
13年前 に Mitesh S Panchal によって更新されました。

Issue in creating BooleanClause object in WebContent Template

New Member 投稿: 20 参加年月日: 08/12/10 最新の投稿
Hi

I am trying blog "Create FAQ with Web Content Template" as mentioned http://www.liferay.com/web/bruno.farache/blog/-/blogs/building-simple-applications-with-liferay-wcm?_33_redirect=/web/bruno.farache/blog

I am stuck at a point where FAQ-Portlet Content is not bring web content.
After trouble shooting found that following objects is not created in template.

#set ($clause = $booleanClauseFactoryUtil.create("category", "$selectedCategory", "MUST"))

<p>$clause</p>


$clause object is not created some how. and in following statement it doesnt show ArticleHits.


#set ($articleHits = $journalArticleService.search($companyId, $groupId, $userId, null, null, $clauses, null, -1, -1))

<p>$articleHits</p>



any suggestion?

Thanks in advance

Mitesh
12年前 に Balazs Pinter によって更新されました。

RE: Issue in creating BooleanClause object in WebContent Template

New Member 投稿: 4 参加年月日: 11/07/25 最新の投稿
Hi!

Did you figure out what was the problem? I have the same.

Regards,
Balazs.
12年前 に hansraj m によって更新されました。

RE: Issue in creating BooleanClause object in WebContent Template

New Member 投稿: 12 参加年月日: 11/01/11 最新の投稿
getting same. $clause and $articleHits are not getting any values. any solution please?